Bug 757185 - Parser doesn't support 'Unspecified' and 'Mixed' gateway directions.
Summary: Parser doesn't support 'Unspecified' and 'Mixed' gateway directions.
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 17:51 UTC by Petr Široký
Modified: 2023-05-31 22:25 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An IllegalArgumentException exception is thrown by the parser when 'Unspecified' or 'Mixed' gateway directions are used in process definition files. This is because types of gateways are not currently supported.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
BPMN file that contains 'Unspecified' and 'Mixed' gateway directions. (6.43 KB, application/xml)
2011-11-25 17:52 UTC, Petr Široký
no flags Details
Stacktrace (3.91 KB, text/plain)
2011-11-25 17:56 UTC, Petr Široký
no flags Details

Description Petr Široký 2011-11-25 17:51:38 UTC
Description of problem:
IllegalArgumentException is thrown by parser when 'Unspecified' or 'Mixed' gateway directions are used in process definition file (see example file). 

Version-Release number of selected component (if applicable):
BRMS 5.3.0 dev5

How reproducible:
Always

Steps to Reproduce:
1. Try to create knowledge base from attached bpmn file.
  
Actual results:
java.lang.IllegalArgumentException: Unknown gateway direction: Mixed

Expected results:
No exception, knowledge base is created.

Comment 1 Petr Široký 2011-11-25 17:52:52 UTC
Created attachment 536385 [details]
BPMN file that contains 'Unspecified' and 'Mixed' gateway directions.

Comment 2 Petr Široký 2011-11-25 17:56:57 UTC
Created attachment 536396 [details]
Stacktrace

Comment 3 Kris Verlaenen 2012-01-02 19:30:21 UTC
Correct, gateways with gateway direction Mixed or Unspecified or no gatewayDirection attribute specified, cannot be parsed correctly, as these gateway types are currently not (yet) supported by jBPM (hence the error message).  While we might add support for these in the editor(s) in the future, I would not recommend adding support for this in the runtime parser for this release.

Comment 4 lcarlon 2012-05-31 00:23:21 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
IllegalArgumentException is thrown by parser when 'Unspecified' or 'Mixed' gateway directions are used in process definition file.


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