Relates :
|
A new option is available to provide more helpful `NullPointerException` messages: -XX:+ShowCodeDetailsInExceptionMessages If the option is set, on encountering a null pointer, the JVM analyzes the program to determine which reference was `null` and then provides the details as part of `NullPointerException.getMessage()`. In addition to the exception message, the method, filename, and line number are also returned. By default, this option is disabled.
|