Unhandled exception in UO Architect 2.6
Hi all... posted this on orbsydia, but with the site conversion, thought I might get a quicker answer here...
Just installed UO Architect, running on RunUO 2.0. I can connect fine, and "build" seems to work fine. But if I hit "editor" or "preview" I get an "Unhandled exception"... I just brought up the one for "Editor" so I could log it:
"The type initializer for "Ultima TileData" threw an exception"
Not sure where it is looking for TileData... I have the client in the default directory, I am working on a client remotely connected (by LAN) to the RunUO server.
Here are the details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for "Ultima.TileData" threw an exception. ---> System.IO.DirectoryNotFoundException: Attempted to access a path that is not on the disk.
at Ultima.Client.GetFilePath(String file)
at Ultima.TileData..cctor()
--- End of inner exception stack trace ---
at Ultima.TileData.get_ItemTable()
at UOArchitect.HouseComponent..ctor(Int32 index, Int32 z)
at UOArchitect.HouseDesign..ctor(DesignData fileHeader)
at UOArchitect.DesignsPanel.OpenSelectedDesignInEdito r()
at UOArchitect.DesignsPanel.btnDesigner_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(MouseEventAr gs 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.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2443
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
UO Architect
Assembly Version: 1.0.2045.26918
Win32 Version: 1.0.2045.26918
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/UO%20Architect.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2443
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
UOArchitectInterface
Assembly Version: 1.0.2045.26917
Win32 Version: 1.0.2045.26917
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/UOArchitectInterface.DLL
----------------------------------------
OrbServerSDK
Assembly Version: 1.0.1675.23963
Win32 Version: 1.0.1675.23963
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/OrbServerSDK.DLL
----------------------------------------
System.Runtime.Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Ultima
Assembly Version: 1.0.2045.26917
Win32 Version: 1.0.2045.26917
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/Ultima.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.
Hi all... posted this on orbsydia, but with the site conversion, thought I might get a quicker answer here...
Just installed UO Architect, running on RunUO 2.0. I can connect fine, and "build" seems to work fine. But if I hit "editor" or "preview" I get an "Unhandled exception"... I just brought up the one for "Editor" so I could log it:
"The type initializer for "Ultima TileData" threw an exception"
Not sure where it is looking for TileData... I have the client in the default directory, I am working on a client remotely connected (by LAN) to the RunUO server.
Here are the details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for "Ultima.TileData" threw an exception. ---> System.IO.DirectoryNotFoundException: Attempted to access a path that is not on the disk.
at Ultima.Client.GetFilePath(String file)
at Ultima.TileData..cctor()
--- End of inner exception stack trace ---
at Ultima.TileData.get_ItemTable()
at UOArchitect.HouseComponent..ctor(Int32 index, Int32 z)
at UOArchitect.HouseDesign..ctor(DesignData fileHeader)
at UOArchitect.DesignsPanel.OpenSelectedDesignInEdito r()
at UOArchitect.DesignsPanel.btnDesigner_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(MouseEventAr gs 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.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2443
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
UO Architect
Assembly Version: 1.0.2045.26918
Win32 Version: 1.0.2045.26918
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/UO%20Architect.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2443
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
UOArchitectInterface
Assembly Version: 1.0.2045.26917
Win32 Version: 1.0.2045.26917
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/UOArchitectInterface.DLL
----------------------------------------
OrbServerSDK
Assembly Version: 1.0.1675.23963
Win32 Version: 1.0.1675.23963
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/OrbServerSDK.DLL
----------------------------------------
System.Runtime.Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Ultima
Assembly Version: 1.0.2045.26917
Win32 Version: 1.0.2045.26917
CodeBase: file:///C:/Documents%20and%20Settings/John/Desktop/work/UO%20Architect%202.6/UOAR%20Client%202.6/Ultima.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.