Opened 7 years ago

Closed 7 years ago

#425 closed defect (fixed)

FileLoadFailure when starting WarFoundry

Reported by: Henri Owned by: IBBoard <dev@…>
Priority: major Milestone:
Component: WarFoundry-API Version: Trunk
Keywords: Cc:
Blocked By: Blocking:

Description

Getting the following error with nightly #51 on Windows.
Running the exe and it gives the following error.

"Method not found: System.IO.FileInfo IBBoard.WArFoundry.API.FileLoadFailure.get_FailedFile()"

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

************** Exception Text **************
System.MissingMethodException: Method not found: 'System.IO.FileInfo IBBoard.WarFoundry.API.FileLoadFailure.get_FailedFile()'.
   at IBBoard.WarFoundry.GUI.WinForms.FrmMain.FileLoadingFinished(List`1 failures)
   at IBBoard.WarFoundry.API.AbstractWarFoundryLoader.LoadFiles()
   at IBBoard.WarFoundry.API.DefaultWarFoundryLoader.GetGameSystem(String systemID)
   at IBBoard.WarFoundry.GUI.WinForms.FrmMain.FrmMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   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.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.4223 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
WarFoundry
    Assembly Version: 0.1.0.28481
    Win32 Version: 0.1.0.28481
    CodeBase: file:///C:/Users/Henri/WarFoundry-WinForms-nightly/WarFoundry.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4228 (VistaSP2GDR.050727-4200)
    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.4223 (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.4230 (VistaSP2GDR.050727-4200)
    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/WarFoundry-WinForms-nightly/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.4584.28042
    Win32 Version: 1.0.4584.28042
    CodeBase: file:///C:/Users/Henri/WarFoundry-WinForms-nightly/IBBoard.DLL
----------------------------------------
IBBoard.WarFoundry.API
    Assembly Version: 0.1.0.28709
    Win32 Version: 0.1.0.28709
    CodeBase: file:///C:/Users/Henri/WarFoundry-WinForms-nightly/IBBoard.WarFoundry.API.DLL
----------------------------------------
IBBoardWF
    Assembly Version: 1.0.0.28307
    Win32 Version: 1.0.0.28307
    CodeBase: file:///C:/Users/Henri/WarFoundry-WinForms-nightly/IBBoardWF.DLL
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.86.0.518
    Win32 Version: 0.86.0.518
    CodeBase: file:///C:/Users/Henri/WarFoundry-WinForms-nightly/ICSharpCode.SharpZipLib.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.

Change History (3)

comment:1 Changed 7 years ago by ibboard

Status: newconfirmed

Same issue as #422, but for other UI. The underlying cause appears to be in the API or in the build servers. Doesn't occur with local builds.

comment:2 Changed 7 years ago by IBBoard <dev@…>

In c50dc3c4136e0c64a3b4dbc38b1442dacc4a0164/IBBoard.WarFoundry.GUI.WinForms:

Re #425: FileLoadFailure when starting WarFoundry

  • Try getting more debug information out of the class

comment:3 Changed 7 years ago by IBBoard <dev@…>

Owner: set to IBBoard <dev@…>
Resolution: fixed
Status: confirmedclosed

In 3aacaa74587f071a89491e5bece715302b21cd61/IBBoard.WarFoundry.GUI.WinForms:

Fixes #425: FileLoadFailure when starting WarFoundry

  • Change commit back so we only have the logging we need - issue appeared to be with Build system, change gave it a kick
Note: See TracTickets for help on using tickets.