Coffee Talk: Java, News, Stories and Opinions

Aug 14 2016   2:27PM GMT

Java NullPointerException: The One Tiny Thing That’s Killing Your Chances of Solving It

hennidan Profile: hennidan

Tags:
Uncategorized
If you’ve ever been frustrated with an exception, you’ve reached the right place.
 
In this post, we’d like to highlight one of the shortcomings in the standard way Java reports on errors, and examine possible workarounds: The line number of the exception is reported in a standard stack trace, but which variable or method on that line caused the actual exception?
 
Let’s roll.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: