NullPointerException in Process Instance Query

Description

The error occurs when some process instances (of the very same process) are executed simultaniously (about 10) and at the same time my REST service queries those instances including their variables:
{{for (final ProcessInstance pi : this.runtimeService.createProcessInstanceQuery().includeProcessVariables().processDefinitionId(definitionId).list()) {
...;
}}}

Environment

Windows 7, Karaf 3.0.3, Activiti 5.17 running as OSGi bundle

Activity

Show:
Hans-Peter Werner
October 5, 2015, 12:57 PM

This bug's the same as: http://forums.activiti.org/content/npe-retrieving-blob-local-task-variable.

For me it looks like as the blob variable is queried while the corresponding process instance has just completed.

Assignee

Joram Barrez

Reporter

Hans-Peter Werner

Labels

None

Components

Affects versions

Priority

High
Configure