I've never seen this error before. Did you tried Drools 5? The error still happens? Can you recreate in a junit test case?

   Edson

2009/10/15 Scott Burrows <scottjburrows@gmail.com>

Hi all,

Using 4.0.7.

I am getting this null pointer when doing an Insert into working memory.  

I know the object I am inserting is not null.


java.lang.NullPointerException
at org.drools.util.PrimitiveLongStack$Page.remove(PrimitiveLongStack.java:137)
at org.drools.util.PrimitiveLongStack.pop(PrimitiveLongStack.java:69)
at org.drools.common.AbstractFactHandleFactory.newFactHandle(AbstractFactHandleFactory.java:44)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:785)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:684)


Any idea what might be causing this? 


Scott