1

Closed

Items.dat crashes in FruaItemFile.cs

description

If you have a file called items.dat, but not item.dat also present, the FruaItemFile.cs code crashes.
 

Detailed technical information follows:

Date and Time: 9/11/2010 3:00:57 p.m.
Machine Name: NZC-SPILGRIM
IP Address: 10.1.57.54
Current User: AP\SPILGRIM
 
Application Domain: gbexplorer.vshost.exe
Assembly Codebase: file:///C:/dev/goldbox3/Explorer/bin/Debug/gbexplorer.EXE
Assembly Full Name: gbexplorer, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
Assembly Version: 0.4.0.0
Assembly Build Date: 9/11/2010 2:21:09 p.m.
 
Exception Source: mscorlib
Exception Type: System.IO.FileNotFoundException
Exception Message: Could not find file 'C:\games\coab\ITEM.DAT'.
Exception Target Site: WinIOError
 
---- Stack Trace ----
System.IO.__Error.WinIOError(errorCode As Int32, maybeFullPath As String)
   gbexplorer.EXE: N 00305
System.IO.FileStream.Init(path As String, mode As FileMode, access As FileAccess, rights As Int32, useRights As Boolean, share As FileShare, bufferSize As Int32, options As FileOptions, secAttrs As SECURITY_ATTRIBUTES, msgPath As String, bFromProxy As Boolean)
   gbexplorer.EXE: N 01162
System.IO.FileStream..ctor(path As String, mode As FileMode, access As FileAccess, share As FileShare)
   gbexplorer.EXE: N 00066
System.IO.File.Open(path As String, mode As FileMode, access As FileAccess)
   gbexplorer.EXE: N 00034
DaxFileLibrary.Frua.FruaItemFile.LoadItems(fullPath As String)
   FruaItemFile.cs: line 0027, col 20, IL 0048
DaxFileLibrary.Frua.FruaItemFile..ctor(fullPath As String)
   FruaItemFile.cs: line 0017, col 13, IL 0024
DaxFileLibrary.Factory.GoldBoxFileFactory.CreateUsing(parameters As GoldBoxFileParameters)
   GoldBoxFileFactory.cs: line 0016, col 17, IL 0060
GoldBoxExplorer.MainViewPresenter.ProcessFile()
   MainViewPresenter.cs: line 0104, col 17, IL 0080
Closed Feb 21, 2011 at 2:33 PM by bsimser

comments

SimeonPilgrim wrote Nov 9, 2010 at 9:20 PM

Fixed in revision 6063 - Alter the Spec function to only be true if both files are present.

wrote Feb 21, 2011 at 12:23 PM

wrote Feb 21, 2011 at 2:33 PM

wrote Feb 13, 2013 at 10:27 PM

wrote May 16, 2013 at 5:52 AM