it seems that getNodeTypes() and getNodeNames() in NodeTypes where never used until now :-)
from jbpm-jpdl-3.2.1 getNodeTypes() is returning nodeNames and vice versa.
package org.jbpm.graph.node; public class NodeTypes { public static Set getNodeTypes() { return nodeNames.keySet(); } public static Set getNodeNames() { return nodeTypes.keySet(); }
please file a jira issue for this