System.NullReferenceException at ORTS.Train.GetReservedLength (X2167 crash with reverse inverter)

Bug #1306619 reported by Magri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
r.roeterdink

Bug Description

This message appear when I try put reverse my train and then, when I do ok, simulator closed.

Error: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
   in ORTS.Train.GetReservedLength() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Physics\Train.cs:riga 10729
   in ORTS.Train.UpdateTrainPosition() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Physics\Train.cs:riga 3588
   in ORTS.Train.Update(Single elapsedClockSeconds) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Physics\Train.cs:riga 1275
   in ORTS.Simulator.Update(Single elapsedClockSeconds) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Simulator\Simulator.cs:riga 410
   in ORTS.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Viewer3D\Viewer.cs:riga 496
   in ORTS.Processes.GameStateViewer3D.Update(RenderFrame frame, Double totalRealSeconds) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\GameStateViewer3D.cs:riga 116
   in ORTS.Processes.UpdaterProcess.Update() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\UpdaterProcess.cs:riga 123
   in ORTS.Processes.UpdaterProcess.DoUpdate() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\UpdaterProcess.cs:riga 101
   in ORTS.Processes.UpdaterProcess.UpdaterThread() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\UpdaterProcess.cs:riga 67
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart()

Tags: crash
Revision history for this message
r.roeterdink (r-roeterdink) wrote :

Should be resolved in version 2168.

James Ross (twpol)
information type: Private Security → Public
James Ross (twpol)
summary: - [v x2167] Crash with reverse inverter
+ System.NullReferenceException at ORTS.Train.GetReservedLength (X2167
+ crash with reverse inverter)
tags: added: crash
James Ross (twpol)
Changed in or:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → r.roeterdink (r-roeterdink)
status: Triaged → In Progress
Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
milestone: none → 1.0
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.