E9: Customization fails on second load

I have no idea what is causing this one, but a work around would be for me to force the client to re-download the customization every time. Any clue how to make that happen?

Tom Christie | Information Technology Manager | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | tchristie@...<mailto:tchristie@...> | t: 520.881.2130 ext 2176

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, July 16, 2014 10:37 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] E9: Customization fails on second load



There are no personalizations. The first error states “Exception has been thrown by the target of an invocation”



Stack Trace


at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Epicor.Mfg.UI.Customization.CustomScriptMethodInvoker.InvokeScriptMethod(MethodInfo scriptMethod, Object[] parameters)
at Epicor.Mfg.UI.Customization.CustomScriptMethodInvoker.InvokeInitializeGlobalVariables(CustomScriptManager customScriptManager)
at Epicor.Mfg.UI.Customization.CustomScriptManager.<InitializeCustomAssembly>b__13()
at Epicor.Mfg.UI.Customization.CustomScriptManager.TryActionShowExceptionBoxIfException(Action action, String exceptionBoxTitle)



Inner Exception


Object reference not set to an instance of an object.



Inner Stack Trace


at Script.InitializeGlobalVariables(CustomScriptManager csm)

After that error, a few more come up for a few elements I added via the toolbox.

Tom Christie | Information Technology Manager | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | tchristie@...<mailto:tchristie@...> | t: 520.881.2130 ext 2176

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, July 15, 2014 12:04 PM
To: Vantage
Subject: Re: [Vantage] E9: Customization fails on second load


What do you mean by corrupted version?
Try deleting the personalizations


Jose C Gomez
Software Engineer

T: 904.469.1524 mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Tue, Jul 15, 2014 at 2:59 PM, 'Tom J. Christie' tchristie@...<mailto:tchristie@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:

Okay, this is bonkers.

I have a customized version of the Quote Entry screen.

IF you clear cache and open it, it downloads from the server and opens correctly.

If you then close it and reopen the form, it errors out and opens a corrupted version. It will do this every time until you clear the cache again.

So, it appears to work when you download it fresh, but fails if you have already downloaded it. Help!



Regards,

Tom Christie | Information Technology Manager | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | tchristie@...<mailto:tchristie@...> | t: 520.881.2130 ext 2176<tel:520.881.2130%20ext%202176>




[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]

Okay, this is bonkers.

 

I have a customized version of the Quote Entry screen.

 

IF you clear cache and open it, it downloads from the server and opens correctly.

 

If you then close it and reopen the form, it errors out and opens a corrupted version. It will do this every time until you clear the cache again.

 

So, it appears to work when you download it fresh, but fails if you have already downloaded it. Help!

 

 

 

Regards,

 

Tom Christie |  Information Technology Manager  |  AGM Container Controls, Inc.  |   tchristie@...  | t: 520.881.2130 ext 2176

 

What do you mean by corrupted version?Â

Try deleting the personalizationsÂ



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile

E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Jul 15, 2014 at 2:59 PM, 'Tom J. Christie' tchristie@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>

Okay, this is bonkers.

Â

I have a customized version of the Quote Entry screen.

Â

IF you clear cache and open it, it downloads from the server and opens correctly.

Â

If you then close it and reopen the form, it errors out and opens a corrupted version. It will do this every time until you clear the cache again.

Â

So, it appears to work when you download it fresh, but fails if you have already downloaded it. Help!

Â

Â

Â

Regards,

Â

Tom Christie | Information Technology Manager | AGM Container Controls, Inc. |  tchristie@... | t: 520.881.2130 ext 2176

Â

</div>
 


<div style="color:#fff;min-height:0;"></div>

There are no personalizations. The first error states “Exception has been thrown by the target of an invocation”



Stack Trace


at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Epicor.Mfg.UI.Customization.CustomScriptMethodInvoker.InvokeScriptMethod(MethodInfo scriptMethod, Object[] parameters)
at Epicor.Mfg.UI.Customization.CustomScriptMethodInvoker.InvokeInitializeGlobalVariables(CustomScriptManager customScriptManager)
at Epicor.Mfg.UI.Customization.CustomScriptManager.<InitializeCustomAssembly>b__13()
at Epicor.Mfg.UI.Customization.CustomScriptManager.TryActionShowExceptionBoxIfException(Action action, String exceptionBoxTitle)



Inner Exception


Object reference not set to an instance of an object.



Inner Stack Trace


at Script.InitializeGlobalVariables(CustomScriptManager csm)

After that error, a few more come up for a few elements I added via the toolbox.

Tom Christie | Information Technology Manager | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | tchristie@...<mailto:tchristie@...> | t: 520.881.2130 ext 2176

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, July 15, 2014 12:04 PM
To: Vantage
Subject: Re: [Vantage] E9: Customization fails on second load


What do you mean by corrupted version?
Try deleting the personalizations


Jose C Gomez
Software Engineer

T: 904.469.1524 mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Tue, Jul 15, 2014 at 2:59 PM, 'Tom J. Christie' tchristie@...<mailto:tchristie@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:

Okay, this is bonkers.

I have a customized version of the Quote Entry screen.

IF you clear cache and open it, it downloads from the server and opens correctly.

If you then close it and reopen the form, it errors out and opens a corrupted version. It will do this every time until you clear the cache again.

So, it appears to work when you download it fresh, but fails if you have already downloaded it. Help!



Regards,

Tom Christie | Information Technology Manager | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | tchristie@...<mailto:tchristie@...> | t: 520.881.2130 ext 2176<tel:520.881.2130%20ext%202176>





[Non-text portions of this message have been removed]