[jboss-dev-forums] [jBPM Development] - Re: Problem inserting in JBPM_JOB

Iecisa do-not-reply at jboss.com
Tue Oct 13 18:58:59 EDT 2009


well, actually, debugging, we found the problem is exactly here:

      actions.put(action.getName(), action);

in class ProcessDefinition in the method: addAction(Action action)

at the moment we fix it, replacing the line above by:

 if (! actions.containsKey(action.getName()))
      actions.put(action.getName(), action);

we don't understand why is necesary to insert each time the action into the Map. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260184#4260184

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260184



More information about the jboss-dev-forums mailing list