
New Unhandled Exceptions
Closed this issue ยท 8 comments
When im dumping all tanks i get this error when all models are dumped or at the last model:
Im using the latest Tank Exporter Version and WoT.
Unhandled Exception Dumping Normal Models
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'System.Windows.Forms.Panel' to type 'System.Windows.Forms.TabControl'.
at Tank_Exporter.frmMain.m_dump_tanks_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
!_Tank Exporter
Assembly Version: 1.0.0.113
Win32 Version: 1.0.0.113
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/!_Tank%20Exporter.exe
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
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.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
SlimDX
Assembly Version: 2.0.13.43
Win32 Version:
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/SlimDX.DLL
Ionic.Zip
Assembly Version: 1.9.1.8
Win32 Version: 1.9.1.8
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Ionic.Zip.DLL
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
FbxSDK
Assembly Version: 1.0.4593.24947
Win32 Version:
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/FbxSDK.DLL
cttools
Assembly Version: 1.0.4723.22902
Win32 Version:
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/cttools.DLL
msvcm90
Assembly Version: 9.0.30729.9625
Win32 Version: 9.00.30729.9625
CodeBase: file:///C:/windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9625_none_508ef7e4bcbbe589/msvcm90.dll
Tao.DevIl
Assembly Version: 1.6.8.3
Win32 Version: 1.6.8.3
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.DevIl.DLL
Tao.OpenGl
Assembly Version: 2.1.0.12
Win32 Version: 2.1.0.12
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.OpenGl.DLL
Tao.Platform.Windows
Assembly Version: 1.0.0.5
Win32 Version: 1.0.0.5
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.Platform.Windows.DLL
Tao.FreeGlut
Assembly Version: 2.4.0.2
Win32 Version: 2.4.0.2
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.FreeGlut.DLL
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
System.Data.DataSetExtensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
FastColoredTextBox
Assembly Version: 2.16.21.0
Win32 Version: 2.16.21.0
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/FastColoredTextBox.DLL
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.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:
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.
When Dumping all Destroyed Models i got this error at the Object 703 II
Unhandled Exception Dumping Destroyed Models
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Tank_Exporter.ModTankLoader._Closure$__10._Lambda$__68(DataRow node_row)
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext()
at System.Linq.Enumerable.ElementAtOrDefault[TSource](IEnumerable`1 source, Int32 index)
at Tank_Exporter.ModTankLoader.get_matrix(Int32 Id, String identifier, String connect_point)
at Tank_Exporter.ModTankLoader.get_translations(Int32 id, Int32 loop_count)
at Tank_Exporter.ModTankLoader.build_primitive_data(Boolean _add)
at Tank_Exporter.frmMain.process_tank(Boolean save_tank)
at Tank_Exporter.frmMain.m_dump_tanks_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
!_Tank Exporter
Assembly Version: 1.0.0.113
Win32 Version: 1.0.0.113
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/!_Tank%20Exporter.exe
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
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.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
SlimDX
Assembly Version: 2.0.13.43
Win32 Version:
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/SlimDX.DLL
Ionic.Zip
Assembly Version: 1.9.1.8
Win32 Version: 1.9.1.8
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Ionic.Zip.DLL
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
FbxSDK
Assembly Version: 1.0.4593.24947
Win32 Version:
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/FbxSDK.DLL
cttools
Assembly Version: 1.0.4723.22902
Win32 Version:
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/cttools.DLL
msvcm90
Assembly Version: 9.0.30729.9625
Win32 Version: 9.00.30729.9625
CodeBase: file:///C:/windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9625_none_508ef7e4bcbbe589/msvcm90.dll
Tao.DevIl
Assembly Version: 1.6.8.3
Win32 Version: 1.6.8.3
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.DevIl.DLL
Tao.OpenGl
Assembly Version: 2.1.0.12
Win32 Version: 2.1.0.12
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.OpenGl.DLL
Tao.Platform.Windows
Assembly Version: 1.0.0.5
Win32 Version: 1.0.0.5
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.Platform.Windows.DLL
Tao.FreeGlut
Assembly Version: 2.4.0.2
Win32 Version: 2.4.0.2
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/Tao.FreeGlut.DLL
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
System.Data.DataSetExtensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
FastColoredTextBox
Assembly Version: 2.16.21.0
Win32 Version: 2.16.21.0
CodeBase: file:///E:/Model%20Extract%20Tools/WoT%20Model%20Exporter/FastColoredTextBox.DLL
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.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:
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.
The first one I think I understand why.
The second one I dont know.. Can you try exporting the FBX stand alone for that Object 703 II and let me know if it throws an exception?
Sorry for not getting back sooner.
I cant even load the crashed 703_2.. It crashes..
I'll look in to when I have more time.
Thanks for all the info ๐
I cant even load the crashed 703_2.. It crashes..
I'll look in to when I have more time.
Thanks for all the info ๐
np, thanks for your awesome work and no worries about the reply time. No rush.
The first one I think I understand why.
The second one I dont know.. Can you try exporting the FBX stand alone for that Object 703 II and let me know if it throws an exception?
Sorry for not getting back sooner.
I did do a single dump after i encounter the error to make sure that was the issue and after that i posted it here. But i'll try it again just to make sure.
OK.. I released version 114.
Try his and see if it works.
It will only export camo when you export undamaged tanks.
Also.. I fixed the loading of the crashed R165_Object 703 2
I didn't fix the G45_tiger yet. I can't find the problem.
OK.. I released version 114.
Try his and see if it works.
It will only export camo when you export undamaged tanks.
Also.. I fixed the loading of the crashed R165_Object 703 2
I didn't fix the G45_tiger yet. I can't find the problem.
Sounds good, ill give it a shot in a hour. will report back afterwards.