[Mono-bugs] [Bug 53032][Min] Changed - System.Text.RegularExpression.Match has broken Groups, when match failed

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 20 Jan 2004 12:22:20 -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 nazgul@omega.pl.

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

--- shadow/53032	2004-01-20 05:00:29.000000000 -0500
+++ shadow/53032.tmp.21130	2004-01-20 12:22:20.000000000 -0500
@@ -49,6 +49,21 @@
 How often does this happen?  
 Always
 
 ------- Additional Comments From sumadevi@novell.com  2004-01-20 05:00 -------
 I am not able to recreate the bug to fix it, can you please recheck if
 you are still seeing the exception.  
+
+------- Additional Comments From nazgul@omega.pl  2004-01-20 12:22 -------
+Yes, I got following message for this program: 
+mono --debug t.exe 
+ 
+Unhandled Exception: System.NullReferenceException: A null value was 
+found where an object instance was required 
+in [0x00001] (at 
+/cvs/mcs/class/System/System.Text.RegularExpressions/match.cs:24) 
+System.Text.RegularExpressions.Capture:get_Value () 
+in [0x00001] (at 
+/cvs/mcs/class/System/System.Text.RegularExpressions/match.cs:29) 
+System.Text.RegularExpressions.Capture:ToString () 
+in <0x0008a> .X:Main () 
+