Trying to resolve an error in the conversion of our E9 JobEntry customization.
The generic message is
Exception has been thrown by the target of an invocation.
The detailed message is
Application Error
Exception caught in: mscorlib
Error Detail
Message: Exception has been thrown by the target of an invocation.
Inner Exception Message: Key not found: ‘ShortChar01’
Parameter name: key
Program: CommonLanguageRuntimeLibrary
Method: InvokeMethod
Client Stack Trace
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeScriptMethod(MethodInfo scriptMethod, Object[] parameters)
at Ice.Lib.Customization.CustomScriptMethodInvoker.InvokeInitializeCustomCodeIfExists()
at Ice.Lib.Customization.CustomScriptManager.TryActionShowExceptionBoxOrLogVerificationErrorIfException(Action action, String exceptionBoxTitle)
Inner Exception
Key not found: ‘ShortChar01’
Parameter name: key
at Infragistics.Shared.KeyedSubObjectsCollectionBase.GetItem(String key)
at Infragistics.Win.UltraWinGrid.ColumnsCollection.get_Item(String key)
at Script.InitializeCustomCode()
The line of the customization that is bombing is:
UltraGridColumn colReqBy = eugJobMtl.DisplayLayout.Bands[0].Columns[“ShortChar01”];
I’ve confirmed that ShortChar01 exists and was added as a column in the eugJobMtl grid.
Thanks for any ideas!