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

Fix NPE and reduce nesting #462

Merged
merged 2 commits into from
Feb 2, 2023
Merged

Conversation

tonihele
Copy link
Contributor

@tonihele tonihele commented Feb 1, 2023

Not sure if the Ant projects should just continue to the few lines after the seemingly Gradle specific thing... But Ant project assets seem to work ok (shows the yellow icon and can open to scene explorer). Having Ant projects open, this resulted in nasty NPE.

@neph1
Copy link
Contributor

neph1 commented Feb 2, 2023

I didn't notice the issue when testing, but perhaps it was because I had cleaned and only opened the relevant projects, ie "Happy flow"

@tonihele
Copy link
Contributor Author

tonihele commented Feb 2, 2023

It doesn't look the error actually causes any ill effect. It is just present on the logs. Noticed randomly while testing the Maven version thing.

That is why I also was unsure if all the rest of the code block there can be skipped if the project is not a Gradle project...

@tonihele
Copy link
Contributor Author

tonihele commented Feb 2, 2023

Ok, I checked the history, so yeah, now the NPE is gone an otherwise everything is as before for other than Gradle types. I think it is correct now.

@tonihele tonihele merged commit 33b3d4d into jMonkeyEngine:master Feb 2, 2023
@tonihele tonihele deleted the fix_npe branch February 2, 2023 20:25
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 this pull request may close these issues.

None yet

2 participants