Campbell Ritchie wrote:Or, like in C#, “NullMarkerException”. But the name was created so long ago that we are stuck with it.
C# did not exist when Java was created. The whole "#" language environment is, in fact, largely in response to the fact that Microsoft couldn't hijack Java via J++.
A more direct connection comes from C++, which made object references a key part of the ecosystem. But since object references in C++ are basically a shortcut to pointers, a null object reference in C++ is literally a null pointer value.