Remarks

This should help you understand a “Null Pointer Exception” – one gets one of those because an object reference is null, but the program code expects the program to use something in that object reference. However, that deserves its own topic…