[rules-dev] [rules-users] NPE on fact insertion if rule has sliding window
Mark Proctor
mproctor at codehaus.org
Thu Jul 14 05:35:01 EDT 2011
On 14/07/2011 10:10, Wolfgang Laun wrote:
> On 13 July 2011 17:09, John <jfullard at progeny.net
> <mailto: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....
I believe estaban is working on this issue and it may already be fixed.
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 <mailto:rules-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
> _______________________________________________
> 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/ce7e7eba/attachment.html
More information about the rules-dev
mailing list