[rules-dev] [rules-users] NPE on fact insertion if rule has sliding window

Wolfgang Laun wolfgang.laun at gmail.com
Thu Jul 14 06:21:27 EDT 2011


On 14 July 2011 11:35, Mark Proctor <mproctor at codehaus.org> wrote:

>  On 14/07/2011 10:10, Wolfgang Laun wrote:
>
> On 13 July 2011 17:09, John <jfullard at progeny.net> wrote:
>
>> Interesting... I have no idea why the KnowledgeBuilder would compile the
>> DRL
>> differently than the KnowledgeAgent,
>
>
> There's a bug in the incremental build as done by the KnowledgeAgent. If
> the KA configuration property drools.agent.newInstance is set to false, some
> type information is not put into the new KBase.
> -W
>
> This might be related to the kagent using a HashMap instead of a
> LinkedHashMap to store resources, thus any updates may not be applied in the
> order that resources where defined....
>

Not likely with a single DRL in the Change Set XML and on the first build.

>
> I believe estaban is working on this issue and it may already be fixed.
>

Not yet.

-W


> Mark
>
>
>
>> but I don't think I had this problem in
>> 5.1.1.  I'm up and running now with the type fully declared in DRL and I
>> can
>> live with that.  Thanks for looking into this.
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/NPE-on-fact-insertion-if-rule-has-sliding-window-tp3163261p3166323.html
>>  Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> _______________________________________________
> rules-dev mailing listrules-dev at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-dev
>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110714/99871d6c/attachment.html 


More information about the rules-dev mailing list