Why do I get a NullPointerException? - Processing 2.x and 3.x Forum
This has probably historical roots, when people wrote the Java compiler in C or C++, where the word 'pointer' comes from. Java has no pointers but references, which fill the same role, in a safer way (no risk of memory corruption!). An Exception is a language mechanism allowing to handle exceptional cases, usually errors.