I have the same problem.
My temporary temporary solution:
public class HumanTaskWorkItemHandler extends AsyncGenericHTWorkItemHandler {
public HumanTaskWorkItemHandler(KnowledgeRuntime session) {
super(session);
}
@Override
protected Task createTaskBasedOnWorkItemParams(WorkItem workItem) {
Task task = super.createTaskBasedOnWorkItemParams(workItem);
addDefaultDescriptionToText(task.getNames());
addDefaultDescriptionToText(task.getSubjects());
addDefaultDescriptionToText(task.getDescriptions());
return task;
}
private void addDefaultDescriptionToText(List<I18NText> textList) {
for(I18NText text: textList) {
if (text.getText() == null || text.getText().equals("")) {
text.setText(" ");
}
}
}
}