locked
Custom workflow Debugging error - CRM Online 2015 version RRS feed

  • Question

  • While clicking the "Persist to entity" radio button from the registeration tool and click the ok button , I am getting the below error.

    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.ProfilerSettingsViewModel.btnOk_Click()

    Kindly help me.

    Tuesday, May 17, 2016 2:14 AM

All replies

  • Hi Chandrasekan,

    There seems to be bug in Plugin Registration tool. Try alternate method of getting pdb from server or Use the code in a test plugin and debug it.

    You can also try other versions of PRT


    Regards, Saad

    Tuesday, May 17, 2016 2:51 AM