[Mono-bugs] [Bug 82618][Nor] New - FolderBrowserDialog: ArgumentNullException creating folder in new folder

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 28 15:39:17 EDT 2007


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.

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

--- shadow/82618	2007-08-28 15:39:17.000000000 -0400
+++ shadow/82618.tmp.19405	2007-08-28 15:39:17.000000000 -0400
@@ -0,0 +1,181 @@
+Bug#: 82618
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: gert.driesen at pandora.be                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FolderBrowserDialog: ArgumentNullException creating folder in new folder
+
+When a folder is added to a folder that was created in the same "session", 
+then the following exception is reported:
+
+Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
+Parameter name: path
+  at System.IO.FileSystemInfo.CheckPath (System.String path) [0x00057] 
+in /home/gert/mono/mcs/class/corlib/System.IO/FileSystemInfo.cs:252 
+  at System.IO.DirectoryInfo..ctor (System.String path) [0x00006] 
+in /home/gert/mono/mcs/class/corlib/System.IO/DirectoryInfo.cs:54 
+  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor 
+(string)
+  at System.Windows.Forms.FileSystem.ChangeDirectory (System.String 
+folder) [0x001e8] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Fil
+eDialog.cs:3319 
+  at System.Windows.Forms.MWFVFS.ChangeDirectory (System.String folder) 
+[0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Fil
+eDialog.cs:3100 
+  at 
+System.Windows.Forms.FolderBrowserDialog+FolderBrowserTreeView.FillNode 
+(System.Windows.Forms.TreeNode node) [0x00011] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Fol
+derBrowserDialog.cs:591 
+  at 
+System.Windows.Forms.FolderBrowserDialog+FolderBrowserTreeView.CreateNewFol
+der () [0x000e7] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Fol
+derBrowserDialog.cs:425 
+  at (wrapper remoting-invoke-with-check) 
+FolderBrowserTreeView:CreateNewFolder ()
+  at System.Windows.Forms.FolderBrowserDialog.OnClickNewFolderButton 
+(System.Object sender, System.EventArgs e) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Fol
+derBrowserDialog.cs:286 
+  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0001c] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:5610 
+  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00024] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+ton.cs:104 
+  at System.Windows.Forms.ButtonBase.OnMouseUp 
+(System.Windows.Forms.MouseEventArgs mevent) [0x00076] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+tonBase.cs:616 
+  at System.Windows.Forms.Button.OnMouseUp 
+(System.Windows.Forms.MouseEventArgs e) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+ton.cs:126 
+  at System.Windows.Forms.Control.WmLButtonUp 
+(System.Windows.Forms.Message& m) [0x0005c] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:5206 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& 
+m) [0x0017c] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:4964 
+  at System.Windows.Forms.ButtonBase.WndProc 
+(System.Windows.Forms.Message& m) [0x00055] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+tonBase.cs:674 
+  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) 
+[0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+ton.cs:148 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage 
+(System.Windows.Forms.Message& m) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:224 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:205 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, 
+IntPtr wParam, IntPtr lParam) [0x0006a] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Nat
+iveWindow.cs:188 
+  at System.Windows.Forms.XplatUIX11.DispatchMessage 
+(System.Windows.Forms.MSG& msg) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Xpl
+atUIX11.cs:3254 
+  at System.Windows.Forms.XplatUI.DispatchMessage 
+(System.Windows.Forms.MSG& msg) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Xpl
+atUI.cs:551 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
+System.Windows.Forms.ApplicationContext context) [0x0018d] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/App
+lication.cs:792 
+  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32) 
+[0x000f8] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/For
+m.cs:1731 
+  at (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+  at System.Windows.Forms.CommonDialog.ShowDialog (IWin32Window 
+ownerWin32) [0x00046] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Com
+monDialog.cs:131 
+  at (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.CommonDialog:ShowDialog 
+(System.Windows.Forms.IWin32Window)
+  at MainForm.SelectFolderButton_Click (System.Object sender, 
+System.EventArgs e) [0x00000] 
+  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0001c] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:5610 
+  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00024] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+ton.cs:104 
+  at System.Windows.Forms.ButtonBase.OnMouseUp 
+(System.Windows.Forms.MouseEventArgs mevent) [0x00076] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+tonBase.cs:616 
+  at System.Windows.Forms.Button.OnMouseUp 
+(System.Windows.Forms.MouseEventArgs e) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+ton.cs:126 
+  at System.Windows.Forms.Control.WmLButtonUp 
+(System.Windows.Forms.Message& m) [0x0005c] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:5206 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& 
+m) [0x0017c] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:4964 
+  at System.Windows.Forms.ButtonBase.WndProc 
+(System.Windows.Forms.Message& m) [0x00055] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+tonBase.cs:674 
+  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) 
+[0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/But
+ton.cs:148 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage 
+(System.Windows.Forms.Message& m) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:224 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Con
+trol.cs:205 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, 
+IntPtr wParam, IntPtr lParam) [0x0006a] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Nat
+iveWindow.cs:188 
+  at System.Windows.Forms.XplatUIX11.DispatchMessage 
+(System.Windows.Forms.MSG& msg) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Xpl
+atUIX11.cs:3254 
+  at System.Windows.Forms.XplatUI.DispatchMessage 
+(System.Windows.Forms.MSG& msg) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Xpl
+atUI.cs:551 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
+System.Windows.Forms.ApplicationContext context) [0x0018d] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/App
+lication.cs:792 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form 
+mainForm) [0x00000] 
+in /home/gert/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/App
+lication.cs:597 
+  at MainForm.Main () [0x00000]


More information about the mono-bugs mailing list