Error - Can't load route

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • eolesen
    9500 Post Veteran and Administrator



    • Dec 2002
    • 9583
    • NS MP245.4 CNO&TP South District
    • English, SQL
    • General

    #1

    Error - Can't load route

    On one of my routes in progress, I'm getting a fatal error resulting in a modal dialog box when I have the Dispatcher Window option selected..

    Code:
    Version    = X.1330
    Build      = 0.0.4697.10612 Sat 11/10/2012  05:54 AM
    Got one of these for every static consist:

    Code:
    Error: System.NullReferenceException: Object reference not set to an instance of an object.
       at ORTS.SignalObject.NextNode(Int32& node, Int32& direction, Int32& prevnode)
       at ORTS.Signals.NextNode(TrackNode[] trackNodes, Int32& node, Int32& direction, Int32& prevNode)
       at ORTS.Signals.Find_Next_Object(SignalObject startObj, Int32 nodestartindex, Int32 startDirection, Boolean in_direction_of_travel, Traveller tdbtraveller, Boolean min_distance_check, Single maxdistance, TrItem[] Tritems, TrackNode[] trackNodes, SIGFN[] fn_type)
       at ORTS.Signals.getNextObject(Traveller tdbtraveller, ObjectItemType req_type, Boolean forward, Single maxdistance, ObjectItemFindState& return_state)
       at ORTS.Train.InitializeSignals(Boolean existingSpeedLimits)
       at ORTS.Simulator.InitializeStaticConsists()
       at ORTS.Simulator.InitializeTrains()
       at ORTS.Simulator.Start()
       at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
       at ORTS.Program.Start(UserSettings settings, String[] args)
       at ORTS.Program.Main(String[] args)
    This is the final block in the logfile, and it's also the contents of the dispatch viewer:

    Code:
     ENV SIGCFG TTYPE
    
    Error: System.NullReferenceException: Object reference not set to an instance of an object.
       at ORTS.Debugging.DispatchViewer.InitData()
       at ORTS.Debugging.DispatchViewer..ctor(Simulator simulator, Viewer3D viewer)
       at ORTS.Program.<>c__DisplayClass8.<Start>b__7()
       at ORTS.Program.Start(UserSettings settings, String[] args)
       at ORTS.Program.Main(String[] args)
    When I turn off the Option for the dispatch view, the route loads.

    Any thoughts? This is a recent thing -- I was able to run the DV last Friday night, but made some significant updates to the route in the past couple days, so no idea what would be driving this...
    If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!
  • eolesen
    9500 Post Veteran and Administrator



    • Dec 2002
    • 9583
    • NS MP245.4 CNO&TP South District
    • English, SQL
    • General

    #2
    I think I might have a possible suspect issue here --- there's an island of track still in development which is not in the current TDB build, but does exist within the W files for those tiles.

    Are the dispatcher view layout's dimensions being determined by what's in the W files, what is in the TDB, or a combination of both?...
    If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

    Comment

    Working...