Open twpol opened 3 years ago
Property | Value |
---|---|
Posted by | Cédric GNIEWEK (sharpeserana) |
Date posted | Sun, 31 Oct 2021 01:11:34 GMT |
Please attach the log file.
Property | Value |
---|---|
Posted by | Greg Jaramillo (coastergreg2104) |
Date posted | Sun, 31 Oct 2021 16:39:01 GMT |
I've experienced this bug on this same route before. I managed to fix the issue then, but I don't recall what I did. Here is the log file.
Property | Value |
---|---|
Posted by | Cédric GNIEWEK (sharpeserana) |
Date posted | Sun, 31 Oct 2021 19:11:56 GMT |
There seems to be a mess in the signal configuration files. Perhaps fixing the warnings will make the situation clearer.
Property | Value |
---|---|
Posted by | Greg Jaramillo (coastergreg2104) |
Date posted | Sun, 31 Oct 2021 19:29:50 GMT |
I will definitely have to do that! I did manage to figure out the issue, I replaced a switch with a newer one to allow for higher turnout speeds, and a signal was still linked to the old switch that I had replaced. Deleted that signal and that solved the problem.
Imported from https://bugs.launchpad.net/bugs/1949281
Error: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Orts.Simulation.Signalling.SignalObject.AddHead(Int32 trItem, Int32 TDBRef, SignalItem sigItem) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Signalling\Signals.cs:line 10244 at Orts.Simulation.Signalling.Signals.AddSignal(Int32 trackNode, Int32 nodeIndx, SignalItem sigItem, Int32 TDBRef, TrackSectionsFile tsectiondat, TrackDatabaseFile tdbfile, Boolean& validSignal) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Signalling\Signals.cs:line 1106 at Orts.Simulation.Signalling.Signals.ScanSection(TrItem[] TrItems, TrackNode[] trackNodes, Int32 index, TrackSectionsFile tsectiondat, TrackDatabaseFile tdbfile, Dictionaryb__3() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 160
at Orts.Viewer3D.Processes.GameStateRunActivity.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 201
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.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 platformList, List
1 milepostList) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Signalling\Signals.cs:line 983 at Orts.Simulation.Signalling.Signals.BuildSignalList(TrItem[] TrItems, TrackNode[] trackNodes, TrackSectionsFile tsectiondat, TrackDatabaseFile tdbfile, Dictionary2 platformList, List
1 milepostList) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Signalling\Signals.cs:line 671 at Orts.Simulation.Signalling.Signals..ctor(Simulator simulator, SignalConfigurationFile sigcfg, CancellationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Signalling\Signals.cs:line 136 at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 427 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 289 at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass35_0.