<br> Hey Greg, please do open the JIRA.<br><br> Thanks<br> Edson<br><br><div class="gmail_quote">2009/5/27 Greg Barton <span dir="ltr"><<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
At seemingly random times I'm getting this exception:<br>
<br>
Exception in thread "Thread-5" java.lang.NullPointerException<br>
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1387)<br>
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1350)<br>
at org.drools.concurrent.UpdateObject.execute(UpdateObject.java:46)<br>
at org.drools.concurrent.CommandExecutor.run(CommandExecutor.java:78)<br>
at java.lang.Thread.run(Thread.java:619)<br>
<br>
I've only gotten the exception when using StatefulSession.asyncUpdate() from a separate thread.<br>
<br>
AbstractWorkingMemory.java:1387 is wrapped in an if statement that checks whether maintainTms==true, so setting that to false has apparently avoided the problem. (Can't be 100% sure, but it has been runnign for a few hours without exception.) The FactHandles I'm passing in to StatefulSession.asyncUpdate() are never null, so I can only guess that InternalFactHandle.getEqualityKey() is sometimes returning false.<br>
<br>
Do you want a JIRA on this? I can't recreate it reliably.<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>