<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=948451019-24052007>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=948451019-24052007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=948451019-24052007>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 face=Arial color=#0000ff size=2><SPAN
class=948451019-24052007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=948451019-24052007>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><!-- Converted from text/rtf format -->
<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></BODY></HTML>