title: Why does int num = Integer.getInteger("123") throw NullPointerException?
body: <p>The following code throws <code>NullPointerException</code>:</p>
  
  <pre><code>int num = Integer.getInteger("123");
  </code></pre>
  
  <p>Is my compiler invoking <code>getInteger</code> on null since it's static? That doesn't make any sense!</p>
  
  <p>What's happening?</p>