Check script detects java.lang.NullPointerException