[Mono-bugs] [Bug 36158][Nor] Changed - System.NullReferenceException caught when executing Type.TypeInitializer.Invoke

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 3 Jan 2003 16:42:18 -0500 (EST)


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=36158

--- shadow/36158	Sun Dec 29 05:20:37 2002
+++ shadow/36158.tmp.21331	Fri Jan  3 16:42:18 2003
@@ -1,14 +1,14 @@
 Bug#: 36158
 Product: Mono/Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Linux 2.4.20-686
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: INVALID
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: karaznie@acn.waw.pl               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -91,6 +91,11 @@
 
 always running Type.TypeInitializer.Invoke() method
 
 Additional Information:
 
 mono-17 release.
+
+------- Additional Comments From lupus@ximian.com  2003-01-03 16:42 -------
+TypeInitializer is the static .cctor method, it's not the instance
+constructor. Your example dies with a null ref exception on the ms
+runtime, too.