Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2584

java.lang.UnsupportedOperationException: LeftTupleSinkUpdateAdapter onlys supports assertLeftTuple method calls

    Details

      Description

      Dynamically adding rules with evals and modifying facts that reach those evals might raise the following exception:

      Caused by: java.lang.UnsupportedOperationException: LeftTupleSinkUpdateAdapter onlys supports assertLeftTuple method calls
      at org.drools.reteoo.EvalConditionNode$LeftTupleSinkUpdateAdapter.modifyLeftTuple(EvalConditionNode.java:462)
      at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateModifyChildLeftTuple(SingleLeftTupleSinkAdapter.java:223)
      at org.drools.reteoo.AccumulateNode.evaluateResultConstraints(AccumulateNode.java:637)
      at org.drools.reteoo.AccumulateNode.assertObject(AccumulateNode.java:269)
      at org.drools.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:434)
      at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:362)
      at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:344)
      at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:190)
      at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:147)
      at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1174)
      at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1123)
      at org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.java:128)
      at org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.java:122)
      at n3_project.helpers6.Rule_rpo_rules_small_n3_1_0.defaultConsequence(Rule_rpo_rules_small_n3_1_0.java:12)
      at n3_project.helpers6.Rule_rpo_rules_small_n3_1_0DefaultConsequenceInvoker.evaluate(Rule_rpo_rules_small_n3_1_0DefaultConsequenceInvoker.java:39)
      at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:917)
      ... 5 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tirelli Edson Tirelli
                  Reporter:
                  tirelli Edson Tirelli
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: