Originally Posted by
jps
Do you know what a NullPointerException is? Do you understand what the error message is telling you? The line number* to the error is included in the message.
The best advice I have for this is to understand how to read the error message. Simple mistakes like this are common and understanding the error message details will be a useful skill.
If you can not figure it out, copy paste the error message for help.
*The number is not always exactly the line the error is on, but this is not the place for that topic.
I just figure out what I was missing!