Null-Pointer Exception in ProcessInstanceResource.java

Description

A null-pointer exception occures in ProcessInstanceResource.java when a process variable is null and the Variable History is enabled with <property name="history" value="full" /> in activiti-context.xml.

The exception happens at

variableJSON.put("variableValue", variableUpdate.getValue().toString());

java.lang.NullPointerException
at org.activiti.rest.api.process.ProcessInstanceResource.addVariableList(ProcessInstanceResource.java:163)

Environment

None

Assignee

Tijs Rademakers

Reporter

Thomas

Labels

None

Components

Fix versions

Priority

Minor
Configure