[Mono-bugs] [Bug 23690] New - Another NullRef when compiling attached code

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
20 Apr 2002 13:55:08 -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=23690

--- shadow/23690	Sat Apr 20 09:55:08 2002
+++ shadow/23690.tmp.12928	Sat Apr 20 09:55:08 2002
@@ -0,0 +1,47 @@
+Bug#: 23690
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: Mandrake 8.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pt99par@student.bth.se               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Another NullRef  when compiling attached code
+
+Please fill in this template when reporting a bug, unless you know what you are 
+doing.Description of Problem: 
+the nullref seems to appear in src/SharpDoc/LibraryReader.cs on line 8 or atleast 
+disapear whe uncommented.. 
+ 
+Steps to reproduce the problem: 
+1. unpack the attached file (tar.gz) 
+2. 'make' 
+3.  
+ 
+Actual Results: 
+(process:8616): ** WARNING **: unhandled exception System.NullReferenceException: 
+"A null value was found where an object instance was required" 
+in (unmanaged) System.Reflection.Emit.ConstructorBuilder:fixup () 
+in System.Reflection.Emit.TypeBuilder:CreateType () 
+in Mono.CSharp.TypeContainer:CloseType () 
+in Mono.CSharp.RootContext:CloseTypes () 
+in Mono.CSharp.Driver:MainDriver () 
+in Mono.CSharp.Driver:Main () 
+ 
+Expected Results: 
+ Normal compilation 
+ 
+How often does this happen?  
+  
+ 
+Additional Information: 
+  commenting out line 8 in src/SharpDoc/LibraryReader.cs will make the bug 
+disapear