<br> Can you provide a self contained test to reproduce the problem and attach it to a JIRA? I will fix it.<br><br> Thanks<br><br> []s<br> Edson<br><br><div class="gmail_quote">2008/4/9 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;">
<div bgcolor="#ffffff" text="#000000">
I am seeing the same ReteTuple.get( Declaration ) NPE when I run the
app with both 4.0.7 jars.<br>
If this is a known bug, it appears not to have been fixed in this
version.<br>
<br>
Edson Tirelli's message received 4/9/2008 8:05 PM:
<blockquote type="cite"><div><div></div><div class="Wj3C7c"><br>
yes, the error in a test would stop the build process. Use the skip
option I mentioned in my other e-mail.<br>
<br>
[]s<br>
Edson<br>
<br>
<div class="gmail_quote">2008/4/9 Scott Reed <<a href="mailto:sreed@avacoda.com" target="_blank">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;">
<div bgcolor="#ffffff" text="#000000">
I think the compiler jar failed to build perhaps due to the error?<br>
<br>
Edson Tirelli's message received 4/9/2008 6:14 PM:
<blockquote type="cite">
<div>
<div><br>
After the build, you can find the jars in:<br>
<br>
drools-core/target<br>
drools-compiler/target<br>
<br>
Their version must always match or you will end up with other
problems.<br>
<br>
[]s<br>
Edson<br>
<br>
<br>
<br>
<div class="gmail_quote">2008/4/9 Scott Reed <<a href="mailto:sreed@avacoda.com" target="_blank">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;">
<div bgcolor="#ffffff" text="#000000">I built it but can only
find
the core jar file, nothing for the
compiler. With just the core jar replaced, I still get the NPE.<br>
<br>
Edson Tirelli's message received 4/9/2008 2:24 PM:
<blockquote type="cite">
<div>
<div><br>
Nope, only source code. <br>
Problem is 4.0.x will be released as 4.0.7, and if your specific
problem is fixed and you are not able to test before the release, it
will have to wait <a href="http://4.0.8." target="_blank">4.0.8.</a><br>
<br>
All you need to build drools is java, maven and ant. Can you set
this up?<br>
<br>
[]s<br>
Edson<br>
<br>
<br>
<div class="gmail_quote">2008/4/9 Scott Reed <<a href="mailto:sreed@avacoda.com" target="_blank">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;">
<div bgcolor="#ffffff" text="#000000">Glad to hear that.
However, I am not set up to do my own drools build
and it looks like the link you sent is for the source. Is there a set
of jars for 4.0.x that I can test from? Here is what I am using now:<br>
<blockquote>antlr-runtime-3.0.jar<br>
core-3.2.3.v_686_R32x.jar<br>
drools-compiler-4.0.4.jar<br>
drools-core-4.0.4.jar<br>
mvel14-1.2.21.jar<br>
xstream-1.2.2.jar<br>
</blockquote>
Thanks,<br>
Scott<br>
<br>
Edson Tirelli's message received 4/9/2008 11:46 AM:
<blockquote type="cite">
<div>
<div><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/" target="_blank">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" target="_blank">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><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</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div></div></div>
<snip><br>
</blockquote>
</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">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></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>