Bugzilla – Bug 325140
[VMWare Image] ArgumentOutOfRangeException thrown when trying to run NGallery
Last modified: 2007-09-15 21:24:57 UTC
---- Reported by twiest@novell.com 2007-08-17 22:04:46 MST ---- Description of Problem: When you try to run the NGallery ASP.Net demo in the mono VMWare image, an ArgumentOutOfRangeException is thrown (see below). Steps to reproduce the problem: 1. Download the mono VMWare image from here: http://www.mono-project.com/Downloads 2. Remove the mod_mono rpm 3. Upgrade to mono 1.2.5p4 from here: http://mono.ximian.com/monobuild/preview/download-preview/suse-102-i586/ 4. Manually install the mod_mono rpm from 1.2.5p4 5. Move the mod_mono.conf into place mv /etc/apache2/mod_mono.conf /etc/apache2/conf.d 6. Reboot the VM 7. Open localhost in a web browser on the VM 8. Click on "NGallery" 9. Click on "The Mono Album" 10. Notice the exception below is printed. Actual Results: System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count. Parameter name: index 1 at System.Collections.ArrayList.get_Item (Int32 index) [0x00000] at nGallery.Lib.AlbumRequestHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] at System.Web.HttpServerUtility.Execute (System.String path, System.IO.TextWriter writer, Boolean preserveForm) [0x00000] at System.Web.HttpServerUtility.Transfer (System.String path, Boolean preserveForm) [0x00000] at System.Web.HttpServerUtility.Transfer (System.String path) [0x00000] at nGallery.Lib.AlbumRequestHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] at System.Web.HttpApplication+<>c__CompilerGenerated1.MoveNext () [0x00000] Expected Results: NGallery demo should run. How often does this happen? Every time. ---- Additional Comments From mhabersack@novell.com 2007-08-29 19:54:28 MST ---- NGallery has been dropped from the VMWare image Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>openSUSE 10.2 i386</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".