How exactly do you handle a null pointer exception?
Programming errors in production are usually handled by logging and then either exiting the process or going back around the request / response loop again (presuming global state hasn't been polluted, which is unusual in most modern application servers since they're usually stateless).
Null pointer exceptions are little different.
An item not found in a collection or tree is not an error.