JDK-14 Exception Details Feature : Add More Details To Your NullPointerException
JDK-14 provides a new ability to developer for checking root cause of a NullPointerException.
So instead of getting only code line number as a root cause of your NullPointerException, like :
From JDK-14 You are can get more details about a NullPointerException by adding the following argument on VM Options :
Result after applying this change :