Odd crash at 0648 in activity
#1
Posted 03 October 2018 - 03:59 PM
Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Orts.Simulation.RollingStocks.MSTSWagon.ConfirmSteamLocomotiveTender() in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\RollingStocks\MSTSWagon.cs:line 2153
at Orts.Simulation.RollingStocks.MSTSWagon.Update(Single elapsedClockSeconds) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\RollingStocks\MSTSWagon.cs:line 1207
at Orts.Simulation.Physics.Train.physicsUpdate(Single elapsedClockSeconds) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 1718
at Orts.Simulation.Physics.Train.Update(Single elapsedClockSeconds) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 1598
at Orts.Simulation.AIs.AITrain.AIUpdate(Single elapsedClockSeconds, Double clockTime, Boolean preUpdate) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\AIs\AITrain.cs:line 660
at Orts.Simulation.AIs.AI.AIUpdate(Single elapsedClockSeconds, Boolean preUpdate) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\AIs\AI.cs:line 663
at Orts.Simulation.AIs.AI.ActivityUpdate(Single elapsedClockSeconds) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\AIs\AI.cs:line 629
at Orts.Simulation.Simulator.Update(Single elapsedClockSeconds) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\Orts.Simulation\Simulation\Simulator.cs:line 746
at Orts.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Viewer.cs:line 703
at Orts.Viewer3D.Processes.GameStateViewer3D.Update(RenderFrame frame, Double totalRealSeconds) in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Processes\GameStateViewer3D.cs:line 121
at Orts.Viewer3D.Processes.UpdaterProcess.Update() in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 129
at Orts.Viewer3D.Processes.UpdaterProcess.DoUpdate() in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 108
at Orts.Viewer3D.Processes.UpdaterProcess.UpdaterThread() in D:\ADRIANA\Carlo\OR_Work\MonoGame_new\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 74
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
#2
Posted 03 October 2018 - 08:32 PM
Can you also please confirm that the issue is happening in explore mode with the consist in question. Please use the latest base OR version rather then MonoGame.
Can you describe the consist that is being loaded, and provide a copy of the ENG file, and WAG file for the tender?
#3
Posted 04 October 2018 - 05:55 AM
steamer_ctn, on 03 October 2018 - 08:32 PM, said:
Can you also please confirm that the issue is happening in explore mode with the consist in question. Please use the latest base OR version rather then MonoGame.
Can you describe the consist that is being loaded, and provide a copy of the ENG file, and WAG file for the tender?
Well, that's the crazy thing. This is an all diesel activity. I don't use steam engines.
#4
Posted 04 October 2018 - 08:37 AM
Attached File(s)
-
BLW_E7A_CO4520.eng (52.37K)
Number of downloads: 242 -
BLW_E8B_AMTK472.eng (21.68K)
Number of downloads: 246 -
BLW_E8A_CO4028.eng (50.97K)
Number of downloads: 245 -
E8A_CR_4014.eng (37.27K)
Number of downloads: 249
#5
Posted 04 October 2018 - 09:06 AM
#6
Posted 04 October 2018 - 09:30 AM
There is an error in the E8A_CR_4014 .eng file :
The 'Inside' parameter (line 77) has no close bracket - add it into line 83.
Cheers,
Ged
#7
Posted 04 October 2018 - 01:27 PM
Interesting as this is a diesel, and shouldn't even be tested for a tender.
I am wondering whether the missing bracket is causing some issues.
Are you interested in trying to replace it and see if this solves the problem.
Thanks
#8
Posted 04 October 2018 - 03:00 PM
steamer_ctn, on 04 October 2018 - 01:27 PM, said:
Interesting as this is a diesel, and shouldn't even be tested for a tender.
I am wondering whether the missing bracket is causing some issues.
Are you interested in trying to replace it and see if this solves the problem.
Thanks
Yes, I'll test it with a bracket and see what happens.
And thank you slipperman for pointing out the error.
#9
Posted 05 October 2018 - 01:23 AM
steamer_ctn, on 04 October 2018 - 01:27 PM, said:
Interesting as this is a diesel, and shouldn't even be tested for a tender.
I am wondering whether the missing bracket is causing some issues.
Are you interested in trying to replace it and see if this solves the problem.
Thanks
A few weeks ago I had exactly the same error when trying to run any activity that used a specific UK DMU. The error was not present when using OR version 1.1 but was present from at least version 1.2 onwards. There were no missing brackets in the eng file. Eventually I gave up on it and reinstalled the complete route and stock pack at which point the error was no more. Obviously I had introduced some kind of error when modifying eng files for OR, which I now have to do all over again.
#10
Posted 11 October 2018 - 07:59 PM