Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75858 --- shadow/75858 2005-08-20 06:51:23.000000000 -0400 +++ shadow/75858.tmp.26885 2005-08-20 06:56:34.000000000 -0400 @@ -2,13 +2,13 @@ Product: Mono: Runtime Version: 1.0 OS: GNU/Linux [Other] OS Details: centos 4.1 (rhel 4.1 clone) Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Wishlist Component: misc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -22,6 +22,80 @@ method is called libikvm-native.so. If this library is missing a NullReferenceException is thrown. The problem is that the NRE has no stack trace attached. This makes it difficult to know what's wrong. I also suspect that there is a secondary problem because I see code dumps a little later when this happens. + +------- Additional Comments From [EMAIL PROTECTED] 2005-08-20 06:56 ------- +Here's a trace of what it looks like when the NRE is thrown: + +LEAVE: System.Type:GetType (string)[System.MonoType:023EA880] +ENTER: System.Type:GetType +(string)([STRING:025950F0:java.lang.reflect.Constructor], ) +ENTER: (wrapper managed-to-native) +System.Type:internal_from_name +(string,bool,bool)([STRING:025950F0:java.lang.reflect.Constructor +], +0, 0, ) +LEAVE: (wrapper managed-to-native) +System.Type:internal_from_name +(string,bool,bool)[System.MonoType:023EA870] +LEAVE: System.Type:GetType (string)[System.MonoType:023EA870] +ENTER: gnu.classpath.VMStackWalker:getJNIEnvType ()() +ENTER: +IKVM.NativeCode.gnu.classpath.VMStackWalker:getJNIEnvType ()() +LEAVE: +IKVM.NativeCode.gnu.classpath.VMStackWalker:getJNIEnvType +()[System.MonoType:023EA860] +LEAVE: gnu.classpath.VMStackWalker:getJNIEnvType +()[System.MonoType:023EA860] +LEAVE: gnu.classpath.VMStackWalker:.cctor () +LEAVE: (wrapper runtime-invoke) +System.Object:runtime_invoke_void +(object,intptr,intptr,intptr)[OBJECT:00000000] +ENTER: gnu.classpath.VMStackWalker:getCallingClassLoader ()() +ENTER: (wrapper managed-to-native) +System.Object:__icall_wrapper_mono_object_new_fast +(intptr)(0228A580, ) +LEAVE: (wrapper managed-to-native) +System.Object:__icall_wrapper_mono_object_new_fast +(intptr)[System.Diagnostics.StackFrame:0257C258] +ENTER: System.Diagnostics.StackFrame:.ctor +(int)(this:0257C258[System.Diagnostics.StackFrame +FooServer.exe], 2, ) +ENTER: System.Object:.ctor +()(this:0257C258[System.Diagnostics.StackFrame FooServer.exe], ) +LEAVE: System.Object:.ctor () +ENTER: (wrapper managed-to-native) +System.Diagnostics.StackFrame:get_frame_info +(int,bool,System.Reflection.MethodBase&,int&,int&,string&,int&,in +t&)(4, +0, [BYREF:0257C268], [BYREF:0257C260], [BYREF:0257C264], +[BYREF:0257C26C], [BYREF:0257C270], [BYREF:0257C274], ) +ENTER: (wrapper runtime-invoke) +System.Object:runtime_invoke_void +(object,intptr,intptr,intptr)([System.NullReferenceException:0150 +F1B0], +00000000, 00000000, 01860E60, ) +ENTER: System.NullReferenceException:.ctor +()(this:0150F1B0[System.NullReferenceException FooServer.exe], ) +ENTER: Locale:GetText (string)([STRING:025252F8:A null value +was found where an object instance was required.], ) +LEAVE: Locale:GetText (string)[STRING:025252F8:A null value +was found where an object instance was required.] +ENTER: System.SystemException:.ctor +(string)(this:0150F1B0[System.NullReferenceException +FooServer.exe], [STRING:025252F8:A null value was found +where an object instance was required.], ) +ENTER: System.Exception:.ctor +(string)(this:0150F1B0[System.NullReferenceException +FooServer.exe], [STRING:025252F8:A null value was found +where an object instance was required.], ) +ENTER: System.Object:.ctor +()(this:0150F1B0[System.NullReferenceException FooServer.exe], ) +LEAVE: System.Object:.ctor () +LEAVE: System.Exception:.ctor (string) +ENTER: System.Exception:set_HResult +(int)(this:0150F1B0[System.NullReferenceException +FooServer.exe], -2146233087, ) +LEAVE: System.Exception:set_HResult (int) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
