[Mono-bugs] [Bug 82567][Nor] New - NewFolder feature of FolderBrowserDialog broken, including NRE crash

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 07:22:51 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 andyhume32 at yahoo.co.uk.


--- shadow/82567	2007-08-24 07:22:51.000000000 -0400
+++ shadow/82567.tmp.16279	2007-08-24 07:22:51.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 82567
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: Windows XP
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: andyhume32 at yahoo.co.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: NewFolder feature of FolderBrowserDialog broken, including NRE crash
+'New Folder' in FolderBrowserDialog is broken in various ways.  Tested on 
+WIndows XP with SVN head 2007-08-23.  I see the following:
+1. Click <New Folder> button
+No new icon/text-box visible.  Expect to see it.  (Sometimes one can see 
+the bottom edge of the text-box just visible at the top edge of the tree 
+2. Enter the new (non-existing) folder name and hit <return>
+Error dialog shown, with text: [[Folder "D:\temp\foo" already exists.]]  
+Expect no error.
+(In the case where the folder DOES already exist, the error dialog is 
+again shown, but no other error is apparent).
+3. Close the error dialog
+App crashes with NRE.  Partial stack trace:
+Unhandled Exception: System.NullReferenceException: Object reference not 
+set to an instance of an object
+at System.Windows.Forms.TreeView.EndEdit (System.Windows.Forms.TreeNode)
+at System.Windows.Forms.TreeView.LabelEditFinished 
+at System.Windows.Forms.LabelEditTextBox.OnEditingFinished 
+at System.Windows.Forms.LabelEditTextBox.OnKeyDown 
+at System.Windows.Forms.Control.ProcessKeyEventArgs 
+at System.Windows.Forms.Control.ProcessKeyMessage 
+Full exception attached.

More information about the mono-bugs mailing list