This if satement will throw a null pointer exception all the time.  Again, you can't do null.equals because you will get a NullPointerException.  Is this code ever reached?  You should see the null pointer no matter what.