Check if null Boolean is true results in exception
<p>I have the following code:</p>

<pre><code>Boolean bool = null;

try 
{
    if (bool)
    {
        //DoSomething
    }                   
} 
catch (Exception e) 
{
    System.out.println(e.getMessage());             
}
</code></pre>

<p>Why does my check up on the Boolean variable "bool" result in an exception?
Shouldn't it just jump right past the if statement when it "sees" that it isn't true?
<strong>When I remove the if statement or check up on if it's NOT null, the exception goes away.</strong></p>
