Null pointer expection
<pre><code>String graphNameUsed = graphName.getName();
        if (graphType.equals("All") || graphType.equals("ALL"))
            graphNameUsed += "_ALL";
</code></pre>

<p>If my String is null, then will it throw Null Pointer expection when i am checking whether it equals or not. To Avoid this expection, how should i check.</p>
