System.ArgumentNullException at ORTS.Viewer3D.WaterPrimitive.Mark

Bug #1406417 reported by Dave Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Undecided
Jijun Tang

Bug Description

Error: System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at ORTS.Viewer3D.WaterPrimitive.Mark() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\Water.cs:line 165
   at ORTS.Viewer3D.TerrainTile.Mark() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\Terrain.cs:line 173
   at ORTS.Viewer3D.TerrainViewer.Mark() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\Terrain.cs:line 115
   at ORTS.Viewer3D.World.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\World.cs:line 93
   at ORTS.Viewer3D.Viewer.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 522
   at ORTS.Viewer3D.Viewer.Initialize() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 377
   at ORTS.Viewer3D.Viewer..ctor(Simulator simulator, Game game) in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 263
   at ORTS.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:line 274
   at ORTS.Processes.GameStateRunActivity.<>c__DisplayClass8.<Load>b__3() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:line 148
   at ORTS.Processes.GameStateRunActivity.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:line 189
   at ORTS.Processes.LoaderProcess.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Processes\LoaderProcess.cs:line 155
   at ORTS.Processes.LoaderProcess.DoLoad() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Processes\LoaderProcess.cs:line 136
   at ORTS.Processes.LoaderProcess.LoaderThread() in e:\Documents\Coding\Jenkins\jobs\Open Rails\workspace\Source\RunActivity\Processes\LoaderProcess.cs:line 107
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Tags: crash graphics
James Ross (twpol)
summary: - Water Primitive -- value cannot be null error abort
+ System.ArgumentNullException at ORTS.Viewer3D.WaterPrimitive.Mark
tags: added: crash graphics
James Ross (twpol)
Changed in or:
status: New → Triaged
Revision history for this message
Dave Nelson (lake-muskoka) wrote :

I noticed the abort occurs with the combination of winter + clear weather (repeatable) but it will run with the combination of winter + rain as well as winter + snow. Probably something I've botched in my \envfiles but that said something here still needs to be trapped to ensure a either clean shutdown or to move on with a don't care.

Revision history for this message
Jijun Tang (jtang-h) wrote :

Please check if this bug has been fixed using the newest experimental code.

Changed in or:
status: Triaged → In Progress
Revision history for this message
Dave Nelson (lake-muskoka) wrote :

It does not abort anymore

Jijun Tang (jtang-h)
Changed in or:
status: In Progress → Fix Committed
assignee: nobody → Jijun Tang (jtang-h)
James Ross (twpol)
Changed in or:
milestone: none → 1.0
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
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.