Author Topic: Editor started crashingo n startup?  (Read 5277 times)

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
Editor started crashingo n startup?
« on: October 18, 2013, 08:48:37 PM »
The editor crashed on me, the usual 'ran out of memory' but this time on boot up it crashes with this:
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Value was either too large or too small for an Int32.
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at TiltedEngine.SValue.ParseXMLNode(XElement node) in C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\SValue.cs:line 199
   at TiltedEngine.SValue.ParseXMLNode(XElement node) in C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\SValue.cs:line 186
   at TiltedEngine.ResourceBank.LoadBehavior(XElement root) in C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\ResourceBank.cs:line 820
   at TiltedEngine.ResourceBank.LoadActor(XElement root, String name) in C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\ResourceBank.cs:line 834
   at TiltedEngine.ResourceBank.LoadXML(String name) in C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\ResourceBank.cs:line 170
   at TiltedEngine.ResourceBank.LoadBaseResources() in C:\Arbete\Programmering\C#\ARPGProj\trunk\Tilted Engine\TiltedEngine\ResourceBank.cs:line 62
   at TiltedEditor.TiltedEditorViewControl.LoadResources(String mod)
   at TiltedEditor.TiltedEditorViewControl.TiltedEditorViewControl_Load(Object sender, EventArgs e)
   at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
   at System.Windows.Forms.UserControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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: 4.0.0.0
    Win32 Version: 4.0.30319.1008 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
HammerEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/HammerEditor.exe
----------------------------------------
TiltedEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/TiltedEditor.DLL
----------------------------------------
Hammerwatch
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/Hammerwatch.EXE
----------------------------------------
TiltedEngine
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/TiltedEngine.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1002 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
SteamworksManaged
    Assembly Version: 1.0.0.0
    Win32 Version: 1.4.123a
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/SteamworksManaged.DLL
----------------------------------------
OpenTK
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/OpenTK.DLL
----------------------------------------
OpenTK.GLControl
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/OpenTK.GLControl.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
NVorbis
    Assembly Version: 0.5.0.0
    Win32 Version: 0.5.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/NVorbis.DLL
----------------------------------------
FarseerPhysicsOTK
    Assembly Version: 3.3.4981.29352
    Win32 Version: 3.3.4981.29352
    CodeBase: file:///C:/Program%20Files%20(x86)/Hammerwatch/editor/FarseerPhysicsOTK.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1015 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.



I have tried moving the entire hammerwatch folder to outside of Steam like a previous remedy :P

NekoBaron

  • Posts: 124
  • Scripting Wizard
    • View Profile
Re: Editor started crashingo n startup?
« Reply #1 on: October 18, 2013, 09:16:39 PM »
Did you mess with any of the resources? Like say try and create or edit an actor leaving it with bad xml code because that what it looks like to me.

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
Re: Editor started crashingo n startup?
« Reply #2 on: October 18, 2013, 10:02:53 PM »
Looks like that was it, thanks!