I tried to generate documentation for the Composite Application Block (Microsoft.Practices.CompositeUI.dll)and got the following exception just after start to build the documentation with NDoc 1.3.1.
An error occured while trying to build the documentation.
Exception: NDoc.Core.DocumenterException
Object reference not set to an instance of an object.
Exception: System.NullReferenceException
Object reference not set to an instance of an object.
Exception: NDoc.Core.DocumenterException
at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project project)
at NDoc.Gui.BuildWorker.ThreadProc()
Exception: System.NullReferenceException
Server stack trace:
at NDoc.Core.Reflection.ReflectionEngine.BuildDerivedMemberXref(Type type)
at NDoc.Core.Reflection.ReflectionEngine.BuildXrefs()
at NDoc.Core.Reflection.ReflectionEngine.BuildXml(XmlWriter writer)
at NDoc.Core.Reflection.ReflectionEngine.MakeXmlFile(ReflectionEngineParameters rep, String xmlFile)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NDoc.Core.Reflection.ReflectionEngine.MakeXmlFile(ReflectionEngineParameters rep, String xmlFile)
at NDoc.Core.Reflection.BaseReflectionDocumenter.MakeXmlFile(Project project, String fileName)
at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project project)