0 Replies Latest reply on Dec 27, 2011 1:04 PM by out sider

    Domain-specific processes error HashMap to List

    out sider Newbie

      I was trying to implement the example in the user guide to use a service task which is defined through the .conf file.

       

      The example is here :

      http://docs.jboss.org/jbpm/v5.2/userguide/ch13.html#d0e3937

       

      I copied the JavaNodeDefinition.conf content to the correct directory and added its name to the drools.rulebase.conf.

       

      But when I try to open the bpmn file in eclipse (so I can use the new service task) I get the following error:

       

      Could not parse work definitions JavaNodeDefinition.conf: java.util.HashMap cannot be cast to java.util.List.

       

      If anyone has any suggestions I would be very much apericiated.

       

      Update: Using the Notification example instead of the JavaNodeDefinition works. But I still don't know why JavaNodeDefinitions doesn't.