[rules-users] java.lang.NoSuchMethodError on every Action node

retoy reto.lamprecht at allianz-suisse.ch
Thu Jul 22 05:17:45 EDT 2010


Hi Kris

Here is a small project which demonstrates a similar problem with two
actions. Unfortunately i could not reproduce the noSuchMethodError in this
setup yet, but i still think the behavior is not as it should be.

http://drools-java-rules-engine.46999.n3.nabble.com/file/n986527/demo.action.problem.zip
demo.action.problem.zip 

If both ruleflow packages have the same name and the two ruleflows are added
in this order:
        addRuleFlow(kbuilder, "demo.rf");
        addRuleFlow(kbuilder, "subflow.rf");
the output is:
execute subflow...
execute subflow...
If the two flows are added in reverse order, the output is:
demo ruleflow started...
demo ruleflow started...
If one of the package names is changed, the output is what I would expect:
demo ruleflow started...
execute subflow...
What do you think about that?

Reto
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/java-lang-NoSuchMethodError-on-every-Action-node-tp60886p986527.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list