Upcoming Events

Weekly BMW races on Simracing.GP Other regular AC events on Simracing.GP Weekly GT3 Sprint Races on Simracing.GP Rookie friendly WTCR sereis Weekly rFactor 2 events

Bobs Track Builder Project doesn't load

Messages
3
Points
0
Hi guys!
I was doing some jobs on my street circuit as usually, but just after export it to test some things and close BTB, it started to "don't load" the saved project

(Some parts of the error text are in Spanish, sorry about that :()

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
en System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
en System.ThrowHelper.ThrowArgumentOutOfRangeException()
en System.Collections.Generic.List`1.get_Item(Int32 index)
en BobsBits.SObjectPiece.LoadFromBinary(BinReader br)
en BobsBits.SObjectPieces.LoadFromBinary(BinReader br)
en BobsBits.SObject.LoadFromBinary(BinReader br)
en BobsBits.SObjectInstance.LoadFromBinary(BinReader br)
en BobsBits.SObjectInstances.LoadFromBinary(BinReader br)
en BobsBits.Venue.LoadFromBinary(String ProjectFolder, String Filename, Boolean ForAnUndo, String& ErrorMessage)
en BobsTrackBuilder.frmMain.(String , String , Boolean )
en BobsTrackBuilder.frmMain.(Object , EventArgs )
en System.Windows.Forms.MenuItem.OnClick(EventArgs e)
en System.Windows.Forms.MenuItem.MenuItemData.Execute()
en System.Windows.Forms.Command.Invoke()
en System.Windows.Forms.Command.DispatchID(Int32 id)
en System.Windows.Forms.Control.WmCommand(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
en System.Windows.Forms.ContainerControl.WndProc(Message& m)
en System.Windows.Forms.Form.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BobsTrackBuilder
Versión del ensamblado: 0.8.0.0
Versión Win32: 0.8.0.0
Código base: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/BobsTrackBuilder.exe
----------------------------------------
BobsBits
Versión del ensamblado: 1.1.1.5
Versión Win32: 1.1.1.5
Código base: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/BobsBits.DLL
----------------------------------------
Microsoft.DirectX
Versión del ensamblado: 1.0.2902.0
Versión Win32: 5.04.00.2904
Código base: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Versión del ensamblado: 1.0.2902.0
Versión Win32: 9.05.132.0000
Código base: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
Versión del ensamblado: 1.0.2911.0
Versión Win32: 9.12.589.0000
Código base: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
----------------------------------------
Microsoft.VisualC
Versión del ensamblado: 8.0.0.0
Versión Win32: 8.00.50727.4927
Código base: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
ICSharpCode.SharpZipLib
Versión del ensamblado: 0.85.5.452
Versión Win32: 0.85.5.452
Código base: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

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

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.


I need your help ;)
 
Messages
1,053
Points
2,113
"BobsBits.SObjectPiece"

Have you placed an SObject on your track and then modified/removed the XPack from which it originates? If so, try to undo whatever you did.

A safer way to recover the project is to open your BobsTrackBuilder\Temporary Files folder. The program occasionally stores backups of your track, with randomised filenames. Find the most recently modified one, rename it to venue.bin and copy it to your project's folder. You may be able to get the track back to an earlier state.

BTW - when posting error messages, only the first section is worth posting (from Ensamblados cargados can be omitted).
 
Messages
3
Points
0
"BobsBits.SObjectPiece"

Have you placed an SObject on your track and then modified/removed the XPack from which it originates? If so, try to undo whatever you did

Yeah, but it was after the error appears

A safer way to recover the project is to open your BobsTrackBuilder\Temporary Files folder. The program occasionally stores backups of your track, with randomised filenames. Find the most recently modified one, rename it to venue.bin and copy it to your project's folder. You may be able to get the track back to an earlier state

I got something called "jfpxf1o2.xzb" (Anything more). It's a backup?
 
Top