Menu

#474 BuildDerivedMemberXref thrown

open
nobody
NDoc Core (101)
5
2006-05-20
2006-05-20
mpovidlov
No

This C# class generates a BuildDerivedMemberXref(Type
type) exception with NDoc 1.3.1 (GUI). I am using
VS.NET 2005:
---------------------------
using System;
using System.Collections.Generic;
using System.Text;

namespace Cres
{
public class CresList<T> : List<T>
{
bool m_Sorted = false;
public void insertSort( T newcomer ) {
if( !m_Sorted ) {
Sort();
m_Sorted = true;
}
int index = BinarySearch( newcomer );
if( index < 0 )
{
Insert( ~index, newcomer );
}
else {
Insert( index, newcomer );
}
}
}
}
-------------------------
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.BuildDerivedMemb
erXref(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._Pr
ivateProcessMessage(IntPtr md, Object[] args, Object
server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)

at
System.Runtime.Remoting.Messaging.StackBuilderSink.Pri
vateProcessMessage(RuntimeMethodHandle md, Object[]
args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)

at
System.Runtime.Remoting.Messaging.StackBuilderSink.Syn
cProcessMessage(IMessage msg, Int32 methodPtr,
Boolean fExecuteInContext)

Exception rethrown at [0]:

at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturn
Message(IMessage reqMsg, IMessage retMsg)

at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvok
e(MessageData& msgData, Int32 type)

at
NDoc.Core.Reflection.ReflectionEngine.MakeXmlFile
(ReflectionEngineParameters rep, String xmlFile)

at
NDoc.Core.Reflection.BaseReflectionDocumenter.MakeXmlF
ile(Project project, String fileName)

at NDoc.Documenter.Msdn.MsdnDocumenter.Build
(Project project)

--------------
Thanks for looking at this!
Max (business@powidlowww.org)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB