Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2670

[GSS](6.3.z) NPE happens in TupleSetsImpl.setNextTuple()

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.3.4
    • 6.3.3.GA
    • BRE
    • Hide

      rum mvn test with reproducer customer provided.
      (I can't attach it to the ticket as it contains customer's private data.)

      Show
      rum mvn test with reproducer customer provided. (I can't attach it to the ticket as it contains customer's private data.)

      In customer's performance test case, NPE happens in TupleSetsImpl.setNextTuple() with the following stack.

      java.lang.NullPointerException
      at org.drools.core.common.TupleSetsImpl.setNextTuple(TupleSetsImpl.java:352)
      at org.drools.core.common.TupleSetsImpl.removeInsert(TupleSetsImpl.java:168)
      at org.drools.core.phreak.RuleNetworkEvaluator.deleteChildLeftTuple(RuleNetworkEvaluator.java:729)
      at org.drools.core.phreak.RuleNetworkEvaluator.unlinkAndDeleteChildLeftTuple(RuleNetworkEvaluator.java:721)
      at org.drools.core.phreak.PhreakNotNode.doRightUpdates(PhreakNotNode.java:343)
      at org.drools.core.phreak.PhreakNotNode.doNode(PhreakNotNode.java:74)
      at org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:524)
      at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:505)
      at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:341)
      at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:301)
      at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:136)
      at org.drools.core.phreak.AddRemoveRule.forceFlushLeftTuple(AddRemoveRule.java:692)
      at org.drools.core.phreak.AddRemoveRule.flushLeftTupleIfNecessary(AddRemoveRule.java:629)
      at org.drools.core.reteoo.NotNode.assertObject(NotNode.java:161)
      at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:494)
      at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:384)
      at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:134)
      at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:494)
      at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:384)
      at org.drools.core.reteoo.ObjectTypeNode.propagateAssert(ObjectTypeNode.java:304)
      at org.drools.core.phreak.PropagationEntry$Insert.execute(PropagationEntry.java:132)
      at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:82)
      at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:72)
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.flushPropagations(StatefulKnowledgeSessionImpl.java:2053)
      at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:128)
      at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74)
      at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:960)
      at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1303)
      at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1241)
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1336)
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1327)
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1308)

              mfusco@redhat.com Mario Fusco
              rhn-support-hmiura Hiroko Miura
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: