<RESTApi msg="Incoming request https://isiepicor.elkay.elkaymfgco.com/test/api/v1/BaqSvc/U-POReceipt?PONUM=163092&POLINE=1" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Request https://isiepicor.elkay.elkaymfgco.com/test/api/v1/BaqSvc/U-POReceipt?PONUM=163092&POLINE=1, Auth Header scheme Basic " machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Principal EPICOR1" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Find model for odata path: BaqSvc/U-POReceipt" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Query maps U-POReceipt into keys , " machine="ISIEPICOR" pid="176084" tid="937" />
<ServiceCaller msg="Service type Ice.Services.Bo.DynamicQuerySvcFacade retrieved for Ice:Bo:DynamicQuery in GetServiceCallInterface" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Dynamic query model selected for path U-POReceipt" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Controller ExecuteQuery is selected." machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="Path template found ~/action/entityset" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="OperationInvokeHelper calls GetServiceCustomAction for service Ice:BO:DynamicQuery, action UpdateByID" machine="ISIEPICOR" pid="176084" tid="937" />
<ServiceCaller msg="Service type Ice.Services.BO.DynamicQuerySvcFacade retrieved for Ice:BO:DynamicQuery in GetServiceCallInterface" machine="ISIEPICOR" pid="176084" tid="937" />
<RESTApi msg="OperationInvokeHelper calls CallCustomMethod for service Ice:BO:DynamicQuery, method UpdateByID" machine="ISIEPICOR" pid="176084" tid="937" />
<ServiceCaller msg="Service type Ice.Services.BO.DynamicQuerySvcFacade retrieved for Ice:BO:DynamicQuery in GetServiceCallInterface" machine="ISIEPICOR" pid="176084" tid="937" /><Op Utc="2019-05-23T14:31:35.7409466Z" act="" dur="54.4123" cli="" usr="" machine="ISIEPICOR" pid="176084" tid="937">
<Sql queries="2" cacheHits="0" time="3.1573" qryTypeCount="2" />
<BpmCustomization Source="DQ" BpMethodCode="Ice.ISI_U_POReceipt.Update" Type="UBAQ Update Processing" Duration="1">
<BpmDirective Type="2" ID="3ee6e2ed-1ccf-43e2-becd-5f68ef0aafdc" Name="UpdateBase" VisibilityScope="2" Duration="1" />
</BpmCustomization>
<IceAppServer msg="System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Ice.Common.EpicorServerException: BPM runtime caught an unexpected exception of 'NullReferenceException' type.
See more info in the Inner Exception section of Exception Details. ---> System.NullReferenceException: Object reference not set to an instance of an object.
 at Epicor.Customization.Bpm.UbaqA717119B01384F4094F036AA13510AB5.UpdateBaseDirective_UpdateBase_3EE6E2ED1CCF43E2BECD5F68EF0AAFDC.A001_CustomCodeAction()
 at Epicor.Customization.Bpm.UbaqA717119B01384F4094F036AA13510AB5.UpdateBaseDirective_UpdateBase_3EE6E2ED1CCF43E2BECD5F68EF0AAFDC.ExecuteCore()
 at Epicor.Customization.Bpm.DirectiveBase`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 147
 --- End of inner exception stack trace ---
 at Epicor.Customization.Bpm.DirectiveBase`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 163
 at Epicor.Customization.Bpm.MethodCustomizationBase2`3.RunDirectives(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\MethodCustomizationBase2.cs:line 170
 at Epicor.Customization.Bpm.CustomizationBase2`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\CustomizationBase2.cs:line 73
 at Epicor.Customization.Bpm.UbaqA717119B01384F4094F036AA13510AB5.ISI_U_POReceiptSvcCustomization.Update(DynamicQueryTableset queryDS, DataSet& queryResultDataset)
 at Ice.Services.BO.DynamicQuery.Internal.Ubaq.UbaqBpmCaller.Update(DynamicQueryTableset queryDesign, DataSet& queryResultDataset) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Services\BO\DynamicQuery\Internal\Ubaq\UbaqBpmCaller.cs:line 101
 at Ice.Services.BO.DynamicQuerySvc.UpdateByID(String queryID, DataSet queryResultDataset) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Services\BO\DynamicQuery\DynamicQuery.cs:line 622
 --- End of inner exception 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.Hosting.RestApi.OperationInvokeHelper.<>c__DisplayClass21_0.<CallInvoker>b__0(Object obj) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 281
 at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.200.11\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
 at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.200.11\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28" />
<Exception><![CDATA[
Exception has been thrown by the target of an invocation. (TargetInvocationException)
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.Hosting.RestApi.OperationInvokeHelper.<>c__DisplayClass21_0.<CallInvoker>b__0(Object obj) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 281
at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.200.11\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.200.11\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 47
at Ice.Hosting.RestApi.OperationInvokeHelper.CallInvoker(IceDataContext dataContext, Type svcType, MethodInfo mi, Object[] inputs, Boolean isRoot) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 280
-------- Inner exception --------->>>
BPM runtime caught an unexpected exception of 'NullReferenceException' type.
See more info in the Inner Exception section of Exception Details. (EpicorServerException)
at Epicor.Customization.Bpm.DirectiveBase`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 163
at Epicor.Customization.Bpm.MethodCustomizationBase2`3.RunDirectives(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\MethodCustomizationBase2.cs:line 170
at Epicor.Customization.Bpm.CustomizationBase2`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\CustomizationBase2.cs:line 73
at Epicor.Customization.Bpm.UbaqA717119B01384F4094F036AA13510AB5.ISI_U_POReceiptSvcCustomization.Update(DynamicQueryTableset queryDS, DataSet& queryResultDataset)
at Ice.Services.BO.DynamicQuery.Internal.Ubaq.UbaqBpmCaller.Update(DynamicQueryTableset queryDesign, DataSet& queryResultDataset) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Services\BO\DynamicQuery\Internal\Ubaq\UbaqBpmCaller.cs:line 101
at Ice.Services.BO.DynamicQuerySvc.UpdateByID(String queryID, DataSet queryResultDataset) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Services\BO\DynamicQuery\DynamicQuery.cs:line 622 at Ice.Hosting.RestApi.OperationInvokeHelper.CallInvoker(IceDataContext dataContext, Type svcType, MethodInfo mi, Object[] inputs, Boolean isRoot) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 289
at Ice.Hosting.RestApi.OperationInvokeHelper.MakeServiceCall(IceDataContext dataContext, Type svcType, MethodInfo mi, Object[] parameters) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 245
at Ice.Hosting.RestApi.OperationInvokeHelper.CallCustomMethod(IceDataContext dataContext, String serviceName, MethodInfo mi, List`1 callParams) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 197
at Ice.Hosting.RestApi.OperationInvokeHelper.CallCustomMethod(String serviceName, MethodInfo mi, List`1 callParams) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Hosting\ServiceCaller\OperationInvokeHelper.cs:line 185
at Epicor.RESTApi.DataSources.IceServiceCaller.CallCustomMethod(TypeMapping typeMapping, ContextInfo context, String methodName, Object[] paramValues, IQueryOptions options) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.RESTApi\DataSources\IceServiceCaller.cs:line 235
at Epicor.RESTApi.ODataHelpers.v3.BaqDataSourceProvider.Patch(String queryID, ContextInfo context, EdmCollectionType collectionType, IQueryOptions queryOptions, IEdmEntityObject patch, DataSet baqResultDataset) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.RESTApi\ODataHelpers\v3\BaqDataSourceProvider.cs:line 209
at Epicor.RESTApi.Controllers.ExecuteQueryController.UpdateQuery(IEdmEntityObject patch) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.RESTApi\Controllers\ExecuteQueryController.cs:line 103
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<Sen
dAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.HttpServer.<SendAsync>d__0.MoveNext()
-------- Inner exception --------->>>
Object reference not set to an instance of an object. (NullReferenceException)
at Epicor.Customization.Bpm.UbaqA717119B01384F4094F036AA13510AB5.UpdateBaseDirective_UpdateBase_3EE6E2ED1CCF43E2BECD5F68EF0AAFDC.A001_CustomCodeAction()
at Epicor.Customization.Bpm.UbaqA717119B01384F4094F036AA13510AB5.UpdateBaseDirective_UpdateBase_3EE6E2ED1CCF43E2BECD5F68EF0AAFDC.ExecuteCore()
at Epicor.Customization.Bpm.DirectiveBase`3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 147
]]></Exception>