[Mono-bugs] [Bug 79220][Nor] New - set_FolderBrowserDialog.SelectedPath results in ArgumentOutOfRangeException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 30 16:53:06 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 christian.birkl at gmail.com.


--- shadow/79220	2006-08-30 16:53:06.000000000 -0400
+++ shadow/79220.tmp.20418	2006-08-30 16:53:06.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 79220
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: xp (mono 1.1.17)
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: Christian.Birkl at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: set_FolderBrowserDialog.SelectedPath results in ArgumentOutOfRangeException
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Steps to reproduce the problem:
+1. Compile attached Form1.cs
+2. Run and Press Button1
+Actual Results:
+Application exits.
+Expected Results:
+The selected folder (or if not exists on your test machine) the default 
+folder should be selected in the folder browser dialog.
+How often does this happen? 
+Additional Information:
+System.ArgumentOutOfRangeException: < 0
+Parameter name: length
+  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] 
+  at 
+Path (System.String path) [0x00000] 
+  at 
+dPath (System.String value) [0x00000] 
+  at (wrapper remoting-invoke-with-check) 
+FolderBrowserTreeView:set_SelectedPath (string)
+  at System.Windows.Forms.FolderBrowserDialog.set_SelectedPath 
+(System.String value) [0x00000] 
+  at (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.FolderBrowserDialog:set_SelectedPath (string)
+  at WindowsApplication1.Form1.button1_Click (System.Object sender, 
+System.EventArgs e) [0x00000]

More information about the mono-bugs mailing list