locked
Workflows throwing Object Reference Error RRS feed

  • Question

  • Hi All,

    I am not able to open any of the existing workflows in the CRM 4.0 environment. I get the below stack trace on opening or triggering them on an entity. 

    I have tried IIS Reset and restarting async service. This did not help.

    Below is the stack trace. Can anyone make out what might be going on and how to fix it? Thanks

     Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 6/25/2013 6:17:53 AM 
    Event time (UTC): 6/25/2013 10:17:53 AM 
    Event ID: 4424a547bdfa452e87c00fec268f67ab 
    Event sequence: 59 
    Event occurrence: 1 
    Event detail code: 0 

    Application information: 
        Application domain: /LM/W3SVC/2/ROOT-1-130166290074340162 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: E:\Program Files\Microsoft Dynamics CRM\CRMWeb\ 
        Machine name: servername

    Process information: 
        Process ID: 5532 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 

    Exception information: 
        Exception type: NullReferenceException 
        Exception message: Object reference not set to an instance of an object. 

    Request information: 
        Request URL: http://servername:5555/orgname/sfa/workflow/edit.aspx?id={680CAC74-39E3-4AE2-921B-74919B42B034} 
        Request path: /abc/sfa/workflow/edit.aspx 
        User host address: 159.195.2.78 
        User: OFFICE\abc.xyz
        Is authenticated: True 
        Authentication Type: Negotiate 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 

    Thread information: 
        Thread ID: 5 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at Microsoft.Crm.Application.Platform.CustomActivityInfoMetadata.GetActivityInfo(Guid pluginTypeId)
       at Microsoft.Crm.Web.SFA.WorkflowDetailPage.ConfigureCustomActivityStepMenu(CommandBarPopup addStepButton)
       at Microsoft.Crm.Web.SFA.WorkflowDetailPage.ConfigureWorkflowStepMenu(WorkflowStep workflowStep)
       at Microsoft.Crm.Web.SFA.WorkflowDetailPage.ConfigureMenus()
       at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Custom event details: 

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.







    Tuesday, June 25, 2013 3:04 PM