Red Hat Bugzilla – Bug 1001013
Cannot open Guided Decision Table with 2 WID files present
Last modified: 2014-08-06 16:17:20 EDT
Created attachment 790389 [details]
Description of problem:
If you have 2 (or more) Work Item Definition files present, you cannot open any Guided Decision Table in your project due to:
Unable to complete your request. The following exception occurred: java.util.HashMap cannot be cast to java.util.List.
Until you delete both(!) WIDs, you won't be able to get to any GDT.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create 2 (valid) WIDs.
2. Create a new (or open an already existing) Guided Decision Table.
3. Wait for the editor.
Editor pane is empty, error popup shown instead.
Editor shown with the correct content, no error.
Created attachment 790390 [details]
server log excerpt
Error as shown in the server log.
Update for ER4:
The issue still persists, the malicious work item definition is the default one (generated when new .bpmn2 process definition is created). When this WID exists in a project, no guided decision table can be opened in this project.
error message when opening the GDT: Unable to complete your request. The following exception occured: java.util.ArrayList cannot be cast to java.util.Map.
I have found out that having only "Log" work item in the definition is sufficient to reproduce the issue:
"name" : "Log",
"parameters" : [
"Message" : new StringDataType()
"displayName" : "Log",
"icon" : "defaultlogicon.gif"
I've made "New Work Item Definition" (and the default template) work consistently with the Work Item Definitions generated with a new process.
Verified on BRMS-6.0.0.ER5