<br> Seems like a hashcode() problem... can you get a self contained test case and open a JIRA for it?<br><br> []s<br> Edson<br><br><div><span class="gmail_quote">2007/5/24, Jones, Alan R <<a href="mailto:alan.r.jones@boeing.com">
alan.r.jones@boeing.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>I have a method in my code that creates a RuleBase,
then adds a new WorkingMemory. I then put that that RuleBase into a Hashtable
for later use. Another method receives a Fact along with a reference for an
associated rulebase. One these are received, I get the rulebase from the
hashtable, then use Set iterator to retrieve the working memory i originally
created. At this point I would assert the fact into the
retrieved WorkingMemory. However, i get a null pointer, that is, there is
no WorkingMemory inside (returned by the Iterator) the RuleBase any longer. Any
ideas what is going on?</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>What is even more strange, when I step through the code
in debug mode (MyEclipse), it works fine. Just doesn't work at normal
runtime.</span></font></div>
<div> </div>
<p><span lang="en-us"><font face="Arial" size="2">Thanks,</font></span> </p>
<p><span lang="en-us"><font face="Arial" size="2">Alan J</font></span>
</p></div>
<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" 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> Software Engineer - JBoss Rules Core Developer<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>