[Mono-bugs] [Bug 67753][Nor] New - bug in system.reflection

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 7 Oct 2004 08:41:48 -0400 (EDT)


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 smeegoan@yahoo.com.br.

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

--- shadow/67753	2004-10-07 08:41:48.000000000 -0400
+++ shadow/67753.tmp.3200	2004-10-07 08:41:48.000000000 -0400
@@ -0,0 +1,94 @@
+Bug#: 67753
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: smeegoan@yahoo.com.br               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: bug in system.reflection
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. compile the atached project
+2. run in debug folder with .net:
+
+C:\Documents and Settings\Pedro\My Documents\Visual Studio
+Projects\NET\ConsoleA
+pplication1\bin\Debug>ConsoleApplication1.exe
+
+C:\Documents and Settings\Pedro\My Documents\Visual Studio
+Projects\NET\ConsoleA
+pplication1\bin\Debug>
+
+(note: the file frmMain.pictureBox4.Image.png and the file Dummy.dll get
+created)
+
+3. run in debug folder with mono:
+
+
+C:\Documents and Settings\Pedro\My Documents\Visual Studio
+Projects\NET\ConsoleA
+pplication1\bin\Debug>mono ConsoleApplication1.exe
+
+Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
+been thrown by the target of an invocation. ---> System.NullReferenceException:
+Object reference not set to an instance of an object
+in <0x000f5> Dummy.frmMain:.ctor (string)
+in (unmanaged) (wrapper managed-to-native)
+System.Reflection.MonoCMethod:Interna
+lInvoke (object,object[])
+in <0x00004> (wrapper managed-to-native)
+System.Reflection.MonoCMethod:InternalI
+nvoke (object,object[])
+in <0x0007a> System.Reflection.MonoCMethod:Invoke
+(object,System.Reflection.Bind
+ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+--- End of inner exception stack trace ---
+
+in <0x000b9> System.Reflection.MonoCMethod:Invoke
+(object,System.Reflection.Bind
+ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x0001d> System.Reflection.MonoCMethod:Invoke
+(System.Reflection.BindingFlag
+s,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x00219> System.Activator:CreateInstance
+(System.Type,System.Reflection.Bind
+ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,obje
+ct[])
+in <0x0003d> System.Reflection.Assembly:CreateInstance
+(string,bool,System.Refle
+ction.BindingFlags,System.Reflection.Binder,object[],System.Globalization.Cultur
+eInfo,object[])
+in <0x001b8> ConsoleApplication1.Class1:Main (string[])
+
+
+C:\Documents and Settings\Pedro\My Documents\Visual Studio
+Projects\NET\ConsoleA
+pplication1\bin\Debug>
+
+(note: only the file Dummy.dll gets created)
+
+Actual Results:
+application crashes and doesnt create the file
+
+
+Expected Results:
+should create the file
+
+How often does this happen? 
+always
+
+Additional Information: