NullPointerException error when running a process instance migrated from jbpm 5 to BPM Suite 6

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content