NullPointerException error when running a process instance migrated from jbpm 5 to BPM Suite 6
Issue
We migrated our active process instance from jbpm 5.x to BPM Suite 6 and when we run our process we have the following exception:
Caused by: java.lang.NullPointerException
at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:118)
at org.drools.persistence.info.WorkItemInfo.getWorkItem(WorkItemInfo.java:116)
at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalGetWorkItem(JPAWorkItemManager.java:213)
at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:141)
at org.drools.core.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:75)
at org.drools.core.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:35)
at org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
What could be wrong?
Environment
- Red Hat JBoss BPM Suite
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
