Question

Error on Getting Part Details

  • 15 March 2021
  • 0 replies
  • 460 views

So I am getting a weird error when I go to pull Part Details in a Job.  I currently  have a ticket open with Epicor but wondered if anyone in the group had seen this before and what they did to correct it….

 

 

 

Business Layer Exception

Business Logic Error
Business Layer Exception
BLException
    Correlation ID: 00000000-0000-0000-0000-000000000000
    Description: This property cannot be set to a null value.
    Program: Erp.Internal.MR.CPMethod.dll
    Method: _CPMethod
    Line Number: 1416
    Column Number: 29
    Server Trace Stack:    at Erp.Internal.MR.CPMethod._CPMethod(Guid TargetAsm_Rowid, String Source_Part, String Source_Rev, String Source_AltMethod, Object hProcessInfo, Boolean msg_prompt, Boolean Use_Source_AltMethod, Boolean fromCpMethod, Boolean doRoughCutSched, Boolean& crossPlant, Nullable`1& useDate, String& useJob, String& useRev, Int32& cfgPhantomCount, List`1& opTgtJobRows, Int32 structID) in C:\_Releases\ERP\RL10.2.500.0\Source\Server\Internal\MR\CPMethod\cpmethod.cs:line 1416
   at Erp.Services.BO.JobEntrySvc.copyMethod(Guid sourceRowid, Guid targetRowid, Boolean useSourceAltMethod) in C:\_Releases\ERP\UD10.2.500.30\Source\Server\Services\BO\JobEntry\JobEntry.cs:line 18449
   at Erp.Services.BO.JobEntrySvc.GetDetails(String currJobNum, Int32 currAsmSeq, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean resequence, Boolean useMethodForParts, Boolean getCostsFromInv, Boolean getCostsFromTemp) in C:\_Releases\ERP\UD10.2.500.30\Source\Server\Services\BO\JobEntry\JobEntry.cs:line 22740
   at Erp.Services.BO.JobEntrySvcFacade.GetDetails(String currJobNum, Int32 currAsmSeq, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean resequence, Boolean useMethodForParts, Boolean getCostsFromInv, Boolean getCostsFromTemp) in C:\_Releases\ERP\UD10.2.500.30\Source\Server\Services\BO\JobEntry\JobEntrySvcFacade.cs:line 6583
   at SyncInvokeGetDetails(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\UD10.2.500.30FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
   at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\UD10.2.500.30FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28
   at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in C:\_Releases\ICE\UD10.2.500.30FW\Source\Framework\Epicor.System\Hosting\Wcf\EpiOperationInvoker.cs:line 23
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
   at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
   at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.SecurityChannelListener`1.ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)
   at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)
   at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
   at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
   at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)
   at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)
   at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
   at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)


Exception caught in: Epicor.ServiceModel

Error Detail 
============
Correlation ID:  b0497fc5-2400-433a-aa27-9ae04ee0a6c1
Description:  Business Logic Error
Business Layer Exception
BLException
Correlation ID:  00000000-0000-0000-0000-000000000000
Description:  This property cannot be set to a null value.
Program:  Erp.Internal.MR.CPMethod.dll
Method:  _CPMethod
Line Number:  1416
Column Number:  29
Server Trace Stack:     at Erp.Internal.MR.CPMethod._CPMethod(Guid TargetAsm_Rowid, String Source_Part, String Source_Rev, String Source_AltMethod, Object hProcessInfo, Boolean msg_prompt, Boolean Use_Source_AltMethod, Boolean fromCpMethod, Boolean doRoughCutSched, Boolean& crossPlant, Nullable`1& useDate, String& useJob, String& useRev, Int32& cfgPhantomCount, List`1& opTgtJobRows, Int32 structID) in C:\_Releases\ERP\RL10.2.500.0\Source\Server\Internal\MR\CPMethod\cpmethod.cs:line 1416
   at Erp.Services.BO.JobEntrySvc.copyMethod(Guid sourceRowid, Guid targetRowid, Boolean useSourceAltMethod) in C:\_Releases\ERP\UD10.2.500.30\Source\Server\Services\BO\JobEntry\JobEntry.cs:line 18449
   at Erp.Services.BO.JobEntrySvc.GetDetails(String currJobNum, Int32 currAsmSeq, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean resequence, Boolean useMethodForParts, Boolean getCostsFromInv, Boolean getCostsFromTemp) in C:\_Releases\ERP\UD10.2.500.30\Source\Server\Services\BO\JobEntry\JobEntry.cs:line 22740
   at Erp.Services.BO.JobEntrySvcFacade.GetDetails(String currJobNum, Int32 currAsmSeq, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean resequence, Boolean useMethodForParts, Boolean getCostsFromInv, Boolean getCostsFromTemp) in C:\_Releases\ERP\UD10.2.500.30\Source\Server\Services\BO\JobEntry\JobEntrySvcFacade.cs:line 6583
   at SyncInvokeGetDetails(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\UD10.2.500.30FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
   at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\UD10.2.500.30FW\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28
   at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in C:\_Releases\ICE\UD10.2.500.30FW\Source\Framework\Epicor.System\Hosting\Wcf\EpiOperationInvoker.cs:line 23
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
   at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
   at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.SecurityChannelListener`1.ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)
   at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)
   at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)
   at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
   at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
   at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
   at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
   at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)
   at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)
   at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
   at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Program:  Erp.Services.BO.JobEntry.dll
Method:  copyMethod
Line Number:  18449
Column Number:  17

Client Stack Trace 
==================
   at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
   at Erp.Proxy.BO.JobEntryImpl.GetDetails(String currJobNum, Int32 currAsmSeq, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean resequence, Boolean useMethodForParts, Boolean getCostsFromInv, Boolean getCostsFromTemp)
   at Erp.Adapters.JobEntryAdapter.GetDetails(String jobNum, Int32 targetAsm, String sourceFile, Int32 sourceQuote, Int32 sourceLine, String sourceJob, Int32 sourceAsm, String sourcePart, String sourceRev, String sourceAltMethod, Boolean resequence, Boolean useMethodForParts, Boolean getCostsFromInv, Boolean getCostsFromTemp)

 

 

 

Appreciate any thoughts or ideas.  Thanks

 


0 replies

Be the first to reply!

Reply