1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

Having error/crash problems with BTB...

Discussion in 'Bob's Track Builder' started by Michael Bryant, May 13, 2009.

  1. 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.
    =======================================================

    -----------------------------------------------------
    BOBSTRACKBUILDER - MY PROJECT


    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
    -----------------------------------------------------
    DETAILS:


    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.
     
  2. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    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.
     
  3. Thanks Brendon, I'll give that a try.
     
  4. 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.