java.lang.NullPointerException
The NullPointerException occurs when twhen trying to call a method on an object that is 'null'.
The following code will throw a NullPointerException:
String aString = null;
aString.toString();
The output for this code will be:
Exception in thread "main" java.lang.NullPointerException
at yourpackage.TheClassName.theMethodName(TheClassName.java:9)
