Bug 1309945

Summary: JBDS Bpmn2 Diagram Editor Palette Does Not Recognize Entries in WID File
Product: [Retired] JBoss BPMS Platform 6 Reporter: Justin Holmes <jholmes>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:45:30 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:
Embargoed:
Attachments:
Description Flags
NullPointerException log
none
Notification wid
none
registered notification wid none

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:
100%

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
3. 

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:
jbds-9.1.0.CR1_jbdsis-9.0.0.CR1
jbtis-4.3.0.CR1
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