Maybe use StringUtils.isEmpty(jobtracker) instead of jobtracker == null.