[Mono-bugs] [Bug 80073][Maj] New - ArgumentOutOfRangeException in monodoc when clicking results from Search

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 28 00:28:48 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 vgough at pobox.com.

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

--- shadow/80073	2006-11-28 00:28:48.000000000 -0500
+++ shadow/80073.tmp.5581	2006-11-28 00:28:48.000000000 -0500
@@ -0,0 +1,75 @@
+Bug#: 80073
+Product: Mono: Doctools
+Version: 1.2
+OS: 
+OS Details: Suse 10.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Gui
+AssignedTo: mario.sopena at gmail.com                            
+ReportedBy: vgough at pobox.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ArgumentOutOfRangeException in monodoc when clicking results from Search
+
+Description of Problem:
+
+Exception from monodoc 1.2.1 that didn't exist in 1.2.0:
+
+argo:devel> monodoc
+Bookmark Manager init
+Trying: T:System.Text.StringBuilder
+#########
+Error loading url T:System.Text.StringBuilder - excpetion below:
+#########
+ICSharpCode.SharpZipLib.Zip.ZipException: Cannot find central directory
+  at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries () [0x00000]
+  at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor (System.String name) [0x00000]
++----------------------------------------------+
+| Here we should locate the provider for the   |
+| link.  Maybe using this document as a base?  |
+| Maybe having a locator interface?   The short|
+| urls are not very useful to locate types     |
++----------------------------------------------+
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Index is less than
+0 or more than or equal to the list count.
+Parameter name: index
+0
+  at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
+  at Monodoc.Browser.DoHighlightText (System.String text) [0x00000]
+  at Monodoc.Browser.Render (System.String text, Monodoc.Node matched_node,
+System.String url) [0x00000]
+  at Monodoc.Browser.LoadUrl (System.String url) [0x00000]
+  at Monodoc.Browser.ShowSearchResult (System.Object sender,
+System.EventArgs a) [0x00000]
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000]
+  at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
+  at Gtk.Application.Run () [0x00000]
+  at Monodoc.Driver.Main (System.String[] args) [0x00000]
+
+
+Steps to reproduce the problem:
+1. run monodoc
+2. click 'Search' tab
+3. enter "StringBuilder", hit enter
+4. Click on any result from search and monodoc crashes
+
+
+How often does this happen? 
+
+Every time.
+
+
+Additional Information:
+
+Updated from mono-1.2 to 1.2.1 using rcd from mono's main site. Running
+Suse 10.0.  Previous version (1.2.0) also came from rcd..


More information about the mono-bugs mailing list