]
RH Bugzilla Integration commented on DROOLS-1025:
-------------------------------------------------
Ryan Zhang <rzhang(a)redhat.com> changed the Status of [bug
NPE removing a rule that contains a subnetwork
----------------------------------------------
Key: DROOLS-1025
URL:
https://issues.jboss.org/browse/DROOLS-1025
Project: Drools
Issue Type: Bug
Reporter: Mario Fusco
Assignee: Mario Fusco
Removing a rule containing a subnetwork causes the following NPE:
{code}
java.lang.NullPointerException
at
org.drools.core.phreak.AddRemoveRule.deletePeerLeftTuple(AddRemoveRule.java:777)
at org.drools.core.phreak.AddRemoveRule.followPeer(AddRemoveRule.java:749)
at
org.drools.core.phreak.AddRemoveRule.processLeftTuples(AddRemoveRule.java:713)
at
org.drools.core.phreak.AddRemoveRule.flushStagedTuples(AddRemoveRule.java:281)
at org.drools.core.phreak.AddRemoveRule.removeRule(AddRemoveRule.java:153)
at
org.drools.core.reteoo.ReteooBuilder.removeTerminalNode(ReteooBuilder.java:173)
at org.drools.core.reteoo.ReteooBuilder.removeRule(ReteooBuilder.java:163)
at
org.drools.core.impl.KnowledgeBaseImpl.removeRule(KnowledgeBaseImpl.java:1635)
at
org.drools.core.impl.KnowledgeBaseImpl.removeRule(KnowledgeBaseImpl.java:1626)
at
org.drools.core.impl.KnowledgeBaseImpl.internalRemoveRule(KnowledgeBaseImpl.java:1610)
at
org.drools.core.impl.KnowledgeBaseImpl.removeRule(KnowledgeBaseImpl.java:1581)
{code}