System.NullReferenceException at Orts.Simulation.RollingStocks.MSTSElectricLocomotive.Parse (U2021.05.28-1951)

Bug #1930124 reported by Szegedia Attila
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Undecided
Cédric GNIEWEK

Bug Description

After builds: Open Rails U2021.05.22-0721 not working with Electric Loco-s, if eng file contains row: ORTSCircuitBreaker ( Manual )

Samples:
"Expected end of file in F:\tran\Trains\trainset\H_MAVTR_480\\Script\ORTS_Eng.inc:line 13" -> ORTSCircuitBreaker( Manual )
"Expected end of file in F:\tran\Trains\trainset\H_MAVTR_480\H-START_480-003.eng:line 696" -> ORTSCircuitBreaker( Manual )
"Expected end of file in F:\tran\Trains\trainset\Traxx pack\H-START_480-025.eng:line 835" -> ORTSCircuitBreaker( Manual )
etc.

Tags: crash physics
Revision history for this message
Szegedia Attila (szegedia) wrote :
Revision history for this message
Szegedia Attila (szegedia) wrote :

Eng fil include:

Revision history for this message
Cédric GNIEWEK (sharpeserana) wrote :

Firstly, these two parameters must be in the Engine part of the file:
ORTSPowerOnDelay ( 5s )
ORTSCircuitBreakerClosingDelay ( 2s )

I suppose that the impacted train is an AI train.
I think I have found where the problem is.

Changed in or:
status: New → Confirmed
assignee: nobody → Cédric GNIEWEK (sharpeserana)
Revision history for this message
Cédric GNIEWEK (sharpeserana) wrote :

It should be better in the latest unstable version.

Changed in or:
status: Confirmed → Fix Committed
James Ross (twpol)
summary: - Circuit Braker error again
+ System.NullReferenceException at
+ Orts.Simulation.RollingStocks.MSTSElectricLocomotive.Parse
+ (U2021.05.28-1951)
tags: added: crash physics
James Ross (twpol)
Changed in or:
milestone: none → 1.4
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.