<br> Scott,<br><br> I believe this is fixed already. Can you try it out and let us know?<br><br><a href="http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/">http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/</a><br>
<br> []s<br> Edson<br><br><br><div class="gmail_quote">2008/4/8 Scott Reed <<a href="mailto:sreed@avacoda.com">sreed@avacoda.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry, the NPE is in ReteTuple.get(Declaration)<br><font color="#888888">
<br>
Scott Reed's message received 4/8/2008 7:38 PM:</font><div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Running Drools 4.0.3, on Win 2k sp4, JDK 1.6.0_03.<br>
<br>
I am getting this exception after the debugger shows execution has gone past the end of the rule. The exception is occurring in ReteTuple.get(Descriptor). I believe the descriptor argument is null. Can anyone suggest why this might be happening and what I can do to avoid it?<br>
Thanks,<br>
Scott<br>
<br>
java.lang.NullPointerException<br>
at org.drools.reteoo.ReteTuple.get(ReteTuple.java:97)<br>
at org.fp.findata.Rule_2MS__Calculate_now_scheduled_or_periodic_transaction_0ConsequenceInvoker.evaluate(Rule_2MS__Calculate_now_scheduled_or_periodic_transaction_0ConsequenceInvoker.java:19) <br>
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)<br>
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)<br>
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:471) <br>
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:433) <br>
at org.fp.rules.RuleEngineManager$RunTask.run(RuleEngineManager.java:225)<br>
org.drools.spi.ConsequenceException: java.lang.NullPointerException<br>
at org.drools.base.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:14) <br>
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:554)<br>
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)<br>
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:471) <br>
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:433) <br>
at org.fp.rules.RuleEngineManager$RunTask.run(RuleEngineManager.java:225)<br>
Caused by: java.lang.NullPointerException<br>
at org.drools.reteoo.ReteTuple.get(ReteTuple.java:97)<br>
at org.fp.findata.Rule_2MS__Calculate_now_scheduled_or_periodic_transaction_0ConsequenceInvoker.evaluate(Rule_2MS__Calculate_now_scheduled_or_periodic_transaction_0ConsequenceInvoker.java:19) <br>
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)<br>
... 4 more<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>