I am going to give a look at it.<br><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 9:11 AM, Esteban Aliverti <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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<span class="HOEnZb"><font color="#888888"><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>



</font></span></div>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>