That will do it.

There are some rare cases where the IDE doesn't take you to the actual line that caused the exception, but in most cases it will. As long as the IDE takes you to the line that thew the exception, this is a straightforward exception to diagnose....which is good, because it may be the single most common exception to get. The most common time that the IDE does NOT take you to the line that thew the exception is when the exception was thrown during class initialization. Those can get tricky.