]
Andrey Timofeev commented on JBPM-2749:
---------------------------------------
Thank you for your attention to this problem. This error occurs when real business process
was executed. Unfortunately there is no state or task between join and end. You right - it
related to the combination of task with swimlane and going to an end from join. It works
too if task2A and task2B (in attached example) havn't swimlanes.
Problem with fork/join using swimlane
-------------------------------------
Key: JBPM-2749
URL:
https://jira.jboss.org/jira/browse/JBPM-2749
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3, jBPM 4.2
Environment: Windows XP DataBase ORACLE 10G
Reporter: Andrey Timofeev
Attachments: JoinSwimlane.java, JoinSwimlane2749.java, log.txt,
testError.jpdl.xml
INFO: exception while executing command org.jbpm.pvm.internal.cmd.CompositeCmd@1175881
org.hibernate.exception.ConstraintViolationException: could not delete:
[org.jbpm.pvm.internal.task.SwimlaneImpl#280142]
<?xml version="1.0" encoding="UTF-8"?>
<process name="test"
xmlns="http://jbpm.org/4.0/jpdl">
<swimlane candidate-groups="A" name="A"/>
<swimlane candidate-groups="B" name="B"/>
<start name="start">
<transition to="task1A"/>
</start>
<task name="task1A" swimlane="A">
<transition to="task1B"/>
</task>
<task name="task1B" swimlane="B">
<transition to="fork"/>
</task>
<fork name="fork">
<transition to="task2A"/>
<transition to="task2B"/>
</fork>
<task name="task2A" swimlane="A">
<transition to="join"/>
</task>
<task name="task2B" swimlane="B">
<transition to="join"/>
</task>
<join name="join">
<transition to="end"/>
</join>
<end name="end"/>
</process>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: