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

NumberFormatException when parsing heroku java.version system property #367

Open
cpretzer opened this issue Jan 13, 2017 · 1 comment
Open

Comments

@cpretzer
Copy link

When mapping a JSON string to a class using the PlayFramework 2.5.10 on Heroku, a NumberFormatException occurs because the System.getProperty("java.version") returns "1.8.0_102-cedar14" on a heroku instance.

While this is a very specific case, the logic can be updated to handle the scenario more gracefully and print better messaging which includes the value of the java.version system property.

boon_exception.txt

@RichardHightower
Copy link
Contributor

Please send a pull request. Are you still in SF area?

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

No branches or pull requests

2 participants