Null deference possible

Description

In the file org.activiti.engine.delegate.event.impl.ActivitiEventSupport.java, in the method addEventListener() method there is a null check for the 'types' argument but then immediately following the check there is a unchecked usage of that same field. In appears that an "else" condition is missing.

I've attached a patch the inserts the "else".

Environment

None

Assignee

Tijs Rademakers

Reporter

David Malkovsky

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure