-
Bug
-
Resolution: Done
-
Major
-
None
-
7.68.0.Final, 8.44.0.Final, 9.43.0.Alpha
-
None
-
None
-
-
NEW
-
NEW
-
---
-
---
Very complex conditions are triggering an error that shows up like:
java.lang.NullPointerException: Cannot invoke "org.drools.core.reteoo.LeftTuple.getTupleSink()" because "lt" is null{}
I have reduced the complexity to 2 rules with similar conditions that differ where a fact finds itself with respect to an exists() call. The null "lt" is coming from a search through peers on a child of an ExistsNode. One of the tuples that get created and associated to this node do not point to the correct node and we run out of links when searching peers. This happens in the BetaNode.getStartTuple() method. Either the nodes or the tuples are not getting constructed correctly.