[Mono-bugs] [Bug 77911][Nor] New - NDocGui: InvalidCastException clicking Add button

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 25 12:26:31 EST 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 gert.driesen at pandora.be.


--- shadow/77911	2006-03-25 12:26:31.000000000 -0500
+++ shadow/77911.tmp.15172	2006-03-25 12:26:31.000000000 -0500
@@ -0,0 +1,72 @@
+Bug#: 77911
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: NDocGui: InvalidCastException clicking Add button
+When the Add button in the "Select Assemblies to Document" part of the 
+main form is clicked, the NDocGui crashes with following exception:
+Unhandled Exception: System.InvalidCastException: Cannot cast from source 
+type to destination type.
+in <0x0008a> System.Windows.Forms.Form:ShowDialog (IWin32Window 
+in (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+in <0x0005b> NDoc.Gui.AssemblyListControl:addButton_Click (System.Object 
+sender, System.EventArgs e)
+in (wrapper delegate-invoke) 
+in <0x0001d> System.Windows.Forms.Control:OnClick (System.EventArgs e)
+in <0x000dd> System.Windows.Forms.Button:OnClick (System.EventArgs e)
+in <0x000f8> System.Windows.Forms.ButtonBase:OnMouseUp 
+(System.Windows.Forms.MouseEventArgs mevent)
+in <0x0000d> System.Windows.Forms.Button:OnMouseUp 
+(System.Windows.Forms.MouseEventArgs e)
+in <0x00706> System.Windows.Forms.Control:WndProc 
+(System.Windows.Forms.Message m)
+in <0x00060> System.Windows.Forms.ButtonBase:WndProc 
+(System.Windows.Forms.Message m)
+in <0x0000d> System.Windows.Forms.Button:WndProc 
+(System.Windows.Forms.Message m)
+in <0x00014> System.Windows.Forms.Control+ControlNativeWindow:WndProc 
+(System.Windows.Forms.Message m)
+in <0x0011e> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg 
+msg, IntPtr wParam, IntPtr lParam)
+in <0x00016> System.Windows.Forms.XplatUIX11:DispatchMessage 
+(System.Windows.Forms.MSG msg)
+in <0x00015> System.Windows.Forms.XplatUI:DispatchMessage 
+(System.Windows.Forms.MSG msg)
+in <0x005f6> System.Windows.Forms.Application:RunLoop (Boolean Modal, 
+System.Windows.Forms.ApplicationContext context)
+in <0x00024> System.Windows.Forms.Application:Run 
+(System.Windows.Forms.Form mainForm)
+in <0x0005f> NDoc.Gui.App:Main (System.String[] args)
+I'll attach a zip file containing the NDoc binaries, but follow these 
+instructions if you want to build NDoc from source:
+1. Download a recent nightly build of NAnt 
+2. Extract the zip file.
+3. Execute the following commands:
+   $ cd <folder where you extracted the NAnt source distribution>
+   $ make install prefix=/usr/local/
+   $ cvs -d :pserver:anonymous at cvs.sourceforge.net/cvsroot/ndoc co ndoc
+   $ cd ndoc
+   $ nant -t:mono-1.0
+   $ mono bin/mono/1.0/NDocGui.exe

More information about the mono-bugs mailing list