<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 14/07/2011 10:10, Wolfgang Laun wrote:
<blockquote
cite="mid:CANaj1LfDy9F9sw05GnN38DyAb-wtnAXGUSpuuf9vQpK373jrSg@mail.gmail.com"
type="cite">On 13 July 2011 17:09, John <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:jfullard@progeny.net">jfullard@progeny.net</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
Interesting... I have no idea why the KnowledgeBuilder would
compile the DRL<br>
differently than the KnowledgeAgent,</blockquote>
<div><br>
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.<br>
-W<br>
</div>
</div>
</blockquote>
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....<br>
<br>
I believe estaban is working on this issue and it may already be
fixed.<br>
<br>
Mark<br>
<blockquote
cite="mid:CANaj1LfDy9F9sw05GnN38DyAb-wtnAXGUSpuuf9vQpK373jrSg@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;"> but I don't think I had this problem in<br>
5.1.1. I'm up and running now with the type fully declared in
DRL and I can<br>
live with that. Thanks for looking into this.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/NPE-on-fact-insertion-if-rule-has-sliding-window-tp3163261p3166323.html"
target="_blank">http://drools.46999.n3.nabble.com/NPE-on-fact-insertion-if-rule-has-sliding-window-tp3163261p3166323.html</a><br>
</font>
<div>
<div class="h5">Sent from the Drools: User forum mailing
list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>