[Mono-bugs] [Bug 77190][Wis] New - NullReferenceException when concatenate strings

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 9 10:22:49 EST 2006


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 peroval at gmail.com.

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

--- shadow/77190	2006-01-09 10:22:49.000000000 -0500
+++ shadow/77190.tmp.27853	2006-01-09 10:22:49.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 77190
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Ubuntu Breezy
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: peroval at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NullReferenceException when concatenate strings
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+The following test case crash:
+
+class test
+{
+  static void Main ()
+    {
+      string tmp;
+      int count = 0;
+
+      tmp = "abcdefghijkl" + count.ToString ();
+      tmp = "abcdefghijkl" + count.ToString ();
+      tmp = "abcdefghijkl" + count.ToString ();
+      tmp = "abcdefghijkl" + count.ToString ();
+      <repeated 20000 times>
+    }
+}
+
+Steps to reproduce the problem:
+1. mcs test.cs
+2. mono ./test.exe
+3. 
+
+Actual Results:
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+
+Expected Results:
+
+
+How often does this happen? 
+
+Allways
+
+Additional Information:


More information about the mono-bugs mailing list