r1265 Error: System.NullReferenceException

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gpz
    Member
    • Jul 2012
    • 49
    • Budapest, Hungary

    #1

    r1265 Error: System.NullReferenceException

    I get an error message followed by a crash on hungarian route named Balaton-Dél. (Can be downloaded from here. I get the error message for most of the default paths, e.g. for starting at Nagykanizsa, and heading towards Balatonszentgyörgy, if you might want to try it.) The error message is as follows:
    Code:
    Error: System.NullReferenceException: Object reference not set to an instance of an object.
       in ORTS.Traveller.SetLocation()
       in ORTS.Traveller.DistanceTo(Traveller traveller, TrackNode trackNode, Int32 tileX, Int32 tileZ, Single x, Single y, Single z, Single maxDistance)
       in ORTS.AIPath.AlignInitSwitches(Traveller rear, Int32 id, Single distance)
       in ORTS.Simulator.InitializePlayerTrain()
       in ORTS.Simulator.InitializeTrains()
       in ORTS.Simulator.Start()
       in ORTS.Program.<>c__DisplayClass8.<Start>b__7()
       in ORTS.Program.Start(UserSettings settings, String[] args)
       in ORTS.Program.Main(String[] args)
    The bug is most probably in the route itself, some signal linking may be corrupted, although MSTS plays it nice this way too. There might be a way to handle this error in OR too, for avoiding the crash.
    Last edited by gpz; 10-03-2012, 15:12.
    Peter Gulyas

    sigpic
Working...