NullPointerException in Java?
One of hundreds of answers available with our premium content service.
A: A NullPointerException is a runtime exception that indicates the Java Virtual Machine attempted to call a method on an object, but the object reference was null. This case may occur when a reference is assigned from another method call that may return a null value, such as a Hashtable look-up.
… full answer hidden
Premium members click below for full answer
What is a NullPointerException in Java?