Hint 2

Which statement throws the exception? Did your program create the exception that was thrown or did the virtual machine created it? When the virtual machine creates an exception, it stores in the exception object created a standard message. What is the standard message that the virtual machine stores in an object of the class NullPointerException?.