Comment 1 for bug 902972

Revision history for this message
Alessandro Menti (elgaton) wrote :

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!