fixed NullPointerException. NPE occurs within submitJob method if user's query string is null (or not set).