Paste the error message as it appears and the line of code the error was found on. It sounds like a tweaked line according to how you worded the error message.
Type: Posts; User: jps
Paste the error message as it appears and the line of code the error was found on. It sounds like a tweaked line according to how you worded the error message.
So far you have had 2 NullPointerExceptions, which you have correctd. Now a third one. I seriously suggest you try reading the error message and figuring it out. The message tells you the name of the...
In you error message, the first line should say something like java.lang.NullPointerException.
The next line should tell you which variable has not been initialized and the line number of your code...