icopy unhandled exception has occurred

Bug #1091011 reported by Ken Wong
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iCopy
New
Undecided
Unassigned

Bug Description

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Drawing.Printing.PrinterSettings.PaperSizeCollection.get_Item(Int32 index)
   at iCopy.mainFrm.getScanSettings()
   at iCopy.mainFrm.btnCopy_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
iCopy
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///W:/Program%20Files%20(x86)/iCopy/iCopy.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Interop.WIA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/Interop.WIA.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
qtehrnct
    Assembly Version: 1.6.0.211
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/bg-BG/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/zh-TW/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/de-DE/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/fi-FI/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/fr-FR/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/hu-HU/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/it-IT/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/ja-JP/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/nl-NL/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/pl-PL/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/pt-BR/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/ro-RO/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/ru-RU/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/sk-SK/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/tr-TR/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.6.0.211
    Win32 Version: 1.6.0.211
    CodeBase: file:///w:/Program%20Files%20(x86)/iCopy/es-ES/iCopy.resources.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Revision history for this message
ed.granada (estebandou) wrote :

Same error here:

Im using Windows XP HOME EDITION SP2
USB SAMSUNG Scanner
Network XEROX Printer

"index was outside the bounds of the array"

More technical data:

http://pastebin.com/sPuW1GfM

If you need more information, please ask.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.