[Mono-bugs] [Bug 77068][Wis] New - FileSystemWatcher IncludeDubdirectories

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 22 11:02:39 EST 2005


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 sincontr at yahoo.it.

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

--- shadow/77068	2005-12-22 11:02:38.000000000 -0500
+++ shadow/77068.tmp.15357	2005-12-22 11:02:38.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 77068
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Ubuntu
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sincontr at yahoo.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FileSystemWatcher IncludeDubdirectories
+
+From a few tests, I can see that FileSystemWatcher perfectly works
+with files or folders, but not with subdirectories.
+I mean, if I set FileSystemWatcher.IncludeSubdirectories = true it hangs
+up while receiving events from inside the first folder, with the
+following exception :
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Index is less
+than 0 or more than or equal to the list count.
+Parameter name: index
+4
+in <0x00071> System.Collections.ArrayList:get_Item (Int32 index)
+in <0x004c0> System.IO.FAMWatcher:ProcessEvents ()
+in <0x00061> System.IO.FAMWatcher:Monitor ()
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
+
+Instead, if I disable subdirectories or copy only files, it works.


More information about the mono-bugs mailing list