System.ArgumentOutOfRangeException at Orts.Viewer3D.TrackSoundSource.UpdateTType

Bug #1873422 reported by S V S NAGENDRA
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Committed
Undecided
Peter Gulyas

Bug Description

Activity failed

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.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at Orts.Viewer3D.TrackSoundSource.UpdateTType(Boolean stateChange) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 303
   at Orts.Viewer3D.TrackSoundSource.Update() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 334
   at Orts.Viewer3D.Processes.SoundProcess.Sound() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line 132
   at Orts.Viewer3D.Processes.SoundProcess.DoSound() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line 116
   at Orts.Viewer3D.Processes.SoundProcess.SoundThread() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line 100
   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()

Information: Game.PopState()

i am facing this System.InvalidOperationException: Category does not exist bug some activity

Tags: crash sounds
Revision history for this message
cjakeman (cjakeman) wrote :

Hi Nagendra,

Thanks for this.

Please provide details from where the route can be downloaded.

Best wishes,

Chris

description: updated
Revision history for this message
S V S NAGENDRA (svsnagendra) wrote : Re: [Bug 1873422] Re: System.InvalidOperationException: Category does not exist
Download full text (6.3 KiB)

Hi,

I have download the route from his site

https://www.trainsim.com/vbts/tslib.php?searchid=15584100

this route have total 05 files.

On Fri, Apr 17, 2020 at 3:35 PM cjakeman <email address hidden> wrote:

> Hi Nagendra,
>
> Thanks for this.
>
> Please provide details from where the route can be downloaded.
>
> Best wishes,
>
> Chris
>
> ** Attachment added: "Log file provided by email"
>
> https://bugs.launchpad.net/or/+bug/1873422/+attachment/5356033/+files/OpenRailsLog.txt
>
> ** Description changed:
>
> + Activity failed
> +
> 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.ThrowArgumentOutOfRangeException(ExceptionArgument
> argument, ExceptionResource resource)
> - at Orts.Viewer3D.TrackSoundSource.UpdateTType(Boolean stateChange) in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 303
> - at Orts.Viewer3D.TrackSoundSource.Update() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 334
> - at Orts.Viewer3D.Processes.SoundProcess.Sound() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 132
> - at Orts.Viewer3D.Processes.SoundProcess.DoSound() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 116
> - at Orts.Viewer3D.Processes.SoundProcess.SoundThread() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 100
> - 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()
> + at
> System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument
> argument, ExceptionResource resource)
> + at Orts.Viewer3D.TrackSoundSource.UpdateTType(Boolean stateChange) in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 303
> + at Orts.Viewer3D.TrackSoundSource.Update() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 334
> + at Orts.Viewer3D.Processes.SoundProcess.Sound() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 132
> + at Orts.Viewer3D.Processes.SoundProcess.DoSound() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 116
> + at Orts.Viewer...

Read more...

Revision history for this message
cjakeman (cjakeman) wrote : Re: System.InvalidOperationException: Category does not exist

Hi Nagendra,

Sorry but this URL does not persist, so it finds no results. Please provide a title or file name.

However, I believe that the problem you had was a real bug and I plan to send you a trial version of Open Rails which doesn't break.

Best wishes,

Chris

Revision history for this message
S V S NAGENDRA (svsnagendra) wrote : Re: [Bug 1873422] Re: System.InvalidOperationException: Category does not exist

Dear Chris,

this route name is KOBRA need to be download the 05 files find the below
file names

*1. **KOBRA*

· *kobra.zip*

· *kobra2.zip*

· *kobra2a.zip*

· *kobra3.zip*
                        · *kobpa.zip*

On Sat, Apr 18, 2020 at 6:40 PM cjakeman <email address hidden> wrote:

> Hi Nagendra,
>
> Sorry but this URL does not persist, so it finds no results. Please
> provide a title or file name.
>
> However, I believe that the problem you had was a real bug and I plan to
> send you a trial version of Open Rails which doesn't break.
>
> Best wishes,
>
> Chris
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1873422
>
> Title:
> System.InvalidOperationException: Category does not exist
>
> Status in Open Rails:
> New
>
> Bug description:
> Activity failed
>
> 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.ThrowArgumentOutOfRangeException(ExceptionArgument
> argument, ExceptionResource resource)
> at Orts.Viewer3D.TrackSoundSource.UpdateTType(Boolean stateChange) in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 303
> at Orts.Viewer3D.TrackSoundSource.Update() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Sound.cs:line 334
> at Orts.Viewer3D.Processes.SoundProcess.Sound() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 132
> at Orts.Viewer3D.Processes.SoundProcess.DoSound() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 116
> at Orts.Viewer3D.Processes.SoundProcess.SoundThread() in
> E:\Documents\Coding\Jenkins\jobs\Open Rails
> Testing\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:line
> 100
> 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()
>
> Information: Game.PopState()
>
> i am facing this System.InvalidOperationException: Category does not
> exist bug some activity
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/or/+bug/1873422/+subscriptions
>

James Ross (twpol)
summary: - System.InvalidOperationException: Category does not exist
+ System.ArgumentOutOfRangeException at
+ Orts.Viewer3D.TrackSoundSource.UpdateTType
tags: added: crash sounds
Peter Gulyas (pzgulyas)
Changed in or:
assignee: nobody → Peter Gulyas (pzgulyas)
status: New → In Progress
Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
milestone: none → 1.5
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.