[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List

bwestrich do-not-reply at jboss.com
Wed Oct 21 14:30:29 EDT 2009


Actually, I ran into one of these errors just now (java.lang.ClassCastException: org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to j
ava.util.List) and clearing the database didn't solve it.  

Digging a little deeper, it looks like (at least when a model is deployed in a JUnit environment) when the jBPM parser parses a model file, if there's an error (such as a java class is defined that can't be found, or a class cast exception), the exception is thrown to the console but parsing continues on. This leads to the above (hard to understand) error message occurring. If you look at your system console, you hopefully will see an exception just prior to the above one, which is more informative. 

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

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



More information about the jboss-user mailing list