Solve Microsoft.Crm.CrmArgumentNullException: callManagerInfo in plugins and webservices?

0

I am using Crm dynamics 365 .

The system was working perfectly i did not change any library but after some business logic changes I always get an error

Microsoft.Crm.CrmArgumentNullException: callManagerInfo

in plugins and in web services whenever I am trying update anything from code to crm

An example from plugin error :

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: OrganizationServiceFault, our plugin threw exception: callManagerInfoDetail:
2b16c280-3ba9-4f53-b6b4-a3dd6f784582 -2147220891 OperationStatus 0 SubErrorCode -2146233088 OrganizationServiceFault, our plugin threw exception: callManagerInfo 2019-10-22T06:48:41.9265174Z false

[k.3.CRM.Plugins: k._3.CRM.Plugins.Contact.Contact]
[d0f3ba28-9fb5-e811-a2b9-005056bb6128: k._3.CRM.Plugins.Contact.Contact: Create of contact]

Entered k._3.CRM.Plugins.Contact.Contact.Execute(), Correlation Id: 75bbec96-cbda-4c0d-a449-a2a8a83be135, Initiating User: aa60b85b-9603-e911-a2b5-005056bba55e
k._3.CRM.Plugins.Contact.Contact is firing for Entity: contact, Message: Create, Correlation Id: 75bbec96-cbda-4c0d-a449-a2a8a83be135, Initiating User: aa60b85b-9603-e911-a2b5-005056bba55e
   CREATE: Execution Depth 1
   CREATE: SetS4YlId
   CREATE: SetCountry
Lookup was changed
Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: callManagerInfo (Fault Detail is equal to Exception details: 
ErrorCode: 0x80040203
Message: callManagerInfo
TimeStamp: 2019-10-22T06:48:41.9116966Z
OriginalException: Microsoft.Crm.CrmArgumentNullException: callManagerInfo ---> System.ArgumentNullException: Value cannot be null.
Parameter name: callManagerInfo
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Sandbox.SandboxCallManager.CheckCallTracker(SandboxCallInfo sandboxCallInfo)
   at Microsoft.Crm.Sandbox.SandboxSdkListener.AuthenticateCaller(SandboxCallInfo callInfo, SandboxSdkContext requestContext, String operation)
   at Microsoft.Crm.Sandbox.SandboxSdkListener.Execute(SandboxCallInfo callInfo, SandboxSdkContext requestContext, String operation, Byte[] serializedRequest)
ExceptionSource: SdkClient
--
Exception details: 
ErrorCode: 0x80040216
Message: System.ArgumentNullException: Value cannot be null.
Parameter name: callManagerInfo
TimeStamp: 2019-10-22T06:48:41.9116966Z
--
)., Correlation Id: 75bbec96-cbda-4c0d-a449-a2a8a83be135, Initiating User: aa60b85b-9603-e911-a2b5-005056bba55e
Exiting k._3.CRM.Plugins.Contact.Contact.Execute(), Correlation Id: 75bbec96-cbda-4c0d-a449-a2a8a83be135, Initiating User: aa60b85b-9603-e911-a2b5-005056bba55e


</TraceText>
</OrganizationServiceFault>

and example from web services error :

callManagerInfo Server stack trace: 
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) 
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: 
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 
at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity) 
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity) 
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Update(Entity entity) 
at k._0.XRM_MIDDLELAYER_COMMON.CRMRepo.Repos.GenericCRMRepo.Update(Entity entity) in D:\Source\Schrack\00_MSCRM_and_INTEGRATION\k.0.XRM_MIDDLELAYER_COMMON\CRMRepo\Repos\GenericCRMRepo.cs:line 171 
at k._0.XRM_MIDDLELAYER_COMMON.CRMRepo.Repos.SchrackCRMRepo.Update(Entity entity) in D:\Source\Schrack\00_MSCRM_and_INTEGRATION\k.0.XRM_MIDDLELAYER_COMMON\CRMRepo\Repos\SchrackCRMRepo.cs:line 223 
at k._1.XRM_MIDDLELAYER_ASYNC.Repositories.Incoming.Actions.IncomingDebitAction.Execute()

I searched a lot online found many suggestion like here or in others who suggest that is because of change of version like here but actually I did not change the version and I tried the fix but it does not help me.

Any suggestions how I could get over this error?

c#
dynamics-crm
dynamics-crm-online
asked on Stack Overflow Oct 29, 2019 by BilalMr • edited Nov 8, 2019 by marc_s

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0