[Mono-bugs] [Bug 390632] New: stringbuilder's lenght property throws a null exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 15 04:07:27 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=390632


           Summary: stringbuilder's lenght property throws a null exception
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jean.degyns at memnon.eu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

When you tries to get the lenght of an empty stringbuilder, you get a null
exception when running with mono.

Steps to reproduce the problem:

StringBuilder sb = new StringBuilder();
System.Console.WriteLine(sb.Length);

Actual Results:
Null Exception

Expected Results:
0

How often does this happen? 
Always.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list