[
https://jira.jboss.org/jira/browse/JBPM-2651?page=com.atlassian.jira.plug...
]
Sergio Casaleiro commented on JBPM-2651:
----------------------------------------
There are to possible ways to reproduce the error.
Scenario1: Deploy the original example org.jbpm.examples.subprocess.outcomeactivity and
start the "SubProcessDocument" on jbpm-console.
Go to the process definitions->process instances of
SubProcessDocument process and delete the running instance, the error will occur
Scenario2: Deploy the original example org.jbpm.examples.subprocess.outcomeactivity and
start the "SubProcessDocument" on jbpm-console.
Go to the runtime->deployments in the jbpm-console and delete the
deployment, the error will occur
Scenario3: Replace the SubProcessReview with the process attached to the issue and deploy
it with the SubProcessDocument referencing it.
Start the "SubProcessDocument" on jbpm-console, the error
will occur.
The worst case is the scenario 3 because the process will not run as it should, it is a
simple subprocess with only a basic query.
Error on executing a process with sub processes
-----------------------------------------------
Key: JBPM-2651
URL:
https://jira.jboss.org/jira/browse/JBPM-2651
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.2
Environment: JBoss 5.1.0GA and Hypersonic DB
Reporter: Sergio Casaleiro
Priority: Critical
Attachments: SubProcessReview.jpdl.xml
After migrating from 4.1 to 4.2 an error started to appear immediately, the error is:
...ConstraintViolationException could not delete:
[org.jbpm.pvm.internal.model.ExecutionImpl#30229]
...
java.sql.SQLException: Integrity constraint violation FK_EXEC_SUBPI table:
JBPM4_EXECUTION in statement [delete from JBPM4_EXECUTION where DBID_=? and DBVERSION_=?]
The full stack trace is in the referenced JBoss Forum post. This error has appeared
someone else to.
In my case this is a blocker because the processes simply will not run.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira