Fix deref before null check in 2.0 as well as 1.4.
Fix deref before null check in 2.0 as well as 1.4.

meg23/esapi-java,marylinh/esapi-java-legacy,marylinh/esapi-java-legacy,marylinh/esapi-java-legacy,meg23/esapi-java