Opened 9 years ago
Closed 9 years ago
#319 closed defect (fixed)
WarFoundry Forge - No Factory set failure
Reported by: | Henri | Owned by: | Tsudico |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | WarFoundry Forge | Version: | Unknown or N/A |
Keywords: | factory | Cc: | |
Blocked By: | Blocking: |
Description
Upon trying to create a new system, a dialog pops up with:
No factory set for partially loaded object with ID
Change History (7)
comment:1 Changed 9 years ago by
Component: | General/Unknown → WarFoundry Forge |
---|---|
Keywords: | factory added |
Status: | new → confirmed |
comment:2 Changed 9 years ago by
The following is what I get from the debugger
"No factory set for partially loaded object with ID [random number]"
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: No factory set for partially loaded object with ID 1292372365.569 at IBBoard.WarFoundry.API.Objects.WarFoundryStagedLoadingObject.EnsureFullyLoaded() in C:\Users\Henri\Downloads\tortoise\warfoundry\IBBoard.WarFoundry.API\api\Objects\WarFoundryStagedLoadingObject.cs:line 44 at IBBoard.WarFoundry.API.Objects.GameSystem.get_Categories() in C:\Users\Henri\Downloads\tortoise\warfoundry\IBBoard.WarFoundry.API\api\Objects\GameSystem.cs:line 89 at IBBoard.WarFoundry.Forge.WinForms.FrmSystem..ctor(GameSystem loadSystem) in C:\Users\Henri\Downloads\tortoise\WarfoundryForge\FrmSystem.cs:line 41 at IBBoard.WarFoundry.Forge.WinForms.FrmMain.miNewSystem_Click(Object sender, EventArgs e) in C:\Users\Henri\Downloads\tortoise\WarfoundryForge\FrmMain.cs:line 304 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.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.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(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.4206 (VistaSP2GDR.050727-4200) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- WarFoundryForge Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Henri/Downloads/tortoise/WarfoundryForge/bin/Release/WarFoundryForge.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) 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.4205 (VistaSP2GDR.050727-4200) 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.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- log4net Assembly Version: 1.2.10.0 Win32 Version: 1.2.10.0 CodeBase: file:///C:/Users/Henri/Downloads/tortoise/WarfoundryForge/bin/Release/log4net.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) 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.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- IBBoard Assembly Version: 1.0.4001.552 Win32 Version: 1.0.4001.552 CodeBase: file:///C:/Users/Henri/Downloads/tortoise/WarfoundryForge/bin/Release/IBBoard.DLL ---------------------------------------- IBBoard.WarFoundry.API Assembly Version: 0.1.0.552 Win32 Version: 0.1.0.552 CodeBase: file:///C:/Users/Henri/Downloads/tortoise/WarfoundryForge/bin/Release/IBBoard.WarFoundry.API.DLL ---------------------------------------- ICSharpCode.SharpZipLib Assembly Version: 0.85.5.452 Win32 Version: 0.85.5.452 CodeBase: file:///C:/Users/Henri/Downloads/tortoise/WarfoundryForge/bin/Release/ICSharpCode.SharpZipLib.DLL ---------------------------------------- IBBoardWF Assembly Version: 1.0.0.552 Win32 Version: 1.0.0.552 CodeBase: file:///C:/Users/Henri/Downloads/tortoise/WarfoundryForge/bin/Release/IBBoardWF.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.
comment:4 Changed 9 years ago by
Added b42ba80ec613 to fix the issue.
Now need to fix up the Mercurial->Trac integration...
comment:7 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Actually fixed by r732, but previous Mercurial ticket didn't close ticket as it should have.
Note: See
TracTickets for help on using
tickets.
Moved to "WarFoundry Forge" component (which I just realised we needed).
This is expected behaviour, based on Tsudico's current code, but needs to be fixed with a MockFactory or a restructuring of classes, as discussed here