2
Vote

Object not set to an instance of an object (boolean field)

description

I get this error when I update a bit field on a contract line in CRM.
 
Web Service Plug-in failed in SdkMessageProcessingStepId: {DA12BC54-305E-E111-8773-001E4F2FA0D1}; EntityName: contractdetail; Stage: 50; MessageName: Update; AssemblyName: Custom.Crm.Audit, Custom.Crm.Audit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e86f6c07b0fe8025; ClassName: Custom.Crm.Audit; Exception: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Custom.Crm.Sdk.CustomDynamicEntity.GetAttributeValue(Object prop, Boolean textValue)
at Custom.Crm.Audit.Execute(IPluginExecutionContext context)
at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)

comments