Jump to content

cbox


can you help


fastmouth808

Recommended Posts

Posted

what does this mean?

.

 

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: count
at System.IO.BinaryReader.ReadChars(Int32 count)
at WindowsFormsApplication1.WillowSaveGame.GetDLCWeap ons(BinaryReader DJsIO)
at WindowsFormsApplication1.WillowSaveGame.ReadWSG(By te[] FileArray, EndianType Endian, ByteOrder EndianFormat)
at WindowsFormsApplication1.WillowSaveGame.OpenWSG(St ring InputFile)
at WindowsFormsApplication1.WillowTree.Open_Click(Obj ect sender, EventArgs e)
at DevComponents.DotNetBar.BaseItem.RaiseClick(eEvent Source source)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(M ouseEventArgs objArg)
at DevComponents.DotNetBar.PopupItem.InternalMouseUp( MouseEventArgs objArg)
at DevComponents.DotNetBar.ButtonItem.InternalMouseUp (MouseEventArgs objArg)
at DevComponents.DotNetBar.MenuPanel.onmouseup(MouseE ventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevComponents.DotNetBar.MenuPanel.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.W ndProc(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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
WillowTree#
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/de%20Laura/Desktop/WillowTree%23.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DevComponents.DotNetBar2
Assembly Version: 8.1.0.7
Win32 Version: 8.1.0.7
CodeBase: file:///C:/Users/de%20Laura/Desktop/DevComponents.DotNetBar2.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
X360
Assembly Version: 1.0.0.9
Win32 Version: 1.0.0.9
CodeBase: file:///C:/Users/de%20Laura/Desktop/X360.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. 

Posted

You usually only need the first few lines to determine the error.

 

System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: count
at System.IO.BinaryReader.ReadChars(Int32 count)

 

From this we can see that either a negative number is in the count field, or that the number is out of the range and its trying to read something that isn't there.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...