title: NullPointerException in Java with no StackTrace
body: <p>I've had instances of our Java code catch a <code>NullPointerException</code>, but when I try to log the StackTrace (which basically ends up calling <code>Throwable.printStackTrace()</code> ), all I get is:</p>
  
  <pre><code>java.lang.NullPointerException
  </code></pre>
  
  <p>Has anyone else come across this? I tried googling for "java null pointer empty stack trace" but didn't come across anything like this.</p>