Have not tried this with 5.  <br><br>Don&#39;t know if this makes a difference or not but I just added the following to our working memory config:<br><br>rbconf.setShadowProxyExcludes(&quot;com.m2syscorp.i24card.rulesengine.facts.CountryGroup com.m2syscorp.i24card.rulesengine.facts.MerchantCategoryGroup&quot;);<br>
<br>Neither of those class facts are modified.  We insert them, match on them, retract them.  <br><br clear="all">Scott<br><br><br>
<br><br><div class="gmail_quote">On Thu, Oct 15, 2009 at 12:27 PM, Scott Burrows <span dir="ltr">&lt;<a href="mailto:scottjburrows@gmail.com">scottjburrows@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi all,<br><br>Using 4.0.7.<br><br>I am getting this null pointer when doing an Insert into working memory.   <br><br>I know the object I am inserting is not null.<br><br><br>java.lang.NullPointerException<br>at org.drools.util.PrimitiveLongStack$Page.remove(PrimitiveLongStack.java:137)<br>

at org.drools.util.PrimitiveLongStack.pop(PrimitiveLongStack.java:69)<br>at org.drools.common.AbstractFactHandleFactory.newFactHandle(AbstractFactHandleFactory.java:44)<br>at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:785)<br>

at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:684)<br><br><br>Any idea what might be causing this?  <br><font color="#888888"><br><br clear="all">Scott<br><br><br>
</font></blockquote></div><br>