locked
Business Process Error RRS feed

  • Question

  • Getting this error when my plugin runs. Tried putting the log into Plugin Registration Tool to debug but it rejects it. Could anyone point me in the right direction on how to go about getting the plugin to run correctly?

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Object reference not set to an instance of an object.Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220891</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
        <KeyValuePairOfstringanyType>
          <d2p1:key>OperationStatus</d2p1:key>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">0</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>SubErrorCode</d2p1:key>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
        </KeyValuePairOfstringanyType>
      </ErrorDetails>
      <Message>Object reference not set to an instance of an object.</Message>
      <Timestamp>2015-07-09T15:15:07.9640192Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText>

    [SalesOrder: SalesOrder.OrderPlugin]
    [ab915b6b-4925-e511-b4d9-00155d550f05: SalesOrder.OrderPlugin: Update of new_contractreview]


    </TraceText>
    </OrganizationServiceFault>

    Friday, July 10, 2015 11:14 AM