System.NullReferenceException at Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 yoga exp bug)

Bug #1812334 reported by AMIT PAL
6
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.

Tags: crash

Related branches

Revision history for this message
AMIT PAL (amit8449) wrote :
Revision history for this message
mbm_OR (mauribachi) wrote :

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.

Changed in or:
assignee: nobody → mbm_OR (mauribachi)
mbm_OR (mauribachi)
Changed in or:
status: New → In Progress
Revision history for this message
AMIT PAL (amit8449) wrote : Re: [Bug 1812334] Re: 19032 "yoga exp" bug

So can i move this into royal Rajasthan route and how can i check before
downloading any activity Which tyoe of route.

On Sat, 19 Jan 2019, 7:20 p.m. mbm_OR <<email address hidden> wrote:

> 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.
>
> ** Changed in: or
> Assignee: (unassigned) => mbm_OR (mauribachi)
>
> ** Patch added: "Git-Activity-Not-Valid-Route.diff"
>
> https://bugs.launchpad.net/or/+bug/1812334/+attachment/5230546/+files/Git-Activity-Not-Valid-Route.diff
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1812334
>
> Title:
> 19032 "yoga exp" bug
>
> Status in Open Rails:
> New
>
> Bug description:
> i have already install mandatory file for this activity.
> But this activity not open kindly fix it.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/or/+bug/1812334/+subscriptions
>

Revision history for this message
mbm_OR (mauribachi) wrote : Re: 19032 "yoga exp" bug

You must download the ADI-AII route (ir_wr-nwr_route) and install it.
If you are looking for the Activity file from "trainsim" each downloadable file has a "View" option below the title, and allows you to read all files related with the download. Usually, there is a file named "Read Me First.txt" that indicate the required route.

Good luck.

Revision history for this message
AMIT PAL (amit8449) wrote : Re: [Bug 1812334] Re: 19032 "yoga exp" bug

Ok i will try

On Sat, 19 Jan 2019, 10:20 p.m. mbm_OR <<email address hidden> wrote:

> You must download the ADI-AII route (ir_wr-nwr_route) and install it.
> If you are looking for the Activity file from "trainsim" each downloadable
> file has a "View" option below the title, and allows you to read all files
> related with the download. Usually, there is a file named "Read Me
> First.txt" that indicate the required route.
>
> Good luck.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1812334
>
> Title:
> 19032 "yoga exp" bug
>
> Status in Open Rails:
> In Progress
>
> Bug description:
> i have already install mandatory file for this activity.
> But this activity not open kindly fix it.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/or/+bug/1812334/+subscriptions
>

James Ross (twpol)
summary: - 19032 "yoga exp" bug
+ System.NullReferenceException at
+ Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 "yoga exp" bug)
Revision history for this message
mbm_OR (mauribachi) wrote : Re: System.NullReferenceException at Orts.Simulation.Simulator.InitializeAPPlayerTrain (19032 "yoga exp" bug)

Fix commited x1.3.1-13.

Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
tags: added: crash
James Ross (twpol)
Changed in or:
milestone: none → 1.4
importance: Undecided → Low
James Ross (twpol)
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.
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.