<br> The bad news is that you just won the 1st bug reported in 4.0.5.. :(<br><br> I opened a ticket for that:<br><br><a href="http://jira.jboss.com/jira/browse/JBRULES-1519">http://jira.jboss.com/jira/browse/JBRULES-1519</a><br>
<br> I just committed the fix to the 4.0.x branch. Can you please double check it is working now? you can build from source from here:<br><br><a href="http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/">http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/</a><br>
<br> []s<br> Edson<br><br><div><span class="gmail_quote">2008/3/20, Markus Helbig <<a href="mailto:mhelbig81@googlemail.com">mhelbig81@googlemail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Drools users,<br> <br> i tried to replace Drools 4.0.4 with 4.0.5 and know i get the following errors:<br> <br> [20.03.08 09:21:24:100 CET] 00000036 SystemOut O 2008-03-20<br> 09:21:24 XXX XXXX ERROR Exception executing predicate<br>
org.drools.base.mvel.MVELPredicateExpression@329c329c -<br> org.drools.RuntimeDroolsException: Exception executing predicate<br> org.drools.base.mvel.MVELPredicateExpression@329c329c<br> org.drools.RuntimeDroolsException: Exception executing predicate<br>
org.drools.base.mvel.MVELPredicateExpression@329c329c<br> at org.drools.rule.PredicateConstraint.isAllowed(PredicateConstraint.java:216)<br> at org.drools.rule.OrConstraint.isAllowed(OrConstraint.java:50)<br>
at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:137)<br> at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:318)<br> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)<br>
at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:22)<br> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)<br> at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:22)<br>
at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)<br> at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:318)<br> at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:153)<br>
at org.drools.reteoo.Rete.assertObject(Rete.java:175)<br> at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:192)<br> at org.drools.reteoo.ReteooWorkingMemory.doInsert(ReteooWorkingMemory.java:71)<br>
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:915)<br> at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:887)<br> at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:688)<br>
<br> Caused by:<br> java.lang.ClassCastException:<br> org/drools/rule/AbstractCompositeConstraint$MultiFieldConstraintContextEntry<br> incompatible with<br> org/drools/rule/PredicateConstraint$PredicateContextEntry<br> at org.drools.rule.PredicateConstraint.isAllowed(PredicateConstraint.java:209)<br>
at org.drools.rule.OrConstraint.isAllowed(OrConstraint.java:50)<br> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:137)<br> at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:318)<br>
at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)<br> at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:22)<br> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)<br>
at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:22)<br> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)<br> at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:318)<br>
at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:153)<br> at org.drools.reteoo.Rete.assertObject(Rete.java:175)<br> at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:192)<br>
at org.drools.reteoo.ReteooWorkingMemory.doInsert(ReteooWorkingMemory.java:71)<br> at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:915)<br> at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:887)<br>
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:688)<br> <br> What do i have to change? Do i miss sth important?<br> <br> Cheers<br> <br> Markus<br> _______________________________________________<br>
rules-users mailing list<br> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>