We started getting these errors in the Event Log quite often. CRM On Premise, 8.2.1, ADFS 3, Email Router & FWD Mailbox
CRM Trace has the same error, no extra details given.
Any help is greatly appreciated.
The Web Service plug-in failed in OrganizationId: 7fbb9f0f-2a2a-4df8-b71d-ea9dbd61ab51; SdkMessageProcessingStepId: d0cabb1b-ea3e-db11-86a7-000a3a5473e8; EntityName: email; Stage: 30; MessageName: DeliverIncoming; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: 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 System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Common.ObjectModel.TrackingManager.TryCorrelationUsingConversationId(EmailService emailSvc, String conversationIndex, Email& email)
at Microsoft.Crm.Common.ObjectModel.TrackingManager.GetTrackingData(String subject, String[] emailAddresses, TrackingOptions trackingOptions, Entity entity)
at Microsoft.Crm.Common.ObjectModel.EmailService.Deliver(Boolean userPromote, Guid emailId, String messageId, String subject, String from, String to, String cc, String bcc, DateTime receivedOn, String submittedBy, String importance, String body, BusinessEntityCollection attachments, Guid campaignResponseId, Entity emailDeltaEntity, ExecutionContext context, Boolean validateBeforeDeliver)
at Microsoft.Crm.Common.ObjectModel.EmailService.DeliverIncoming(String messageId, String subject, String from, String to, String cc, String bcc, DateTime receivedOn, String submittedBy, String importance, String body, BusinessEntityCollection attachments, Entity extraProperties, Boolean validateBeforeCreate, ExecutionContext context).
It's followed by a Windows Error Report informational Log:
Fault bucket , type 0
Event Name: CRMmanaged2
Response: Not available
Cab Id: 0
Problem signature:
P1: 8.2.1.176
P2: w3wp
P3: Microsoft.Crm.ObjectModel
P4: NullReferenceException
P5: TryCorrelationUsingConversationId
P6: 0
P7:
P8:
P9:
P10:
Attached files:
C:\Windows\Temp\CRMmanaged2Info-080011.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_8.2.1.....
Analysis symbol:
Rechecking for solution: 0
Report Id: 5d9fc20c-de8c-11e7-80d4-005056b66736
Report Status: 4
Hashed bucket: