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

Add default values to each yo-rc.json property #226

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

SudharakaP
Copy link
Member

This prevents throwing nullpointer exceptions for cases where the values are null.

Fixes #223

This prevents throwing nullpointer exceptions for cases where the values are null.

Fixes jhipster#223
@SudharakaP SudharakaP merged commit dca7766 into jhipster:master Sep 2, 2020
@SudharakaP SudharakaP deleted the deserialization-nullpointer branch September 2, 2020 21:01
SudharakaP added a commit to SudharakaP/jhipster-online that referenced this pull request Sep 2, 2020
This prevents throwing nullpointer exceptions for cases where the values are null.

Fixes jhipster#223
@pascalgrimaud
Copy link
Member

Sad to see this NPE, it's because we don't have unit tests on that...

@SudharakaP
Copy link
Member Author

@pascalgrimaud : yes, I am planning to improve the test coverage as part of #213. But haven't got to that yet. 🙂

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.

NullPointerException at .yo-rc.json desirializer
2 participants