[jboss-user] [jBPM] - Any WorkflowProcessInstanceUpgrader working example
tmag
do-not-reply at jboss.com
Tue Nov 6 14:12:19 EST 2012
tmag [https://community.jboss.org/people/tmag] created the discussion
"Any WorkflowProcessInstanceUpgrader working example"
To view the discussion, visit: https://community.jboss.org/message/775187#775187
--------------------------------------------------------------
Anyone have a working example on WorkflowProcessInstanceUpgrader ?
As per jBPM 5.3 documentation - when we tried +upgradeProcessInstance() -+
+
+
* + without a user transaction - its giving NullPointerException+
*Exception in thread "main" java.lang.NullPointerException*
* at org.jbpm.process.instance.impl.ProcessInstanceImpl.getProcess(ProcessInstanceImpl.java:68)*
* at org.jbpm.workflow.instance.WorkflowProcessInstanceUpgrader.upgradeProcessInstance(WorkflowProcessInstanceUpgrader.java:57)*
* Within a user transaction - its giving ClassCastException
*java.lang.ClassCastException: org.drools.command.impl.CommandBasedStatefulKnowledgeSession cannot be cast to org.drools.common.InternalKnowledgeRuntime*
* at org.jbpm.workflow.instance.WorkflowProcessInstanceUpgrader.upgradeProcessInstance(WorkflowProcessInstanceUpgrader.java:61)*
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/775187#775187]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121106/cedc0926/attachment.html
More information about the jboss-user
mailing list