locked
Error while debugging workflow through Plug-in registration tool RRS feed

  • Question

  • Hi there,

    When I'm trying to debug a workflow through Plug-in register profile, its throwing below error.

    I've latest rollup update and plugin registration tool. Any suggestions.

    Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at PluginProfiler.Library.WorkflowXamlUtility.InstrumentStep(XmlNode activityNode, XmlNamespaceManager ns, InstrumentedStepConfiguration step, String workflowAssemblyName)
       at PluginProfiler.Library.WorkflowXamlUtility.InstrumentXaml(IOrganizationService service, String xaml, IList`1 steps)
       at PluginProfiler.Library.ProfilerManagementUtility.EnableWorkflow(IOrganizationService service, String overrideKeyFileName, Guid workflowId, Boolean persistToEntity, String persistenceSessionKey, Boolean includeSecureInformation, Boolean isContextReplay, CustomActivityStep[] workflowSteps)
       at Microsoft.Crm.Tools.PluginRegistration.ProfilerSettingsForm.OKButton_Click(Object sender, EventArgs e)

    Thanks

    Kiran.

    Monday, October 7, 2013 12:55 PM

All replies

  • You would nee to post some relevant code. The error is indicating you are making a reference to an object that hasn't been instantiated yet. 

    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn

    Monday, October 7, 2013 1:20 PM
    Moderator
  • Hi Jason,

    Workflow working fine,I want to debug on Production server, this error occurred when I tried to add my workflow to profiler (in Plug-in register tool).

    Any suggestions.

    Thanks,

    Kiran.

    Tuesday, October 8, 2013 7:36 AM