<div><span class="gmail_quote">On 7/23/09, <b class="gmail_sendername">Olaf Raether</b> <<a href="mailto:o.raether@epro.de">o.raether@epro.de</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The code looks like this:<br><br>RuleBase ruleBase = RuleBaseFactory.newRuleBase();<br>for (int i = 0; i < rules.length; i++) {<br>
Package pkg = getPackage(i);<br> ruleBase.addPackage(pkg);<br>}</blockquote>
<div> </div>
<div>I'd expect to find "Package pkg = rules[i];" or similar in the loop.</div>
<div>Anyway, this doesn't tell how the Package objects were created from your two rules files, which might be significant.</div>
<div> </div>
<div>Do you check for package build errors?</div>
<div> </div>
<div>-W</div>
<div> </div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">for (int i = 0; i < facts.length; i++) {<br> Object fact = facts[i];<br> workingMemory.insert(fact); // <<<<< Exception, when multiple rule files<br>
}<br><br></blockquote></div>