[rules-users] Null pointer when inserting into working memory

Edson Tirelli ed.tirelli at gmail.com
Thu Oct 15 12:54:37 EDT 2009


   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 at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091015/ffe3e9c1/attachment.html 


More information about the rules-users mailing list