Hi
I ran into an issue today, I got an email from a user regarding a business process error while saving a record, it was "Object reference not set to an instance of an object", in order to get a log file to debug, I turned on the profile and asked the user to save the record so I will be able to get a log which I can Debug, but weirdly the record got saved without any errors, I was able to replicate it. Any Ideas?
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Object reference not set to an instance of an object.Detail: <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts"> <ActivityId>075272de-7d88-46d8-aac0-6212da6af556</ActivityId> <ErrorCode>-2147220891</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic"> <KeyValuePairOfstringanyType> <d2p1:key>OperationStatus</d2p1:key> <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <d2p1:key>SubErrorCode</d2p1:key> <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value> </KeyValuePairOfstringanyType> </ErrorDetails> <Message>Object reference not set to an instance of an object.</Message> <Timestamp>2018-09-24T16:20:14.4653252Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource i:nil="true" /> <InnerFault i:nil="true" /> <OriginalException i:nil="true" /> <TraceText> [SE.Plugins: SE.Plugins.UpdateAccountonCVD] [b9f00fc3-d86f-e711-8100-5065f38a3ba1: SE.Plugins.UpdateAccountonCVD: Create of new_cvd] </TraceText> </OrganizationServiceFault>
*This post is locked for comments