title: Netbeans: How do I break on a NullPointerException?
body: <p>When debugging a java program in netbeans, I want the debugger to stop on the line that causes a NullPointerException so I can examine the variables there.  I believe I have to use a condition on the breakpoint set at that line, but what is the syntax of the condition?</p>
  
  <p>thanks for the help</p>