A NullPointerException (NPE) means that you are trying to use a variable that has not been initialized yet. The exception will tell you which line of your code is causing the error, and so you'll...