[Mono-list] ikvmstub /usr/lib/mscorelib.dll throws an exception

Weiqi Gao weiqigao@networkusa.net
Sat, 19 Jun 2004 18:55:23 -0500


Hi,

I'm following along Miguel de Icaza's Mar-18 blog

    http://primates.ximian.com/~miguel/archive/2004/Mar-18.html

and encountered the following exception when I tried to run ikvmstub on
mscorlib.dll:

======================================================================
[weiqi@gao-2004 ikvm]$ ikvmstub /usr/lib/mscorlib.dll
Warning: Assembly loaded from /usr/lib/mscorlib.dll instead
 
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in <0x000a4> MethodWrapper:GetExceptions ()
in <0x00058> NativeCode.java.lang.reflect.Method:GetExceptionTypes
(object)
in <0x0000b> java.lang.reflect.Method:GetExceptionTypes (object)
in <0x00050> java.lang.reflect.Method:getExceptionTypes ()
in <0x00cb6> NetExp:ProcessClass
(string,java.lang.Class,java.lang.Class)
in <0x0070a> NetExp:ProcessClass
(string,java.lang.Class,java.lang.Class)
in <0x000b3> NetExp:ProcessAssembly (System.Reflection.Assembly)
in <0x002c9> NetExp:Main (string[])
======================================================================

This is with the Beta3 on FC2.  I'm just wondering if anyone have also
encountered similar problems and know what is wrong with my environment.

TIA,
-- 
Weiqi Gao (高为奇)
weiqigao@networkusa.net
http://www.weiqigao.com/blog/