logger.error("planelement.resetTask from "+oldTask+" to "+t, new Throwable());
  public void resetTask(Task t) {    Task oldTask = getTask();    if (oldTask != null) {      ((TaskImpl) oldTask).privately_resetPlanElement();    }    setTask(t);  }