[Mono-bugs] [Bug 23422] New - NullRefernce when compiling this code

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
14 Apr 2002 19:23:11 -0000


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 pt99par@student.bth.se.

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

--- shadow/23422	Sun Apr 14 15:23:11 2002
+++ shadow/23422.tmp.25066	Sun Apr 14 15:23:11 2002
@@ -0,0 +1,40 @@
+Bug#: 23422
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: Mandrake 8.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pt99par@student.bth.se               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NullRefernce when compiling this code
+
+Please fill in this template when reporting a bug, unless you know what you are 
+doing. 
+Description of Problem: 
+When i compile this code on mcs i get the NullReference. The code is a test for 
+event handling.. its probaby faulty but it cant be compiled..  
+ 
+The code is attached! 
+ 
+STACK TRACE FROM MONO: 
+(process:10693): ** WARNING **: unhandled exception System.NullReferenceException: 
+"A null value was found where an object instance was required" 
+in Mono.CSharp.FieldExpr:EmitAssign () 
+in Mono.CSharp.Assign:Emit () 
+in Mono.CSharp.Assign:EmitStatement () 
+in Mono.CSharp.StatementExpression:Emit () 
+in Mono.CSharp.Block:Emit () 
+in Mono.CSharp.EmitContext:EmitTopBlock () 
+in Mono.CSharp.Method:Emit () 
+in Mono.CSharp.TypeContainer:Emit () 
+in Mono.CSharp.RootContext:EmitCode () 
+in Mono.CSharp.Driver:MainDriver () 
+in Mono.CSharp.Driver:Main ()