<br>&nbsp;&nbsp; Seems like a hashcode() problem... can you get a self contained test case and open a JIRA for it?<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/5/24, Jones, Alan R &lt;<a href="mailto:alan.r.jones@boeing.com">
alan.r.jones@boeing.com</a>&gt;:</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>&nbsp;</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&nbsp;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>&nbsp;</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&#39;t work at normal 
runtime.</span></font></div>
<div>&nbsp;</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>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>