I’m probably going to start a support ticket with Epicor too, but this seems like such an obvious issue that I feel like I must just be missing some obvious configuration change needed going from 10.1.500 to 10.2.400. This used to work!
I’ve created a very simple BPM Data form from scratch, and calling that from a simple BPM method directive that simply shows the BPM Data From with a
Call BPM Data Form widget and then proceeds conditionally based on whether OK or Cancel was clicked. We also already have in place several BPM Data Form calling directives that worked fine in Epicor 10.1.500.14 but now throw the same exception. The exception is:
Application Error Exception caught in: Ice.Lib.EpiClientLib Error Detail ============ Message: The process caller failed to invoke method LaunchForm in Ice.Lib.App.Launch in Ice.UI.InfoPromptForm.dll Inner Exception Message: Exception has been thrown by the target of an invocation. Program: Ice.Lib.EpiClientLib.dll Method: InvokeReflectedMethod Client Stack Trace ================== at Ice.Lib.Framework.PCallReflector.InvokeReflectedMethod(MethodInfo Method, Object Object, Object MethodParams, String className, String assemblyName) at Ice.Lib.Framework.PCallReflector.LaunchDotNet(String assemblyName, String className, Hashtable ctorList, String methodName, Hashtable methodList) Inner Exception =============== Exception has been thrown by the target of an invocation. 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.Framework.PCallReflector.InvokeReflectedMethod(MethodInfo Method, Object Object, Object MethodParams, String className, String assemblyName) Inner Exception =============== Object reference not set to an instance of an object. at Ice.Lib.App.Launch.AddMenuArguments(LaunchFormOptions lfo, Object launchObject) at Ice.Lib.App.Launch.LaunchForm(Object launchObject)