Problem - Index out of range

Hi,
I've got a problem with my BTB project. Last night I saved my progress after some work, as usual. Today, when I was trying to load the project, I've got an error "index out of range". I didn't change anything in XPacks, and also I don't have any backup...
Here's the full message - it's in Polish language, but I saw similar thread with Spanish error message, so...
Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time)
zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.

************** Tekst wyjątku **************
System.ArgumentOutOfRangeException: Indeks jest spoza zakresu. Musi mieć wartość nieujemną i mniejszą niż rozmiar kolekcji.
Nazwa parametru: index
w System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
w System.ThrowHelper.ThrowArgumentOutOfRangeException()
w System.Collections.Generic.List`1.get_Item(Int32 index)
w BobsBits.SObjectPiece.LoadFromBinary(BinReader br)
w BobsBits.SObjectPieces.LoadFromBinary(BinReader br)
w BobsBits.SObject.LoadFromBinary(BinReader br)
w BobsBits.SObjectInstance.LoadFromBinary(BinReader br)
w BobsBits.SObjectInstances.LoadFromBinary(BinReader br)
w BobsBits.Venue.LoadFromBinary(String ProjectFolder, String Filename, Boolean ForAnUndo, String& ErrorMessage)
w BobsTrackBuilder.frmMain.(String , String , Boolean )
w BobsTrackBuilder.frmMain.(Object , EventArgs )
w System.Windows.Forms.MenuItem.OnClick(EventArgs e)
w System.Windows.Forms.MenuItem.MenuItemData.Execute()
w System.Windows.Forms.Command.Invoke()
w System.Windows.Forms.Command.DispatchID(Int32 id)
w System.Windows.Forms.Control.WmCommand(Message& m)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ScrollableControl.WndProc(Message& m)
w System.Windows.Forms.ContainerControl.WndProc(Message& m)
w System.Windows.Forms.Form.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9151 (WinRelRS6.050727-9100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BobsTrackBuilder
Wersja zestawu: 0.8.0.0
Wersja Win32: 0.8.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/BobsTrackBuilder.exe
----------------------------------------
BobsBits
Wersja zestawu: 1.1.1.5
Wersja Win32: 1.1.1.5
CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/BobsBits.DLL
----------------------------------------
Microsoft.DirectX
Wersja zestawu: 1.0.2902.0
Wersja Win32: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Windows.Forms
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9151 (WinRelRS6.050727-9100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Wersja zestawu: 1.0.2902.0
Wersja Win32: 9.05.132.0000
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
Wersja zestawu: 1.0.2911.0
Wersja Win32: 9.12.589.0000
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
----------------------------------------
Microsoft.VisualC
Wersja zestawu: 8.0.0.0
Wersja Win32: 8.00.50727.9672
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
ICSharpCode.SharpZipLib
Wersja zestawu: 0.85.5.452
Wersja Win32: 0.85.5.452
CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Windows.Forms.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Debugowanie w trybie JIT **************
Aby włączyć debugowanie w trybie JIT (just-in-time), plik .config tej
aplikacji lub komputera (machine.config) musi mieć
wartość jitDebugging ustawioną w sekcji system.windows.forms.
Aplikacja musi być również skompilowana z włączonym
debugowaniem.

Na przykład:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Gdy debugowanie JIT jest włączone, wszystkie nieobsługiwane wyjątki
są wysyłane do debugera JIT zarejestrowanego na komputerze
i nie są obsługiwane w tym oknie dialogowym.
 
All we can see from that error is that something went wrong with a string object.
(BobsBits.SObject...)

BTB makes backups of your venue file. You will need to open the temp folder (this location can be seen by going to the View menu, then Options > Temp Files)
The files in that location will have randomized filenames (8 characters with a 3 character extension).
Copy the most recently modified file and rename it to venue.bin and put it in your project folder (but keep hold of the previous venue.bin in case this doesn't work and someone else suggests something).
 
Important safety tip: ALWAYS HAVE A BACK UP OF YOUR TRACK! AND SAVE REGULARLY!

I usually have four saves of a track at any one time, and I just save over the earliest one at least every time I work on the track.
 
Last edited:

Latest News

How long have you been simracing

  • < 1 year

    Votes: 344 15.6%
  • < 2 years

    Votes: 232 10.5%
  • < 3 years

    Votes: 231 10.5%
  • < 4 years

    Votes: 175 8.0%
  • < 5 years

    Votes: 293 13.3%
  • < 10 years

    Votes: 256 11.6%
  • < 15 years

    Votes: 163 7.4%
  • < 20 years

    Votes: 124 5.6%
  • < 25 years

    Votes: 99 4.5%
  • Ok, I am a dinosaur

    Votes: 284 12.9%
Back
Top