[ubuntu-mono] [Bug 902972] Re: objectoptimization section causes System.NullReferenceException

Alessandro Menti 902972 at bugs.launchpad.net
Sat Dec 17 10:47:21 UTC 2011


Hi Andrew, thanks for the report and sorry for the delay.

I have tried to reproduce the bug with the latest OpenBVE version (1.2.10.0-0ubuntu2.1, which is currently published in the "proposed" repository and will be listed among the available updates in a few days). This is what I did:
1) Renamed the ~/.config/OpenBVE folder so that I could start with a "fresh" configuration.
2) Started OpenBVE, chose the standard Birmingham Cross-City South route (specifically, the 323_Spring_2005_1128_Dry_Cloudy.csv route).
3) Did a quick ride from the starting station to the second one.
4) Exited from the program.
5) Started the program again and selected the same route from the list.

Since the program did not crash with the "standard" configuration file,
I assume that the [objectoptimization] section in your configuration
file was created there by an old version.

Could you please do the following to help me to find the portion of code where the problem occurs?
1) Restore the old options.cfg file with the [objectoptimization] section.
2) Run OpenBVE from the terminal.
3) Try to select the "standard simulation CSV file" you mentioned to make OpenBVE crash.
4) When OpenBVE crashes, note the exact and complete error message displayed in the terminal: it should include, beside the "System.NullReference exception" message you noted, other context information I need to find the responsible line of code.
5) Add a comment here with:
-the exact error message displayed in step 4;
-the exact sequence of steps you performed to trigger the error, so that I can reproduce it too and be able to debug and fix it (list all the buttons you clicked, the route you selected...);
-the complete content of the .config/OpenBve folder (zip it and add it to the bug report as an attachment).

Thanks!

** Changed in: openbve (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to openbve in Ubuntu.
https://bugs.launchpad.net/bugs/902972

Title:
  objectoptimization section causes System.NullReferenceException

Status in “openbve” package in Ubuntu:
  Incomplete

Bug description:
  The second time I run openbve then select a standard simulation csv
  file, openbve crashes with "System.NullReferenceException". If I
  delete the settings files in .config/OpenBve/ or specifically delete
  the [objectoptimization] section in the options.cfg file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/902972/+subscriptions




More information about the Ubuntu-mono mailing list