On 14/07/2011 10:10, Wolfgang Laun wrote:
On 13 July 2011 17:09, John <jfull...@progeny.net <mailto:jfull...@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-us...@lists.jboss.org <mailto:rules-us...@lists.jboss.org>
    https://lists.jboss.org/mailman/listinfo/rules-users




_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to