[Mono-bugs] [Bug 75131][Nor] New - Reflector crashes on start

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 19:56:46 EDT 2005


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 matt.hargett at logiclibrary.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75131

--- shadow/75131	2005-06-02 19:56:46.000000000 -0400
+++ shadow/75131.tmp.16663	2005-06-02 19:56:46.000000000 -0400
@@ -0,0 +1,169 @@
+Bug#: 75131
+Product: Mono: Class Libraries
+Version: 1.1
+OS: SLES 9
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: matt.hargett at logiclibrary.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Reflector crashes on start
+
+Description of Problem:
+Reflector, a popular disassembler for .NET assemblies, crashes when run.
+
+
+Steps to reproduce the problem:
+1. with recent mono svn
+ mono Reflector.exe
+
+Actual Results:
+crash.
+with --debug
+Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
+Parameter name: types
+in [0x00057] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Type.cs:900)
+System.Type:GetConstructor (BindingFlags bindingAttr,
+System.Reflection.Binder binder, CallingConventions callConvention,
+System.Type[] types, System.Reflection.ParameterModifier[] modifiers)
+in [0x00007] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Type.cs:880)
+System.Type:GetConstructor (System.Type[] types)
+in [0x0004d] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Activator.cs:171)
+System.Activator:CreateInstance (System.Type type, System.Object[] args,
+System.Object[] activationAttributes)
+in [0x00008] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Activator.cs:154)
+System.Activator:CreateInstance (System.Type type, System.Object[] args)
+in <0x00380> Reflector.Application:.ctor (IWindowManager windowManager)
+in <0x00038> Reflector.Application:_1 ()
+
+last bit of --debug --trace:
+], 400, [STRING:0x82a000:in <0x00000> <unknown method>
+in [0x00029] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00024] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00016] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System.Security/PermissionSet.cs:76)
+System.Security.PermissionSet:.ctor (PermissionState state)
+in <0x00041> Reflector.Application:_1 ()
+in <0x00032> Reflector.Application:_1 ()], )
+. . . . . . . . . LEAVE: (wrapper managed-to-native)
+System.String:InternalStrcpy (string,int,string)
+. . . . . . . . LEAVE: System.Text.StringBuilder:Append
+(string)[System.Text.StringBuilder:0x7affc0]
+. . . . . . . . ENTER: System.Text.StringBuilder:ToString
+()(this:0x7affc0[System.Text.StringBuilder Reflector.exe], )
+. . . . . . . . . ENTER: System.String:InternalSetLength
+(int)(this:[STRING:0x82b000:System.TypeInitializationException: An
+exception was thrown by the type initializer for System.Type --->
+System.NullReferenceException: Object reference not set to an instance of
+an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_ctor (object,object,intptr)
+in <0x00074> System.Type:.cctor ()--- End of inner exception stack trace ---
+
+in <0x00000> <unknown method>
+in [0x00029] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00024] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00016] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System.Security/PermissionSet.cs:76)
+System.Security.PermissionSet:.ctor (PermissionState state)
+in <0x00041> Reflector.Application:_1 ()
+in <0x00032> Reflector.Application:_1 ()], 975, )
+. . . . . . . . . LEAVE: System.String:InternalSetLength (int)
+. . . . . . . . LEAVE: System.Text.StringBuilder:ToString
+()[STRING:0x82b000:System.TypeInitializationException: An exception was
+thrown by
+the type initializer for System.Type ---> System.NullReferenceException:
+Object reference not set to an instance of an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_ctor (object,object,intptr)
+in <0x00074> System.Type:.cctor ()--- End of inner exception stack trace ---
+
+in <0x00000> <unknown method>
+in [0x00029] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00024] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00016] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System.Security/PermissionSet.cs:76)
+System.Security.PermissionSet:.ctor (PermissionState state)
+in <0x00041> Reflector.Application:_1 ()
+in <0x00032> Reflector.Application:_1 ()]
+. . . . . . . LEAVE: System.Exception:ToString
+()[STRING:0x82b000:System.TypeInitializationException: An exception was
+thrown by the type in
+itializer for System.Type ---> System.NullReferenceException: Object
+reference not set to an instance of an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_ctor (object,object,intptr)
+in <0x00074> System.Type:.cctor ()--- End of inner exception stack trace ---
+
+in <0x00000> <unknown method>
+in [0x00029] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00024] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00016] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System.Security/PermissionSet.cs:76)
+System.Security.PermissionSet:.ctor (PermissionState state)
+in <0x00041> Reflector.Application:_1 ()
+in <0x00032> Reflector.Application:_1 ()]
+. . . . . . LEAVE: (wrapper runtime-invoke)
+System.Object:runtime_invoke_string
+(object,intptr,intptr,intptr)[System.String:0x82b000]
+
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown by the type initializer for System.Type --->
+System.NullReferenceException: Object reference not set to an instance of
+an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_ctor (object,object,intptr)
+in <0x00074> System.Type:.cctor ()--- End of inner exception stack trace ---
+
+in <0x00000> <unknown method>
+in [0x00029] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00024] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System/Enum.cs:228)
+System.Enum:IsDefined (System.Type enumType, System.Object value)
+in [0x00016] (at
+/home/bryan/work/monobuild/svn/mcs/class/corlib/System.Security/PermissionSet.cs:76)
+System.Security.PermissionSet:.ctor (PermissionState state)
+in <0x00041> Reflector.Application:_1 ()
+in <0x00032> Reflector.Application:_1 ()
+
+Expected Results:
+Should not crash.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+Reflector is thankfully a self-contained executable and is attached.


More information about the mono-bugs mailing list