[rules-users] Upgrade 4.0.4 to 4.0.5 failed !?
Edson Tirelli
tirelli at post.com
Thu Mar 20 08:39:37 EDT 2008
The bad news is that you just won the 1st bug reported in 4.0.5.. :(
I opened a ticket for that:
http://jira.jboss.com/jira/browse/JBRULES-1519
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:
http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/
[]s
Edson
2008/3/20, Markus Helbig <mhelbig81 at googlemail.com>:
>
> Dear Drools users,
>
> i tried to replace Drools 4.0.4 with 4.0.5 and know i get the following
> errors:
>
> [20.03.08 09:21:24:100 CET] 00000036 SystemOut O 2008-03-20
> 09:21:24 XXX XXXX ERROR Exception executing predicate
> org.drools.base.mvel.MVELPredicateExpression at 329c329c -
> org.drools.RuntimeDroolsException: Exception executing predicate
> org.drools.base.mvel.MVELPredicateExpression at 329c329c
> org.drools.RuntimeDroolsException: Exception executing predicate
> org.drools.base.mvel.MVELPredicateExpression at 329c329c
> at org.drools.rule.PredicateConstraint.isAllowed(
> PredicateConstraint.java:216)
> at org.drools.rule.OrConstraint.isAllowed(OrConstraint.java:50)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:137)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(
> CompositeObjectSinkAdapter.java:318)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)
> at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(
> SingleObjectSinkAdapter.java:22)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)
> at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(
> SingleObjectSinkAdapter.java:22)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(
> CompositeObjectSinkAdapter.java:318)
> at org.drools.reteoo.ObjectTypeNode.assertObject(
> ObjectTypeNode.java:153)
> at org.drools.reteoo.Rete.assertObject(Rete.java:175)
> at org.drools.reteoo.ReteooRuleBase.assertObject(
> ReteooRuleBase.java:192)
> at org.drools.reteoo.ReteooWorkingMemory.doInsert(
> ReteooWorkingMemory.java:71)
> at org.drools.common.AbstractWorkingMemory.insert(
> AbstractWorkingMemory.java:915)
> at org.drools.common.AbstractWorkingMemory.insert(
> AbstractWorkingMemory.java:887)
> at org.drools.common.AbstractWorkingMemory.insert(
> AbstractWorkingMemory.java:688)
>
> Caused by:
> java.lang.ClassCastException:
>
> org/drools/rule/AbstractCompositeConstraint$MultiFieldConstraintContextEntry
> incompatible with
> org/drools/rule/PredicateConstraint$PredicateContextEntry
> at org.drools.rule.PredicateConstraint.isAllowed(
> PredicateConstraint.java:209)
> at org.drools.rule.OrConstraint.isAllowed(OrConstraint.java:50)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:137)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(
> CompositeObjectSinkAdapter.java:318)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)
> at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(
> SingleObjectSinkAdapter.java:22)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)
> at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(
> SingleObjectSinkAdapter.java:22)
> at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145)
> at
> org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(
> CompositeObjectSinkAdapter.java:318)
> at org.drools.reteoo.ObjectTypeNode.assertObject(
> ObjectTypeNode.java:153)
> at org.drools.reteoo.Rete.assertObject(Rete.java:175)
> at org.drools.reteoo.ReteooRuleBase.assertObject(
> ReteooRuleBase.java:192)
> at org.drools.reteoo.ReteooWorkingMemory.doInsert(
> ReteooWorkingMemory.java:71)
> at org.drools.common.AbstractWorkingMemory.insert(
> AbstractWorkingMemory.java:915)
> at org.drools.common.AbstractWorkingMemory.insert(
> AbstractWorkingMemory.java:887)
> at org.drools.common.AbstractWorkingMemory.insert(
> AbstractWorkingMemory.java:688)
>
> What do i have to change? Do i miss sth important?
>
> Cheers
>
> Markus
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080320/b4b98022/attachment.html
More information about the rules-users
mailing list