Elvas Tower: T1.5.1-916-g8a5a63633 - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

T1.5.1-916-g8a5a63633 Error: System.NullReferenceException: Object reference not set to an i Rate Topic: -----

#1 User is offline   Goldstar 

  • Apprentice
  • Group: Status: Dispatcher
  • Posts: 11
  • Joined: 20-December 14
  • Gender:Male
  • Location:Proverbial depths of downtown Keswick,Ontario
  • Simulator:Open Rails
  • Country:

Posted 21 March 2024 - 06:42 AM

Good morning,

I downloaded the latest version of OR 1.5.1 and now have this error message in an activity that has run flawlessly dozens of times in previous versions of OR 1.5.1. This activity still runs fine in MG 146. The activity is for my own route and is not downloadable. Not having any programming skills, I don't know what to make of the information in the OR log, but I do notice reference to lights. Any and all help is appreciated.

Thanks,
Peter

Attached File(s)



#2 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,983
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 21 March 2024 - 06:52 AM

Hello.
Let's read Your log together and see.
(there was some lights bug reported recently, by the way)...
***
Yes, likely the same error, as was seen before.
Error: System.NullReferenceException: Object reference not set to an instance of an object.
   at Orts.Viewer3D.LightViewer.UpdateState() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Lights.cs:line 290
   at Orts.Viewer3D.LightViewer.PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime) in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Lights.cs:line 189
   at Orts.Viewer3D.TrainDrawer.PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime) in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Trains.cs:line 145
   at Orts.Viewer3D.World.PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime) in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\World.cs:line 215
   at Orts.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 855
   at Orts.Viewer3D.Processes.UpdaterProcess.Update() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 128
   at Orts.Viewer3D.Processes.UpdaterProcess.DoUpdate() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 108
   at Orts.Viewer3D.Processes.UpdaterProcess.UpdaterThread() in C:\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 74
   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()

Let's ask Steel Phil to look into it.

Also, there are some not critical mistakes with Your content, which could be corrected one by one - to shorten errors count.

#3 User is online   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,781
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 21 March 2024 - 12:02 PM

Hi Peter,

There is a fix for the problem.
We don't know when it will be applied.

#4 User is offline   Goldstar 

  • Apprentice
  • Group: Status: Dispatcher
  • Posts: 11
  • Joined: 20-December 14
  • Gender:Male
  • Location:Proverbial depths of downtown Keswick,Ontario
  • Simulator:Open Rails
  • Country:

Posted 21 March 2024 - 06:02 PM

View Postengmod, on 21 March 2024 - 12:02 PM, said:

Hi Peter,

There is a fix for the problem.
We don't know when it will be applied.


Howdy,

I'm glad to hear that there is a fix for this issue. Looking forward to using it.

Thanks
Peter

#5 User is online   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,781
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 21 March 2024 - 06:24 PM

Yes, I am just running an activity from Gn Hi-line that is causing the crash.
I have had to go back to 1.5.1 release to run this activity.

#6 User is offline   Goldstar 

  • Apprentice
  • Group: Status: Dispatcher
  • Posts: 11
  • Joined: 20-December 14
  • Gender:Male
  • Location:Proverbial depths of downtown Keswick,Ontario
  • Simulator:Open Rails
  • Country:

Posted 23 March 2024 - 11:25 AM

View Postengmod, on 21 March 2024 - 06:24 PM, said:

Yes, I am just running an activity from Gn Hi-line that is causing the crash.
I have had to go back to 1.5.1 release to run this activity.


Howdy,

I've just upgraded to T1.5.1-922-g0a17d985e and the issue that I had originally posted about has been rectified. Thanks to all those involved.

Peter

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users