<!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">
Edson, I sent this reply to you directly a week ago but it timed today
(now).<br>
<br>
I have no idea what is causing this so it's pretty much impossible for
me to create a self contained test. I can send you an installer for our
application with instructions so you can replicate the problem. I
couldn't post it in public.<br>
<br>
&nbsp; Scott<br>
<br>
<br>
Edson Tirelli's message received 4/10/2008 8:03 AM:
<blockquote
 cite="mid:e6dd5ba30804100503l2ad72494j551194cf543f7614@mail.gmail.com"
 type="cite"><br>
&nbsp;&nbsp;&nbsp; Can you provide a self contained test to reproduce the problem and
attach it to a JIRA? I will fix it.<br>
  <br>
&nbsp;&nbsp;&nbsp; Thanks<br>
  <br>
&nbsp;&nbsp;&nbsp; []s<br>
&nbsp;&nbsp;&nbsp; Edson<br>
  <br>
  <div class="gmail_quote">2008/4/9 Scott Reed &lt;<a
 moz-do-not-send="true" href="mailto:sreed@avacoda.com">sreed@avacoda.com</a>&gt;:<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 class="Wj3C7c"><br>
&nbsp;&nbsp; yes, the error in a test would stop the build process. Use the skip
option I mentioned in my other e-mail.<br>
      <br>
&nbsp;&nbsp; []s<br>
&nbsp;&nbsp; Edson<br>
      <br>
      <div class="gmail_quote">2008/4/9 Scott Reed &lt;<a
 moz-do-not-send="true" href="mailto:sreed@avacoda.com" target="_blank">sreed@avacoda.com</a>&gt;:<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>
&nbsp;&nbsp; After the build, you can find the jars in:<br>
          <br>
drools-core/target<br>
drools-compiler/target<br>
          <br>
&nbsp;&nbsp; Their version must always match or you will end up with other
problems.<br>
          <br>
&nbsp;&nbsp;&nbsp; []s<br>
&nbsp;&nbsp;&nbsp; Edson<br>
          <br>
          <br>
          <br>
          <div class="gmail_quote">2008/4/9 Scott Reed &lt;<a
 moz-do-not-send="true" href="mailto:sreed@avacoda.com" target="_blank">sreed@avacoda.com</a>&gt;:<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>
&nbsp;&nbsp; Nope, only source code. <br>
&nbsp;&nbsp; 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."
 target="_blank">4.0.8.</a><br>
              <br>
&nbsp;&nbsp; All you need to build drools is java, maven and ant. Can you set
this up?<br>
              <br>
&nbsp;&nbsp; []s<br>
&nbsp;&nbsp; Edson<br>
              <br>
              <br>
              <div class="gmail_quote">2008/4/9 Scott Reed &lt;<a
 moz-do-not-send="true" href="mailto:sreed@avacoda.com" target="_blank">sreed@avacoda.com</a>&gt;:<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>
&nbsp; Scott<br>
                <br>
Edson Tirelli's message received 4/9/2008 11:46 AM:
                <blockquote type="cite">
                  <div>
                  <div><br>
&nbsp;&nbsp; Scott,<br>
                  <br>
&nbsp;&nbsp; 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>
&nbsp;&nbsp; []s<br>
&nbsp;&nbsp; Edson<br>
                  <br>
                  <br>
                  <div class="gmail_quote">2008/4/8 Scott Reed &lt;<a
 moz-do-not-send="true" href="mailto:sreed@avacoda.com" target="_blank">sreed@avacoda.com</a>&gt;:<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>
&nbsp;Scott<br>
                      <br>
java.lang.NullPointerException<br>
&nbsp; at org.drools.reteoo.ReteTuple.get(ReteTuple.java:97)<br>
&nbsp; 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>
&nbsp; at
org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)<br>
&nbsp; at
org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)<br>
&nbsp; at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:471)
                      <br>
&nbsp; at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:433)
                      <br>
&nbsp; at
org.fp.rules.RuleEngineManager$RunTask.run(RuleEngineManager.java:225)<br>
org.drools.spi.ConsequenceException: java.lang.NullPointerException<br>
&nbsp; at
org.drools.base.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:14)
                      <br>
&nbsp; at
org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:554)<br>
&nbsp; at
org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)<br>
&nbsp; at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:471)
                      <br>
&nbsp; at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:433)
                      <br>
&nbsp; at
org.fp.rules.RuleEngineManager$RunTask.run(RuleEngineManager.java:225)<br>
Caused by: java.lang.NullPointerException<br>
&nbsp; at org.drools.reteoo.ReteTuple.get(ReteTuple.java:97)<br>
&nbsp; 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>
&nbsp; at
org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)<br>
&nbsp; ... 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>
&lt;snip&gt;<br>
    </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 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>