[Mono-bugs] [Bug 343839] New: System.Drawing.GDIPlus. CheckStatus InvalidOperationException from System.Drawing.ImageAnimator. CanAnimate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 23 11:13:56 EST 2007


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

           Summary: System.Drawing.GDIPlus.CheckStatus
                    InvalidOperationException from
                    System.Drawing.ImageAnimator.CanAnimate
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: x86-64
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: mark.lambert at nonlinear.com
         QAContact: mono-bugs at ximian.com
          Found By: Beta-Customer


Setting the Image property of a PictureBox gets the following exception:
Unhandled Exception: System.InvalidOperationException: The operation is invalid
[GDI+ status: Win32Error]

at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status) [0x00229] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\gdipFunctions.cs:236
at System.Drawing.Image.GetFrameCount (System.Drawing.Imaging.FrameDimension)
[0x00017] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\Image.cs:342
at (wrapper remoting-invoke-with-check) System.Drawing.Image.GetFrameCount
(System.Drawing.Imaging.FrameDimension) <0x00045>
at System.Drawing.ImageAnimator.CanAnimate (System.Drawing.Image) [0x00008] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\ImageAnimator.cs:106
at System.Windows.Forms.PictureBox.PictureBox_HandleCreated
(object,System.EventArgs) [0x00006] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\PictureBox.cs:438
at System.Windows.Forms.Control.OnHandleCreated (System.EventArgs) [0x0001c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:5815
at System.Windows.Forms.PictureBox.OnHandleCreated (System.EventArgs) [0x00000]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\PictureBox.cs:299
at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message&)
[0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:5387
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
[0x001e4] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:5066
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:225
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:206
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0006a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:188
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0002c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1886
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32CreateWindow
(System.Windows.Forms.WindowExStyles,string,string,System.Windows.Forms.WindowStyles,int,int,int,int,intptr,intptr,intptr,intptr)
<0x00004>
at System.Windows.Forms.XplatUIWin32.CreateWindow
(System.Windows.Forms.CreateParams) [0x000a1] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1588
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:450
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams) [0x0000c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:112
at System.Windows.Forms.Control.CreateHandle () [0x0003f] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4222
at System.Windows.Forms.Control.CreateControl () [0x00044] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3588
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.CreateControl () <0x00038>
at System.Windows.Forms.Control.CreateControl () [0x0008d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3600
at System.Windows.Forms.Control.SetVisibleCore (bool) [0x0003e] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4770
at System.Windows.Forms.Form.SetVisibleCore (bool) [0x00071] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2333
at System.Windows.Forms.Control.set_Visible (bool) [0x0000c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3260
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0x0004f>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) [0x00059] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:731
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) [0x00014] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:630
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) [0x00000]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:618
at ControlImage.Form1.Main () <0x0001f>


-- 
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