Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMO Speed Up Map causes NullReferenceException in property Dependencies #30

Open
ozontm opened this issue Jun 26, 2022 · 3 comments
Open

Comments

@ozontm
Copy link
Collaborator

ozontm commented Jun 26, 2022

Missing <dep></dep> causes parsing of the file to fail.

Rollercoaster.Challenge.zip

@ozontm ozontm linked a pull request Jun 26, 2022 that will close this issue
@stefan-baumann
Copy link
Owner

I can't test this this right now, but does this actually cause any exceptions inside MP# or just in your downstream code? Usually, the convention with MP# is that information that is not present in the file is actually set to null, which seems to be consistent in this case.

@ozontm
Copy link
Collaborator Author

ozontm commented Jun 26, 2022

Yep, that was a right call @stefan-baumann. The exception for the Dependencies getter mistakenly pointed me to the MetaDataProvider, also when I tested it using MP#View.
Issue can be closed, I'm now handling the null ref correctly on my end.

@ozontm ozontm closed this as completed Jun 26, 2022
@stefan-baumann
Copy link
Owner

Apparently GameBoxView still has a problem with this, erroring out. That should be fixed, so I'm reopening this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants