[Mono-bugs] [Bug 42964][Nor] New - Mono crashes when a NullReferenceException is thrown by the runtime in Windows

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 14 May 2003 08:21:31 -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 lluis@ideary.com.

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

--- shadow/42964	Wed May 14 08:21:31 2003
+++ shadow/42964.tmp.1531	Wed May 14 08:21:31 2003
@@ -0,0 +1,54 @@
+Bug#: 42964
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lluis@ideary.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono crashes when a NullReferenceException is thrown by the runtime in Windows
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+Mono in Windows crashes when a NullReferenceException is thrown by the 
+runtime and there is a catch block.
+
+Steps to reproduce the problem:
+
+Compile and execute this:
+
+using System;
+public class BugTest
+{
+	public static void Main()
+	{
+		try {
+			string s = null;
+			s.ToLower();	// any method would do
+		}
+		catch { }
+	}
+}
+
+
+Actual Results:
+
+It crashes
+
+Expected Results:
+
+It shouldn't crash. It should just end the app.
+
+How often does this happen? 
+
+Always