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"><<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>></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'm having a NPE in one of the rules I'm using and I can't find the cause. </div><div>I'm attaching a test project that shows the problem. </div>
<div>Basically, I have 1 rule that contains some nested 'ands' and 'ors' 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'm not sure whether the original rule is wrong or if I'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>