[Mono-bugs] [Bug 40804][Nor] New - ArrayList.Sort () fails with nulls

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 5 Apr 2003 05:39:25 -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 vi64pa@kolumbus.fi.

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

--- shadow/40804	Sat Apr  5 05:39:25 2003
+++ shadow/40804.tmp.32120	Sat Apr  5 05:39:25 2003
@@ -0,0 +1,46 @@
+Bug#: 40804
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vi64pa@kolumbus.fi               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ArrayList.Sort () fails with nulls
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+
+public static void main ()
+{
+ArrayList l = new ArrayList();
+l.Add (null);
+l.Add ("first");
+l.Add ("second");
+l.Sort();
+}
+
+Actual Results:
+
+throws NullReferenceException
+
+Expected Results:
+
+Should not throw exception
+
+How often does this happen? 
+allways
+
+Additional Information: