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

Scott Burrows scottjburrows at gmail.com
Thu Oct 15 13:03:33 EDT 2009


I added that one day before the Null pointers appeared.  It may not be
related.

Scott




On Thu, Oct 15, 2009 at 1:02 PM, Scott Burrows <scottjburrows at gmail.com>wrote:

> Have not tried this with 5.
>
> Don't know if this makes a difference or not but I just added the following
> to our working memory config:
>
> rbconf.setShadowProxyExcludes("com.m2syscorp.i24card.rulesengine.facts.CountryGroup
> com.m2syscorp.i24card.rulesengine.facts.MerchantCategoryGroup");
>
> Neither of those class facts are modified.  We insert them, match on them,
> retract them.
>
> Scott
>
>
>
>
>
> On Thu, Oct 15, 2009 at 12:27 PM, Scott Burrows <scottjburrows at gmail.com>wrote:
>
>>
>> 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/2a817c07/attachment.html 


More information about the rules-users mailing list