[Mono-bugs] [Bug 21419] New - event field emit problem?

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
6 Mar 2002 12:12:31 -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 lupus@ximian.com.

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

--- shadow/21419	Wed Mar  6 07:12:31 2002
+++ shadow/21419.tmp.23631	Wed Mar  6 07:12:31 2002
@@ -0,0 +1,37 @@
+Bug#: 21419
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: event field emit problem?
+
+Unhandled exception System.NullReferenceException A null value was found
+where an object instance was required.
+#0: 0x00037 ldfld      in Mono.CSharp.FieldExpr::Emit ([0x82624e0] )
+#1: 0x000b7 callvirt   in Mono.CSharp.Invocation::EmitCall ([0x82624e0] [0]
+[0] [0x8261020] [0x81f13a8] [0x81e8618] )
+#2: 0x00026 call       in Mono.CSharp.DelegateInvocation::Emit ([0x82624e0] )
+#3: 0x00002 callvirt   in Mono.CSharp.DelegateInvocation::EmitStatement
+([0x82624e0] )
+#4: 0x00026 callvirt   in Mono.CSharp.StatementExpression::Emit ([0x82624e0] )
+#5: 0x0002c callvirt   in Mono.CSharp.Block::Emit ([0x82624e0] )
+#6: 0x0001f callvirt   in Mono.CSharp.EmitContext::EmitTopBlock
+([0x81f3f18] [vt: 0xbffff16c] )
+#7: 0x000b1 callvirt   in Mono.CSharp.Method::Emit ([0x81ab130] )
+#8: 0x00085 callvirt   in Mono.CSharp.TypeContainer::Emit ()
+#9: 0x00067 callvirt   in Mono.CSharp.RootContext::EmitCode ()
+#10: 0x008dc call       in Mono.CSharp.Driver::MainDriver ([0x8134768] )
+#11: 0x00001 call       in Mono.CSharp.Driver::Main ([0x8134768] )
+
+I get the same error on both windows and linux.