[Mono-bugs] [Bug 541424] New: resgen throws A null reference or invalid value was found [GDI+ status: InvalidParameter] on embedded picture.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 23 10:55:18 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541424


           Summary: resgen throws A null reference or invalid value was
                    found [GDI+ status: InvalidParameter] on embedded
                    picture.
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: resgen
        AssignedTo: gert.driesen at pandora.be
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=319530)
 --> (http://bugzilla.novell.com/attachment.cgi?id=319530)
resource file that fails to compile with mono resgen

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.13)
Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13

a resx file with the following type data block:

<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>

causes the following error

Error: Invalid ResX input.
Position: Line 192, Column 3.
Inner exception: A null reference or invalid value was found [GDI+ status:
InvalidParameter]

Works on .NET




Reproducible: Always

Steps to Reproduce:
1.resgen SearchingAnimation.resx
2.
3.
Actual Results:  
Error: Invalid ResX input.
Position: Line 192, Column 3.
Inner exception: A null reference or invalid value was found [GDI+ status:
InvalidParameter]

Expected Results:  
no error

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


More information about the mono-bugs mailing list