[Mono-bugs] [Bug 472966] New: Resgen produces cryptic error message when libgdiplus does not support an image format.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 5 12:37:41 EST 2009


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


           Summary: Resgen produces cryptic error message when libgdiplus
                    does not support an image format.
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: resgen
        AssignedTo: gert.driesen at pandora.be
        ReportedBy: skolima at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6)
Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)

A follow-up to https://bugzilla.novell.com/show_bug.cgi?id=334489

When libgdiplus is missing support for a certain image type (e.g. compiled
without JPEG), resgen exits with the following error when trying to use the
missing type:

Error: Invalid ResX input.
Inner exception: Exception has been thrown by the target of an invocation. 
Line 21, position 4.

Reproducible: Always

Steps to Reproduce:
Configure & install libgdiplus without JPEG support, try to compile the test
case from https://bugzilla.novell.com/attachment.cgi?id=218143 .


Expected Results:  
Output the actual exception message from System.Drawing.Image ("Unknown image
type")

-- 
Configure bugmail: https://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