[Mono-bugs] [Bug 78283][Nor] New - PDN: Clipboard System.InvalidCastException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 4 04:52:25 EDT 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 xenomorph2 at onlinehome.de.

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

--- shadow/78283	2006-05-04 04:52:25.000000000 -0400
+++ shadow/78283.tmp.8543	2006-05-04 04:52:25.000000000 -0400
@@ -0,0 +1,102 @@
+Bug#: 78283
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: PDN: Clipboard System.InvalidCastException
+
+Run pdn.
+Open the Edit menu in the main menubar or File->Acquire and you get a
+Unhandled Exception: System.InvalidCastException: Cannot cast from source
+type to destination type.
+
+Unhandled Exception: System.InvalidCastException: Cannot cast from source
+type to destination type.
+in [0x000d3] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1947)
+System.Windows.Forms.XplatUIX11:ClipboardAvailableFormats (IntPtr handle)
+in [0x00006] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:339)
+System.Windows.Forms.XplatUI:ClipboardAvailableFormats (IntPtr handle)
+in [0x00015] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Clipboard.cs:72)
+System.Windows.Forms.Clipboard:GetDataObject ()
+in [0x00000] (at /home/alex/develop/src/MainForm.cs:3025)
+PaintDotNet.MainForm:IsClipboardImageAvailable ()
+in [0x00007] (at /home/alex/develop/src/MainForm.cs:3763)
+PaintDotNet.MainForm:menuFileAcquire_Popup (System.Object sender,
+System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in [0x00013] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:486)
+System.Windows.Forms.MenuItem:OnPopup (System.EventArgs e)
+in [0x00006] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:516)
+System.Windows.Forms.MenuItem:PerformPopup ()
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MenuItem:PerformPopup ()
+in [0x00024] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:284)
+System.Windows.Forms.MenuTracker:ShowSubPopup (System.Windows.Forms.Menu
+menu, System.Windows.Forms.MenuItem item)
+in [0x0001a] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:267)
+System.Windows.Forms.MenuTracker:ExecFocusedItem (System.Windows.Forms.Menu
+menu, System.Windows.Forms.MenuItem item)
+in [0x0006a] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:255)
+System.Windows.Forms.MenuTracker:SelectItem (System.Windows.Forms.Menu
+menu, System.Windows.Forms.MenuItem item, Boolean execute)
+in [0x000a9] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:180)
+System.Windows.Forms.MenuTracker:MoveSelection
+(System.Windows.Forms.MenuItem item)
+in [0x000ce] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:158)
+System.Windows.Forms.MenuTracker:OnMotion
+(System.Windows.Forms.MouseEventArgs args)
+in [0x004b4] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1786)
+System.Windows.Forms.Form:WndProc (System.Windows.Forms.Message m)
+in [0x000fa] (at /home/alex/develop/src/PdnLib/PdnBaseForm.cs:298)
+PaintDotNet.PdnBaseForm:WndProc (System.Windows.Forms.Message m)
+in [0x00062] (at /home/alex/develop/src/MainForm.cs:5491)
+PaintDotNet.MainForm:WndProc (System.Windows.Forms.Message m)
+in [0x00007] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:160)
+System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Windows.Forms.Message m)
+in [0x00056] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146)
+System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr
+wParam, IntPtr lParam)
+in [0x0001c] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2609)
+System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG msg)
+in [0x00006] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:414)
+System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG msg)
+in [0x00248] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:392)
+System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context)
+in [0x00007] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:288)
+System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm)
+in [0x00156] (at /home/alex/develop/src/Startup.cs:139)
+PaintDotNet.Startup:Start ()
+in [0x00006] (at /home/alex/develop/src/Startup.cs:149)
+PaintDotNet.Startup:Main (System.String[] args)
+make: *** [run] Fehler 1


More information about the mono-bugs mailing list