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.

BTB still referencing corrupt .NET/DX files

Discussion in 'Bob's Track Builder' started by doser, Nov 10, 2009.

  1. Any time you try to change the timing gates, pit entry, or pit exit, you get an unhandled exception.
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at BobsBits.DrivelineTiming.SetPosition(Driveline Driveline)
    at BobsTrackBuilder.frmStartFinish.SetTimingGate(DrivelineTiming TimingGate, cntlPacelineTimingGateSettings Control)
    at BobsTrackBuilder.frmStartFinish.cntlGate_Start_Changed()
    at BobsTrackBuilder.cntlPacelineTimingGateSettings.cboPlacementType_SelectedIndexChanged(Object sender, EventArgs e)
    at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
    at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
    at System.Windows.Forms.ComboBox.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 **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MC
    Assembly Version: 3.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    †ˆŒ˜™•‰Ž†•Œ““™š
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    License
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    BobsTrackBuilder
    Assembly Version: 0.8.0.3
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    BobsBits
    Assembly Version: 1.1.1.5
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    Microsoft.DirectX
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Program%20Files/BobsTrackBuilder/Microsoft.DirectX.DLL
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.2902.0
    Win32 Version: 9.05.132.0000
    CodeBase: file:///C:/Program%20Files/BobsTrackBuilder/Microsoft.DirectX.Direct3D.DLL
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
    Assembly Version: 1.0.2911.0
    Win32 Version: 9.12.589.0000
    CodeBase: file:///C:/Program%20Files/BobsTrackBuilder/Microsoft.DirectX.Direct3DX.DLL
    ----------------------------------------
    Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.3053
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    ----------------------------------------
    ICSharpCode.SharpZipLib
    Assembly Version: 0.85.5.452
    Win32 Version: 0.85.5.452
    CodeBase: file:///C:/Program%20Files/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

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

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
  2. Because of the sort of person I am, I will continue to totally waste my time trying to get it to work.

    Because no matter how frustrating and impossible it is to get it to work, I want to make a track.
     
  3. Tried a fresh install using .NET 3.5 too, still doesn't work.

    Gonna try installing Windows XP SP0 RTM, and will try it over and over as I update until I find the problem.

    But it just does not work in SP3.
     
  4. Nope.............

    Just reinstalled Windows for the 6th time in as many days.

    Doesn't work in SP2 either.

    Huge bug, request more information!
     
  5. Progress Update

    1st Attempt Tonight

    Install Windows XP RTM (SP0)
    Install Windows XP SP2
    Reboot
    Install Windows XP SP3
    Reboot
    Install all system drivers
    Reboot
    Install BTB (Automatically downloads .NET 2)
    Reboot

    Run BTB, Import KML, Closed Circuit
    Goto Timing Gates, Attempt to move

    CRASH

    -----------------------

    2nd Attempt Tonight

    Install Windows XP RTM (SP0)
    Install Windows XP SP2
    Install all system drivers
    Reboot
    Install BTB (Automatically downloads .NET 2)

    Run BTB, Import KML, Closed Circuit
    Goto Timing Gates, Attempt to move

    CRASH

    -----------------------

    3rd Attempt Tonight

    Install Windows XP SP3 Integrated ISO
    Install all system drivers
    Reboot
    Install .NET Framework 3.5
    Reboot
    Install BTB

    Run BTB, Import KML, Closed Circuit
    Goto Timing Gates, Attempt to move

    CRASH

    --------------------------

    I have proven without a shadow of a doubt that 0.8.0.3 does not work.

    At all.

    How anyone gets it to work I do not know.

    ------------------------

    I know I am not a paying customer, yet, but I want to be.

    Therefore I would very much like a response to this problem, as I am sure 100s of other people would.

    This is a massive problem, and I have done tests under controlled conditions proving there is a huge bug.

    I look forward to your response.
     
  6. Have you tried to make simple track without any KML import?
    EDIT: Sorry not export but import :)
     
  7. I'm using 0.8.0.3 on XP and I habitually import KML files with no problems, but...

    Before I start messing with timing gates etc, I make sure that the track is smooth and drivable. Almost all of the KML files that I have used are imported with seriously messed up corners etc. Could this be an issue?

    Also, I always get the height data sorted out on the KML before I import it. Again, its something to check out.

    Next, the closed circuit: Iv done this a few times and I find that the join between the two ends is often a bit of a mess. so again, I sort this out long before I think about timing gates.

    Idea:
    Open BTB and import your KML track data. Select the whole track and right click to choose to smooth the control points in all directions (cant remember what the name is off hand, sorry).

    Then add some basic terrain to the track and 'Drive' around it in BTB to make sure that the track is really okay for driving.

    Then try to edit the timing gates and see what happens. If you get no luck, post again and we can try to work through some more.

    MVK
     
  8. i have exaktly the same problem !!!!!!

    damn......i tried ALL things.
    some DX updates, delete all .net installations, install .net 1.0, 1.1, 2.0, ....

    nothing helps....

    Crazy - really crazy, because the same installation on an another computer works fine.
     
  9. Goto Timing Gates/Driveline/Centerline

    and do Amend Track.

    /

    Someone told me how to fix it ages ago =]
     
  10. ....no it doesnt work , because the start is impossible.

    I tried it now after all updates, 120 re-installs, many updates of directx, change the graphiccard, update all drivers (sound, graphiccard,...)

    nothing works....