We frequently see NullPointerException in our logs. It's really a big headache when we see a NullPointerException and it is encapsulated in another exception as we don't know which object is null and it is throwing an Exception. Is there any way we can get to know the object type or the object variable name where the object is null and it is throwing a NullPointerException? i.e, instead of just saying there is a NullPointerException, can we add some friendly message?
-- View this message in context: http://openjdk.5641.n7.nabble.com/Useful-message-about-NullPointerException-tp213240.html Sent from the OpenJDK Core Libraries mailing list archive at Nabble.com.