I have a client that is still on Microsoft Dynamics 365Version 1612 (8.2.10.24) (DB 8.2.10.24) on-premises.
Inbound emails to a service email address are created as queue items, and an automated workflow response is sent to the sender of the originating email (simple enough)
However the moment the subject line of the email begins with Fwd: the automated response is not sent, the workflow is not even triggered, absolutely nothing happens.
Checking the history I see that it has been like this since 2018 which is possibly when this client first started using CRM. (I just started with this client, there were other consultants before me)
If I go to these emails and click Reply, Reply All or Forward I get an error
Business Process Error
Object reference not set to an instance of an object. If you contact support, please provide the technical details.
Activity ID: 2f3af998-96de-4d62-b154-53bd060a4a8e
Timestamp: Wed Sep 15 2021 19:41:33 GMT+0200 (South Africa Standard Time)
|
And log details:
<s:Envelope xmlns:s="">schemas.xmlsoap.org/.../faultcode><faultstring xml:lang="en-ZA">
Object reference not set to an instance of an object.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../
Contracts" xmlns:i="">www.w3.org/.../
ErrorCode><ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>
OperationStatus</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:int">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType>
<a:key>SubErrorCode</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:int">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails>
<Message>Object reference not set to an instance of an object.</Message><Timestamp>2021-09-15T17:41:33.893119Z</Timestamp><ExceptionRetriable>false</
ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>2f3af998-96de-4d62-b154-53bd060a4a8e</ActivityId><ErrorCode>-2147220891</
ErrorCode><ErrorDetails xmlns:a="">schemas.datacontract.org/.../a:key>
<a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:int">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>SubErrorCode</a:key>
<a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:int">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>
Object reference not set to an instance of an object.</Message><Timestamp>2021-09-15T17:41:33.893119Z</Timestamp><ExceptionRetriable>false</
ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>2f3af998-96de-4d62-b154-53bd060a4a8e</ActivityId><ErrorCode>-2147220970<
/ErrorCode><ErrorDetails xmlns:a="">schemas.datacontract.org/.../><Message>System.NullReferenceException:
Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #640EE1B0</Message><Timestamp>2021-09-15T17:41:33.893119Z</
Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText
i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText>
[TCT Plugins: TCT_Plugins.Plugins.PreEntityUpdateLastActivityDate]
[79dea974-7b13-e711-80c4-00155d011601: TCT_Plugins.Plugins.PreEntityUpdateLastActivityDate: Create of email]
</TraceText></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>
Has anyone else encountered this error or know why it is happening.