Hesitated posting this until today. Been trying to find out how to fix this for weeks but no luck.
Final Monon Route v17, running on the latest version of OR Testing (as well as a number of its preceding versions), CTDs with an Argument Out of Range Exception when the locomotive begins crossing specific bridges on the route.
Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at Orts.Viewer3D.TrackSoundSource.UpdateTType(Boolean stateChange) in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Soun d.cs:line 303
at Orts.Viewer3D.TrackSoundSource.Update() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Soun d.cs:line 334
at Orts.Viewer3D.Processes.SoundProcess.Sound() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Proc esses\SoundProcess.cs:line 132
at Orts.Viewer3D.Processes.SoundProcess.DoSound() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Proc esses\SoundProcess.cs:line 116
at Orts.Viewer3D.Processes.SoundProcess.SoundThread() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Proc esses\SoundProcess.cs:line 100
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
One bridge is just past the Delphi Station heading NE toward Monon.
Another is the Paisley Trestle, just south of the Paisley Siding at Cedar Lake, when heading south from Chicago.
Yet another is the bridge over Wabash River, heading north, just north of Lafayette.
These are the only three I know of, but the CTD is reproducible 100% of the time as soon as the locomotive touches any of these bridges.
I've looked into TSRE but can find nothing amiss at these locations, though my ability with the route builder is very limited.
Already reinstalled Monon twice, carefully following the specific instructions each time.
I'm working on a Timetable for this route but the issue is making things pointless.
any assistance would be greatly appreciated.
Log included.
Thanks.
EDIT: Ok apparently the log file didn't attach...? ugh...
EDIT 2: Fixed, I guess. Don't see it here but the paperclip is on the title on the forum thread page.
EDIT 3: Nvm found it...
OpenRailsLog.zip
Final Monon Route v17, running on the latest version of OR Testing (as well as a number of its preceding versions), CTDs with an Argument Out of Range Exception when the locomotive begins crossing specific bridges on the route.
Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at Orts.Viewer3D.TrackSoundSource.UpdateTType(Boolean stateChange) in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Soun d.cs:line 303
at Orts.Viewer3D.TrackSoundSource.Update() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Soun d.cs:line 334
at Orts.Viewer3D.Processes.SoundProcess.Sound() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Proc esses\SoundProcess.cs:line 132
at Orts.Viewer3D.Processes.SoundProcess.DoSound() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Proc esses\SoundProcess.cs:line 116
at Orts.Viewer3D.Processes.SoundProcess.SoundThread() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Proc esses\SoundProcess.cs:line 100
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
One bridge is just past the Delphi Station heading NE toward Monon.
Another is the Paisley Trestle, just south of the Paisley Siding at Cedar Lake, when heading south from Chicago.
Yet another is the bridge over Wabash River, heading north, just north of Lafayette.
These are the only three I know of, but the CTD is reproducible 100% of the time as soon as the locomotive touches any of these bridges.
I've looked into TSRE but can find nothing amiss at these locations, though my ability with the route builder is very limited.
Already reinstalled Monon twice, carefully following the specific instructions each time.
I'm working on a Timetable for this route but the issue is making things pointless.
any assistance would be greatly appreciated.
Log included.
Thanks.
EDIT: Ok apparently the log file didn't attach...? ugh...
EDIT 2: Fixed, I guess. Don't see it here but the paperclip is on the title on the forum thread page.
EDIT 3: Nvm found it...
OpenRailsLog.zip







Comment