openrails / test-launchpad-bugs

TEST repository for Launchpad bug migration exploration
0 stars 0 forks source link

[BUG 1574793] System.NullReferenceException at Orts.Simulation.Simulator.InitializeAPPlayerTrain #1717

Open twpol opened 8 years ago

twpol commented 8 years ago

Imported from https://bugs.launchpad.net/bugs/1574793

Property Value
Reported by hockenberry (hockenberry32)
Date reported Mon, 25 Apr 2016 18:11:01 GMT
Tags 1.1.1, activty, crash

When i launch activity ogo-mp5-007 in marias pass 5 i get a crash:

full log attached

This is a log file for Open Rails. Please include this file in bug reports.

Error: System.NullReferenceException: Object reference not set to an instance of an object. at Orts.Simulation.Simulator.InitializeAPPlayerTrain() in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 1067 at Orts.Simulation.Simulator.InitializeAPTrains(CancellationToken cancellation) in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 458 at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 351 at Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 275 at Orts.Viewer3D.Processes.GameStateRunActivity.<>cDisplayClass8.b3() in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 149 at Orts.Viewer3D.Processes.GameStateRunActivity.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 190 at Orts.Viewer3D.Processes.LoaderProcess.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 158 at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 138 at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 109 at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

twpol commented 8 years ago

Imported from https://bugs.launchpad.net/or/+bug/1574793/comments/1

Property Value
Posted by hockenberry (hockenberry32)
Date posted Mon, 25 Apr 2016 18:11:01 GMT
twpol commented 8 years ago

Imported from https://bugs.launchpad.net/or/+bug/1574793/comments/2

Property Value
Posted by hockenberry (hockenberry32)
Date posted Tue, 26 Apr 2016 08:47:27 GMT

Note: the path "e:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs" is not from my machine, it looks like an absolute path from the developer machine