Update AbstractAPIHumanTask.java

WEB-2942: [Regression] Error popin while performing a subtask (NullPointerException)