Jett Gamboa [https://community.jboss.org/people/jett] created the discussion
"Timer BoundaryEvent and User Tasks" To view the discussion, visit: https://community.jboss.org/message/743232#743232 -------------------------------------------------------------- Does anyone know if Timer BoundaryEvents can work when attached to User Tasks? I created a simple process model (see attached) with the said scenario and KnowledgeBuilder is unable to parse the process file. java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.jbpm.bpmn2.xml.ProcessHandler.linkBoundaryEvents(ProcessHandler.java:333) at org.jbpm.bpmn2.xml.ProcessHandler.end(ProcessHandler.java:144) at org.drools.xml.ExtensibleXmlParser.endElement(ExtensibleXmlParser.java:417) ... I traced into source the issue and it fails in the following method from within *ProcessHandler.java* public static void linkBoundaryEvents(NodeContainer nodeContainer) { for (Node node: nodeContainer.getNodes()) { if (node instanceof EventNode) { final String attachedTo = (String) node.getMetaData().get("AttachedTo"); if (attachedTo != null) { String type = ((EventTypeFilter) *((EventNode) node).getEventFilters().get(0)).getType();* There appears to be no issues attaching Timers to other types of tasks. Thanks in advance for any insights into this. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/743232#743232] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
