[Mono-devel-list] NullReferenceException in gmcs.exe during make bootstrap

Jörg Rosenkranz joergr at voelcker.com
Thu May 27 11:09:19 EDT 2004


Hello all,

During compilation of current CVS using "make bootstrap" 
I get following error message: 

MONO_PATH="../../class/lib/net_2_0:$MONO_PATH" mono  ../../gmcs/gmcs.exe   -d:NET_1_1 -d:NET_2_0 -2 -g /noconfig
/r:mscorlib.dll /define:XML_DEP /r:System.Xml.dll /target:library /out:../../class/lib/net_2_0/System.dll @System
.dll.sources
ALPHA SOFTWARE: Mono C# Compiler 0.91.99.0 for Generics

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in (unmanaged) (wrapper managed-to-native) System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence)
in <0x00004> (wrapper managed-to-native) System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence)
in <0x0006f> (wrapper remoting-invoke-with-check) System.AppDomain:LoadAssembly (string,System.Security.Policy.Ev
idence)
in <0x0006b> System.AppDomain:Load (string)
in <0x0005d> (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
in <0x0001d> System.Reflection.Assembly:Load (string)
in <0x0012e> Mono.CSharp.Driver:LoadAssembly (string,bool)
in <0x000a1> Mono.CSharp.Driver:LoadReferences ()
in <0x006db> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001f> Mono.CSharp.Driver:Main (string[])

After this message gmcs hangs and can only be canceled
using Ctrl + C. After reading Raja's mail I've removed 
~/.wapi but this doesn't help.

Joerg.



More information about the Mono-devel-list mailing list