microsoft / MIMConfigDocumenter

MIM configuration documenter is a tool to generate documentation of a MIM synchronization or service installation.
MIT License
47 stars 14 forks source link

NullReferenceException in MIMConfigDocumenterCmd.exe #7

Closed henry-1 closed 7 years ago

henry-1 commented 7 years ago

Having a MIM WAL Powershell Activitiy without input and output paramters crashes the MIMConfigDocumenterCmd.exe.

GetReport'. Details: System.NullReferenceException: Object reference not set to an instance of an object. at MIMConfigDocumenter.MIMServicePolicyDocumenter.FillWorkflowActivityValueExpressions (DataTable activityValueExpressionsTable, XElement hashtable, Int32 activityIndex, Int32 sectionIndex) at MIMConfigDocumenter.MIMServicePolicyDocumenter.FillWorkflowActivityDetails (Boolean pilotConfig) at MIMConfigDocumenter.MIMServicePolicyDocumenter.ProcessWorkflow() at MIMConfigDocumenter.MIMServicePolicyDocumenter.ProcessWorkflows() at MIMConfigDocumenter.MIMServicePolicyDocumenter.GetReport(). MIMConfigDocumenterLog Error: 40000 : MIMConfigDocumenter (1.17.0522.0): 05/30/2017 15:59:31.9009: Exception in 'MIMServiceConfigDocumenter : GetReport'. Details: System.NullReferenceException: Object reference not set to an instance of an object. at MIMConfigDocumenter.MIMServicePolicyDocumenter.GetReport() at MIMConfigDocumenter.MIMServiceConfigDocumenter.ProcessServicePolicyConfiguration () at MIMConfigDocumenter.MIMServiceConfigDocumenter.GetReport().

NileshGhodekar commented 7 years ago

Thanks! This will be fixed in the next release.

NileshGhodekar commented 7 years ago

Code checked in, so closing. Fix will go in the next release.

NileshGhodekar commented 7 years ago

The new release that fixes this and more is out now.