3 ms·
How exactly do you handle a null pointer exception?
by int_19h 10y ago
How exactly do you handle a null pointer exception?
- barrkel 10y agoProgramming 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.