Hi Guys, <div>I&#39;m having a NPE in one of the rules I&#39;m using and I can&#39;t find the cause. </div><div>I&#39;m attaching a test project that shows the problem. </div><div>Basically, I have 1 rule that contains some nested &#39;ands&#39; and &#39;ors&#39; patterns. The rule is being auto-generated from some data, that is why it has this strange structure.</div>

<div>We tried to refactor the rule by separating it in different rules, extract some common factors, etc. and in some cases it works.</div><div>So I&#39;m not sure whether the original rule is wrong or if I&#39;m hitting a bug in Drools.</div>

<div>Inside the test project you can find the original rule (SimpleHighRiskSepsis.drl) and all the other refactors we did.</div><div><br></div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>

<br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


</div>