[Mono-list] Help reading trace

Paddy Joy mono at paddyjoy.com
Wed Jun 28 08:54:21 EDT 2006


Hi,

I have a managed dll (unfortunately no code for it) that is crashing out 
with an "Unhandled Exception: System.NullReferenceException: Object 
reference not set to an instance of an object".

The dll works ok on MS .NET so I'm trying to get to the bottom of what 
is going on when I call it on Mono.

Can anyone help me read the following trace? Is runtime_invoke_void() 
being called with an un-instantiated object? If so what does that mean, 
what does runtime_invoke_void do, can't seem to find it anywhere in the 
Mono code.

Any pointers would be a great help.

Thanks,
Paddy


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . ENTER: (wrapper runtime-invoke) 
System.Object:runtime_invoke_void 
(object,intptr,intptr,intptr)([System.NullReferenceException:0xb6f29690], 
(nil), (nil), 0x1b50e0, )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . ENTER: 
System.NullReferenceException:.ctor 
()(this:0xb6f29690[System.NullReferenceException Form1.exe], )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . ENTER: System.SystemException:.ctor 
(string)(this:0xb6f29690[System.NullReferenceException Form1.exe], 
[STRING:0xb6d5d880:A null value was found where an object instance was 
required.], )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . ENTER: System.Exception:.ctor 
(string)(this:0xb6f29690[System.NullReferenceException Form1.exe], 
[STRING:0xb6d5d880:A null value was found where an object instance was 
required.], )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . LEAVE: System.Exception:.ctor (string)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . ENTER: 
System.Exception:set_HResult 
(int)(this:0xb6f29690[System.NullReferenceException Form1.exe], 
-2146233087, )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . LEAVE: 
System.Exception:set_HResult (int)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . LEAVE: System.SystemException:.ctor 
(string)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . LEAVE: 
System.NullReferenceException:.ctor ()
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . LEAVE: (wrapper runtime-invoke) 
System.Object:runtime_invoke_void 
(object,intptr,intptr,intptr)[OBJECT:(nil)]
EXCEPTION handling: NullReferenceException



More information about the Mono-list mailing list