Having error/crash problems with BTB...

May 10, 2009
Don't know if anyone can help but here goes.

My computer:
Dell with Pentium 4 Dual-Core CPU 3.20GHz
Windows XP, rFactor
3.19GHz 1.50 GB f RAM
ATI 3850 HD Diamond Viper 512mb Video Card
550 watt power supply

This pops up in a window whenever I try to save a project.
Don't know what it means, but it's pissing me off.
I end up losing all my work. Very frustrating.
Can anyone help?

Details of the error are listed below.


Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit the application will close immediately.

Value cannot be null
Parameter name stream.

Continue Quit

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

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: stream
at BobsBits.BobsTexture.Load()
at BobsBits.BobsTextures.FindOrAdd(XPack XPack, String lsPath)
at BobsBits.BobsMaterial.LoadTexturesFromXPack(XPack XPack)
at BobsBits.BObject.AddMaterialsToProject(XPack SourceXPack, BObject BObject)
at BobsBits.BObjectsHandler.AddObject(BObject BObject, Boolean SkipMaterialBlendCollection)
at BobsBits.Venue.AddObjectInstance(BObjectGroup Group, BObject BObject, Boolean OverrideRandomness, RandomLimits RandomLimits)
at BobsTrackBuilder.frmObjects.AddSingleObject(Int32 MouseX, Int32 MouseY, View v, Boolean ForLine)
at BobsTrackBuilder.frmMain.pnl3d_MouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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 **************
..details not needed
End of Error Details

Seems to happen more after adding terran and/or xpack items.

Brendon Pywell

Bob's Track Builder
Feb 26, 2009
The error you have is when you are adding one item .. but the texture used by that item is missing.

Have you updated the XPack for this project? This sort of thing can happen if you are using an XPack in a project, add some objects/materials, then save; change the XPack and the items the venue needs is no longer there.
May 10, 2009
Found a problem...

I think I've found my problem. Whenever I have saved a project, I choose "Save As". When I choose that menu I get a newly created "My Project" folder added to the current "My Projects" folder. So I'm ending up with a new "My Project" folder inside the old "My Projects" folder.

I tried using just the "Save" menu and it no longer makes an extra "My Projects" folder and took care of the loading problem. Didn't matter what I named the "Save As" folder, still got an error trying to open my old "My Projects" folder. Could this be a bug? Once I delete the newly created Project folder, I have no problem opening my working Project Folder.