NullPointerException
java NullPointerException
Thrown when the JVM attempts to dereference a null object reference — calling a method, accessing a field, or indexing an array on null. As of Java 14, the message identifies the null variable.
Thrown when the JVM attempts to dereference a null object reference — calling a method, accessing a field, or indexing an array on null. As of Java 14, the message identifies the null variable.