System.NullReferenceException at Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 yoga exp bug)
Bug #1812334 reported by
AMIT PAL
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
Low
|
mbm_OR |
Bug Description
i have already install mandatory file for this activity.
But this activity not open kindly fix it.
Related branches
~mauribachi/or:ORGIT-ActivityNoRelatedRoute
- James Ross: Approve
-
Diff: 88 lines (+24/-15)3 files modifiedSource/Menu/MainForm.cs (+2/-1)
Source/ORTS.Menu/Activities.cs (+20/-14)
Source/ORTS.Menu/Routes.cs (+2/-0)
Changed in or: | |
status: | New → In Progress |
summary: |
- 19032 "yoga exp" bug + System.NullReferenceException at + Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 "yoga exp" bug) |
tags: | added: crash |
Changed in or: | |
milestone: | none → 1.4 |
importance: | Undecided → Low |
summary: |
System.NullReferenceException at - Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 "yoga exp" bug) + Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 yoga exp bug) |
Changed in or: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The “19032 Yoga Express” activity as a “Read Me First.txt” file. You can read, that this activity is for the “Royal Rajasthan route ( ADI-AII )” route but you still running the NFR route.
Once installed this Activity into the right route “ADI-AII” all worked fine.
Perhaps, Open Rails should prevent the user to play an Activity unrelated with the current route.
The attached Git Patch file avoids to Start an Activity not related to the current Route or when the the Locomotive/ are missing. Preventing OR from this kind of crashes.