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.
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