FWIW, a NullPointerException occurs when you try
to use a variable you have declared but which has no
value. In some cases the compiler can catch these
things, but in others (such as when the variable is an
instance variable) it is a runtime error.<br><br>Get used
to NullPointerExceptions (also known as NPEs). You
will probably see a lot of them if you work with
Java.