NullPointerException in UserTaskAssignmentHandler

Description

The class org.activiti.engine.impl.history.handler.UserTaskAssignmentHandler retrieve a HistoricActivityInstanceEntity using a static method from another class (org.activiti.engine.impl.history.handler.ActivityInstanceEndHandler).

This static method can return null.
The null is not checked (when the null is correctly checked in ActivityInstanceEndHandler class...)

Here the correction:

Here the interesting part of the stacktrace:

Environment

None

Assignee

Frederik Heremans

Reporter

Ga_l Delbos

Labels

None

Components

Fix versions

Affects versions

Priority

Critical
Configure