[Mono-bugs] [Bug 24221] New - NullReferenceException in String.InternalReplace
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
4 May 2002 10:52:02 -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 loz@cable.a2000.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=24221
--- shadow/24221 Sat May 4 06:52:02 2002
+++ shadow/24221.tmp.3773 Sat May 4 06:52:02 2002
@@ -0,0 +1,39 @@
+Bug#: 24221
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details: W2K
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: loz@cable.a2000.nl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: NullReferenceException in String.InternalReplace
+
+using System;
+
+public class T
+{
+ public static void Main ()
+ {
+ string s = String.Empty.Replace ("%23", "#");
+ }
+}
+
+
+$ mono ./T.exe
+
+(process:1844): ** WARNING **: cant resolve internal call
+to "System.Threading.T
+hread::Thread_free_internal(uintptr)" (tested without signature also)
+
+(process:1844): ** WARNING **: unhandled exception
+System.NullReferenceException
+: "A null value was found where an object instance was required"
+in (unmanaged) System.String:InternalReplace ()