Bug 1309945 - JBDS Bpmn2 Diagram Editor Palette Does Not Recognize Entries in WID File
Summary: JBDS Bpmn2 Diagram Editor Palette Does Not Recognize Entries in WID File
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Eclipse Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Jozef Marko
Depends On:
TreeView+ depends on / blocked
Reported: 2016-02-19 04:06 UTC by Justin Holmes
Modified: 2020-03-27 19:45 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2020-03-27 19:45:30 UTC
Type: Bug

Attachments (Terms of Use)
NullPointerException log (12.03 KB, text/plain)
2016-04-06 05:31 UTC, Jozef Marko
no flags Details
Notification wid (359 bytes, text/plain)
2016-04-06 05:38 UTC, Jozef Marko
no flags Details
registered notification wid (42 bytes, text/plain)
2016-04-06 05:39 UTC, Jozef Marko
no flags Details

System ID Private Priority Status Summary Last Updated
Eclipse Project 488221 0 None None None 2016-02-22 12:57:06 UTC

Description Justin Holmes 2016-02-19 04:06:30 UTC
Description of problem:
I have a project 

Version-Release number of selected component (if applicable):
JBDS 8.1 - Plugin version 1.1.4.Final
JBDS 9.0 - Plugin version 1.2.1.Final
JBDS 9.1.Beta - Plugin version 1.2.1.Final

How reproducible:

Steps to Reproduce:
1. Clone project https://github.com/sherl0cks/maven-archetypes/tree/6.2.0/bpmsuite-monolith/project into eclipse, which includes the default WID file created by business central 
2. Open bpmsuite-monolith-knowledge->CustomerOnboard.bpmn2 with bpmn2 diagram editor

Actual results:
bpmn2 editor palette does not include "custom tasks" declared in the WID file.

Expected results:
Each well entry in the WID file should have an entry in the "custom tasks" section of the palette

Additional info:

Comment 2 Robert (Bob) Brodt 2016-03-23 14:18:23 UTC
Fixed in BPMN2 Modeler versions for
Luna: 1.1.6.CR1-v20160318-1403-B1303
Mars: 1.2.4.CR1-v20160318-1302-B107
Neon: 1.3.0.Beta1-v20160318-1302-B41

Comment 3 Jozef Marko 2016-04-06 05:31:03 UTC
Created attachment 1144083 [details]
NullPointerException log

Comment 4 Jozef Marko 2016-04-06 05:38:55 UTC
Created attachment 1144088 [details]
Notification wid

Comment 5 Jozef Marko 2016-04-06 05:39:17 UTC
Created attachment 1144090 [details]
registered notification wid

Comment 6 Jozef Marko 2016-04-06 05:50:03 UTC
Please follow these steps:
1. Open or create jBPM project
2. Inside 'src/main/resources/META-INF' folder create:
   MyDefinitions.wid - attachment 1144088 [details]
   drools.rulebase.conf - attachment 1144090 [details]
3. Save all changes to project
4. Restart jbds
5. Try to open any bpmn2 process

After step 5. there will be NPE ( attachment 1144083 [details] ) in log. As a result, palette still doesn't recognize custom WIDs.

Reproduced on:
BPMN2 Modeler - 1.2.4.Final-v20160330-1625-B110

Comment 7 Jozef Marko 2016-09-20 07:54:06 UTC
Works with jbtis-4.3.2.CR1, BPMN2 Modeler 1.2.5.Final-v20160831-1132-B114

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