AP® Computer Science A glossary
NullPointerException
Course: AP® Computer Science A Shows up in: Unit 1: Using Objects and Methods
The exception thrown when a method is called on a null reference.
Appears in the course and exam description (CED): 1.14.A.2
The code compiles, but when the call runs there is no object, so the program stops with a NullPointerException.