System.NullReferenceException at Orts.Simulation.Simulator.InitializeAPPlayerTrain (1.5.1, MIDEAST COAST 1.6.7.4 (30 NOV 2023)Various Consist Anomolies Corrected, WAL Stone Goods)

Bug #2052904 reported by Gregory B Wiederhold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

his is a log file for Open Rails. Please include this file in bug reports.
--------------------------------------------------------------------------------
Date/time = 2/11/2024 6:44:50 PM (2024-02-11 23:44:50Z)
BIOS = F.25 (AMI)
Processor = Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 threads, 4 cores, 2.5 GHz) (L1 Cache 256 KB) (L2 Cache 1024 KB) (L3 Cache 8192 KB)
Memory = 7.8 GB
Video = Intel(R) UHD Graphics (1.0 GB RAM) (igdkmd64 27.20.100.8476)
Video = NVIDIA GeForce GTX 1660 Ti with Max-Q Design (4.0 GB RAM) (nvlddmkm 31.0.15.4665)
Display = \\.\DISPLAY1 (1920 x 1080, 32-bit, primary, 0 x 0)
Sound = Realtek High Definition Audio (rtkvhd64 6.0.9333.1)
Sound = Intel(R) Display Audio (intcdaud 10.27.0.12)
Sound = NVIDIA Virtual Audio Device (Wave Extensible) (WDM) (nvvad64v 4.49.0.0)
Sound = Intel® Smart Sound Technology (Intel® SST) (intcdmic 10.24.0.4706)
Sound = Intel® Smart Sound Technology (Intel® SST) (intcbtau 10.24.0.4706)
Sound = NVIDIA High Definition Audio (nvhda64v 1.3.40.14)
Disk = C: (Local Fixed Disk, NTFS, 476.1 GB, 293.9 GB free)
Disk = D: (Local Fixed Disk, NTFS, 698.6 GB, 676.9 GB free)
OS = Microsoft Windows 11 Home 64-bit (10.0.22631)
Runtimes = 2.0.50727 SP2 3.0 SP2 3.5 SP1 4 Client 4 Full 4.0 Client
Runtime = 4.0.30319.42000 (64bit)
\\.\DISPLAY1 = NVIDIA GeForce GTX 1660 Ti with Max-Q Design
--------------------------------------------------------------------------------
Version = 1.5.1
Build = 0.0.8366.40920 (2022-11-27 22:44:00Z)
Logfile = C:\Users\grego\OneDrive\Desktop\OpenRailsLog.txt
Executable = RunActivity.exe
Argument = -start
Argument = -activity
Argument = C:\MECoast-main\ROUTES\MidEastCoast\ACTIVITIES\WAL - Stone Goods.act
--------------------------------------------------------------------------------
ActRandomizationLevel = 0
ActWeatherRandomizationLevel = (user set) 1
AdhesionFactor = (user set) 130
AdhesionFactorChange = (user set) 20
AdhesionMovingAverageFilterSize = 10
AdhesionProportionalToWeather = False
Alerter = False
AlerterDisableExternal = True
AntiAliasing = (user set) 2
AuxActionEnabled = False
AvatarURL = http://openrails.org/images/support-logos.jpg
BrakePipeChargingRate = 21
BreakCouplers = False
CarVibratingLevel = 0
CorrectQuestionableBrakingParams = False
CurveSpeedDependent = (user set) True
DataLogger = (user set) True
DataLoggerSeparator = comma
DataLogMisc = (user set) True
DataLogPerformance = True
DataLogPhysics = (user set) True
DataLogSpeedUnits = route
DataLogStart = False
DataLogStationStops = False
DataLogSteamPerformance = (user set) True
DataLogTrainSpeed = False
DataLogTSContents = 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
DataLogTSInterval = 10
DayAmbientLight = (user set) 26
DirectXFeatureLevel = 10_0
DisableTCSScripts = False
DistantMountains = True
DistantMountainsViewingDistance = 40000
DoubleWire = False
DynamicShadows = True
EvaluationFilename = OpenRailsEvaluation.txt
ExternalSoundPassThruPercent = 50
FullScreen = True
GraduatedRelease = False
HotStart = True
IsModeActivity = True
Language =
Letterbox2DCab = False
LODBias = (user set) 50
LODViewingExtension = True
Logging = True
LoggingFilename = OpenRailsLog.txt
LoggingPath = C:\Users\grego\OneDrive\Desktop
Menu_Selection = (user set) C:\MECoast-main, C:\MECoast-main\ROUTES\MidEastCoast, C:\MECoast-main\ROUTES\MidEastCoast\ACTIVITIES\WAL - Stone Goods.act, , , , , ,
ModelInstancing = True
Multiplayer = False
Multiplayer_Host = 127.0.0.1
Multiplayer_Port = 30000
Multiplayer_UpdateInterval = 10
Multiplayer_User = grego
MultiplayerClient = False
MultiplayerServer = False
NoDieselEngineStart = False
NoForcedRedAtStationStops = False
OpenDoorsInAITrains = False
OSDCarsState = 1
OSDLocationsState = (user set) 3
PerformanceTuner = False
PerformanceTunerTarget = 60
PrecipitationBoxHeight = 100
PrecipitationBoxLength = 500
PrecipitationBoxWidth = 500
PressureUnit = Automatic
Profiling = False
ProfilingFrameCount = 0
ProfilingTime = 0
ReplayPauseBeforeEnd = True
ReplayPauseBeforeEndS = 0
RetainersOnAllCars = False
ScreenshotPath = C:\Users\grego\OneDrive\Pictures\Open Rails
ShadowAllShapes = False
ShadowMapBlur = True
ShadowMapCount = 4
ShadowMapDistance = 1000
ShadowMapResolution = 1024
ShowAvatar = False
ShowErrorDialogs = True
SignalLightGlow = False
SimpleControlPhysics = (user set) True
SoundDetailLevel = 5
SoundVolumePercent = 100
SpeedControl = True
SuperElevationGauge = 1435
SuperElevationMinLen = 50
SuppressConfirmations = False
SuppressShapeWarnings = True
TrackMonitorDisplayMode = 0
TTCreateTrainOnPoolUnderflow = True
TTOutputTimetableFullEvaluation = False
TTOutputTimetableTrainInfo = False
TTUseRestartDelays = True
TunnelResistanceDependent = False
Units = Automatic
Use3DCab = True
UseAdvancedAdhesion = True
UseLargeAddressAware = True
UseLocationPassingPaths = False
UseMSTSEnv = False
UseSuperElevation = 0
VerboseConfigurationMessages = False
VerticalSync = True
ViewingDistance = 2000
ViewingFOV = 45
WebServerPort = 2150
WindowGlass = False
WindowPosition_Activity = (user set) 100, 100
WindowPosition_CarOperations = 50, 50
WindowPosition_Compass = 50, 0
WindowPosition_ComposeMessage = 50, 50
WindowPosition_DriverAid = 100, 100
WindowPosition_Help = (user set) 48, 50
WindowPosition_MultiPlayer = (user set) 100, 56
WindowPosition_NextStation = 0, 100
WindowPosition_Quit = 50, 50
WindowPosition_Switch = 0, 50
WindowPosition_TrackMonitor = (user set) 7, 12
WindowPosition_TrainDpu = (user set) 50, 57
WindowPosition_TrainDriving = (user set) 100, 0
WindowPosition_TrainList = 100, 0
WindowPosition_TrainOperations = 50, 50
WindowSize = (user set) 800x600
WindResistanceDependent = False
Wire = True
WorldObjectDensity = 49
YoungestVersionFailedToRestore = 0.0
--------------------------------------------------------------------------------
Mode = activity
Route = MIDEAST COAST 1.6.7.4 (30 NOV 2023)-Various Consist Anomolies Corrected
Activity = WAL - Stone Goods (C:\MECoast-main\ROUTES\MidEastCoast\ACTIVITIES\WAL - Stone Goods.act)
--------------------------------------------------------------------------------
Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN EXTCARSPAWN SIGSCR WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW TURNTBL

Warning: Cannot find main track for node 40 in path C:\MECoast-main\ROUTES\MidEastCoast\PATHS\WAL_SSTC_BR 04 63690 Player.PAT

Warning: Cannot find main track for node 41 in path C:\MECoast-main\ROUTES\MidEastCoast\PATHS\WAL_SSTC_BR 04 63690 Player.PAT

Warning: Invalid path C:\MECoast-main\ROUTES\MidEastCoast\PATHS\WAL_SSTC_BR 04 63690 Player.PAT for AI train : WAL_SSTC_BR 04 63690 Player ; train not started

Error: System.NullReferenceException: Object reference not set to an instance of an object.
   at Orts.Simulation.Simulator.InitializeAPPlayerTrain() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 1383
   at Orts.Simulation.Simulator.InitializeAPTrains(CancellationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 601
   at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 465
   at Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 325
   at Orts.Viewer3D.Processes.GameStateRunActivity.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 237
   at Orts.Viewer3D.Processes.LoaderProcess.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 160
   at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 140
   at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 111
   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()

Loader: Time = 00:00:30.6658660 ms
Loader: Expected = 0 bytes
Loader: Actual = 213,460,907 bytes
Loader: Difference = 213,460,907 bytes (∞)

Information: Game.PopState()

Tags: crash
Revision history for this message
Gregory B Wiederhold (greg2356) wrote :

Could not even load route

James Ross (twpol)
summary: - Open Rails 1.5.1 System.ArgumentNullException: Value cannot be null.
- Parameter name: key at
- System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument
- argument) at System.Collections.Generic. Dictionary`2.FindEntry(TKey
- key) frame, at
- Orts.Viewer3D.Popups.OSDLocations.PrepareFrame(RenderFrame Elapsed Time
- elapsedTime, Boolean updateFull) in C:\Jenkins\jobs\Open Rails
- Stable\workspace\Source\RunActivity\Viewer3D\Popups\OSDLocations.cs:line
- 156 at Orts.Viewer3D.Popups.WindowManager.PrepareFrame(RenderFrame
- frame, Elapsed Time elapsed Time) in C:\VJenkins\jobs\Open Rails
- Stable\workspace\Source\RunActivity\Viewer3D\Popups\WindowManager.cs:line
- 218 at Orts.Viewer3D.Viewer.Update(RenderFrame frame, Single
- elapsedRealTime) in C:\Venkins\jobs\Open Rails
- Stable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 860 at
- Orts.Viewer3D.Processes.UpdaterProcess.Update() in C:\Jenkins\jobs\Open
- Rails
- Stable\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line
- 132 at Orts.Viewer3D.Processes.Updater
+ System.NullReferenceException at
+ Orts.Simulation.Simulator.InitializeAPPlayerTrain (1.5.1, MIDEAST COAST
+ 1.6.7.4 (30 NOV 2023)Various Consist Anomolies Corrected, WAL Stone
+ Goods)
tags: added: crash
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.