[Mono-devel-list] Error when getting type from Assembly
Jörg Rosenkranz
joergr at voelcker.com
Wed Mar 24 08:22:45 EST 2004
Hi all,
I'm getting following exception when trying to get a Type from an assembly:
[System.NullReferenceException] Object reference not set to an instance of an object
in (unmanaged) /usr/local/lib/libmono.so.0(mono_class_from_typeref+0xe4) [0x400d5574]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_class_get+0xb4) [0x400da894]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x400caeab]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_metadata_parse_type+0x189) [0x400ca719]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_metadata_parse_mh+0x1d8) [0x400cb348]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x400d49cb]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_get_method+0x72) [0x400d4c52]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_class_init+0x3c8) [0x400d8568]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x4008a0aa]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_reflection_get_type+0x26) [0x4008a196]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x4009a4d1]
in <0x00055> System.Reflection.Assembly:GetType (string,bool,bool)
in <0x0005d> System.Activator:CreateInstance (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence)
in <0x00065> System.Activator:CreateInstance (string,string,object[])
in <0x00044> System.Activator:CreateInstance (string,string)
On the commandline following message is printed and the program crashes:
Sending dummy where System.Management.ManagementObject expected
** ERROR **: pending init VI.JobService.JobComponents.FileComponent
aborting...
Aborted
I would like to know what can cause this problem. The class
VI.JobService.JobComponents.FileComponent was not changed recently.
Thanks,
Joerg.
More information about the Mono-devel-list
mailing list