Bug 1057031 - Simulation: Unexpected result for process which contains Intermediate Events without name
Summary: Simulation: Unexpected result for process which contains Intermediate Events ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER1
: 6.0.1
Assignee: Maciej Swiderski
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-23 11:10 UTC by Sona Mala
Modified: 2014-08-06 20:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:03:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1047884 0 high CLOSED NPE in server.log during simulation of process with Intermediate Events 2021-02-22 00:41:40 UTC

Internal Links: 1047884

Description Sona Mala 2014-01-23 11:10:57 UTC
Description of problem:
If you import process (attachment 844555 [details]) from bug 1047884 and run simulation (# instances:10, interval: 10 minutes) then you get these results:

  + Process
  |   - Event Process 
  |         -> ("Activity Instances" - "withoutName"[19], a[10], b[10], c[10]) 
  + Process Elements
  |   - a (...)
  |   - b (...)
  |   - c (...)
  |   - (_E2E0224E ....)
  + Paths
      - Path 1 (...)

ID for intermediate throw event is same as for result without name. Graph "Activity Instances" from Event Process shows that this element was invoke 19x but number of instances is just 10. The process does not contain any loop.

If I fill a name of intermediate events (sTh, sCatch) then I get expected results:

  + Process
  |   - Event Process 
  |        -> ("Activity Instances" - a[10], b[10], c[10], sCatch[10], sTh[10]) 
  + Process Elements
  |   - a (...)
  |   - b (...)
  |   - c (...)
  |   - sTh (_E2E0224E ....)
  |   - sCatch (...)
  + Paths
      - Path 1 (...)

Version-Release number of selected component (if applicable):
6.0.0 CR1 BPMS

Comment 1 Maciej Swiderski 2014-01-24 12:48:45 UTC
fixed in master to use node id in case name is empty to ensure proper results are displayed. 

droolsjbpm-integration
master:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/99c2a677e0789c9d5fd950d96225e9fa01713b33

Comment 2 Maciej Swiderski 2014-01-29 15:07:26 UTC
backported to 6.0.x

droolsjbpm-integration
6.0.x:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/e7d89496ab48f045bff44f1275fde62bc52230ac

Comment 3 Sona Mala 2014-02-18 17:44:54 UTC
Verified for ER1 6.0.1.

Simulation results use ID if "name" is not present.


Note You need to log in before you can comment on or make changes to this bug.