<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I noticed one error in the build:<br>
-------------------------------------------------------------------------------<br>
Test set: org.drools.integrationtests.DynamicRulesTest<br>
-------------------------------------------------------------------------------<br>
Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.5
sec <<< FAILURE!<br>
testDynamicFunction(org.drools.integrationtests.DynamicRulesTest) Time
elapsed: 0.062 sec <<< ERROR!<br>
java.lang.NoClassDefFoundError: org/drools/test/AddFive<br>
at
org.drools.test.Rule_global_rule_test_0.consequence(Rule_global_rule_test_0.java:9)<br>
at
org.drools.test.Rule_global_rule_test_0ConsequenceInvoker.evaluate(Rule_global_rule_test_0ConsequenceInvoker.java:20)<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:477)<br>
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:439)<br>
at
org.drools.integrationtests.DynamicRulesTest.testDynamicFunction(DynamicRulesTest.java:311)<br>
<br>
Scott Reed's message received 4/9/2008 5:25 PM:
<blockquote cite="mid:47FD344D.8070909@avacoda.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
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
cite="mid:e6dd5ba30804091124l417e0ed7nf3ecbe586b4850fd@mail.gmail.com"
type="cite"><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 moz-do-not-send="true" href="http://4.0.8.">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
moz-do-not-send="true" 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">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 class="Wj3C7c"><br>
Scott,<br>
<br>
I believe this is fixed already. Can you try it out and let us know?<br>
<br>
<a moz-do-not-send="true"
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
moz-do-not-send="true" 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<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.jboss.com" target="_blank">www.jboss.com</a> </div>
</div>
<pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org"
target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</div></pre>
</blockquote>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.jboss.com">www.jboss.com</a>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
</body>
</html>