why it result in a NullPointerException when Object is null? : <p>when objec is null:</p>

<pre><code>if(object != null &amp;&amp; object.string.equals("")) {
    System.out.println("no error");
}
</code></pre>

<p>it will result in NullPointerException, and why if it checks the first result is false, it still check the second instead of stop check and print "no error"? 
sorry for my bad english -_-#</p>
