locked
Microsoft.Crm.Extensibility.InternalOperationPlugin logs error in Windows application log with NullReferenceException at Microsoft.Crm.ObjectModel.ScheduleService.CreateEngineProposal RRS feed

  • Question

  • Hi,

    I am getting following error frequently in window's Application log from my CRM 2011(RU 14) site. Do you know what is causing this error?

    The Web Service plug-in failed in OrganizationId: XXXXXXXXX; SdkMessageProcessingStepId: XXXXXXX; EntityName: serviceappointment; Stage: 30; MessageName: Book; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxx; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin;

    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) 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.ObjectModel.ScheduleService.CreateEngineProposal(CommunicationActivity activity, Double defaultEffort) at Microsoft.Crm.ObjectModel.ScheduleService.BookAction..ctor(ExecutionContext context, AppointmentRequest request, CommunicationActivity activity)


    Thursday, November 26, 2015 7:25 PM

All replies

  • The method that throws the error relates to scheduling appointments or service activities. One possible cause is if you have an appointment or service activity (or maybe related data like resources) that are missing some require fields.

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Friday, November 27, 2015 9:11 AM
    Moderator