Bug 1004691

Summary: Bulk Signal causes errors
Product: [Retired] JBoss BPMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: Mauricio Salatino <msalatin>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, lpetrovi
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:08:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
error for process with user task
none
errors when process ends after signal
none
signal process with user task
none
signal process with sys.out script none

Description Zuzana Krejčová 2013-09-05 08:58:32 UTC
Created attachment 794121 [details]
error for process with user task

Description of problem:
I have 2 processes, one waits for a signal, then prints a message to System.out and ends, the other waits for a signal, then continues with a user task:
(A) Start -> Signal -> Script -> End
(B) Start -> Signal -> User Task -> End

In both cases, Bulk Signal on 2 instances causes problems. One of the instances might not act on the signal. In case (B), the exception seems to be always the same, in case (A), it varies.

If the process doesn't end (almost immediately) or continue with a user task after the signal node, it seems to be okay. Same if the signal simply doesn't work with the instance (wrong signal ref., no signal node).

See attached stack traces from server log.


Version-Release number of selected component (if applicable):
BPMS 6.0 ER2

Comment 1 Zuzana Krejčová 2013-09-05 09:00:14 UTC
Created attachment 794124 [details]
errors when process ends after signal

Comment 2 Mauricio Salatino 2013-09-05 09:05:29 UTC
Zuzana, can you please attach the reproducer processes? Both of them please.

Comment 3 Zuzana Krejčová 2013-09-05 09:16:27 UTC
Created attachment 794133 [details]
signal process with user task

Comment 4 Zuzana Krejčová 2013-09-05 09:17:19 UTC
Created attachment 794134 [details]
signal process with sys.out script

Comment 5 Mauricio Salatino 2013-09-05 10:21:16 UTC
Zuzana, just for me to reproduce the exact same issue that you are having what are you filling in the Signal Name and Signal Data fields?

Comment 6 Zuzana Krejčová 2013-09-05 12:09:23 UTC
(In reply to Mauricio Salatino from comment #5)
> Zuzana, just for me to reproduce the exact same issue that you are having
> what are you filling in the Signal Name and Signal Data fields?

The user task process uses 'qwe' as the signal ref (signal name).
The script process uses 'someSignal' as the signal ref.

In both cases I leave the signal data blank.

Comment 7 Mauricio Salatino 2013-09-05 13:37:50 UTC
fixed in master http://github.com/droolsjbpm/jbpm-console-ng/compare/5f86b28...40d3619

Comment 11 Jan Hrcek 2013-10-18 06:05:16 UTC
Ok, verified with BPMS 6.0.0 ER4