<div dir="ltr"><div>Hi,<br></div>Tell me if your need more help.<br>Cheers<br>Nicolas Héron<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/17 peter.kutzner [via Drools] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4025997&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hi Nicolas
<br><br>No, i don&#39;t create any objects within the rules. 
<br>I only update some fields.
<br><br>I created the rules with Guvnor and also testcases for each rule and my workflow.
<br>And all of them are green and do not produce infinite loops.
<br>But after running some testcases, i got the same errors as in my test programm.
<br><br>Usually the exception that is thrown referes to:
<br><i>Exception in thread &quot;main&quot; Exception executing consequence for rule &quot;MyRule_01&quot; in com.myrules: java.lang.RuntimeException: cannot invoke method: update
<br>at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
<br>...
<br>Caused by: java.lang.NoSuchMethodError: com.mymodel.MyEnum.compareTo(Lcom/mymodel/MyEnum;)I
<br>at ConditionEvaluator6e5efa52c5ec4cb3b427987c361bed94.evaluate(Unknown Source) ...</i><br><br>My mentioned testloop contains only five different sets of data and the same dataset that passes the 
<br>first loops (3 to 9) crash on the next one. And looping with the same input data i got the save behvouir.
<br>Using different input data different rules cause the problem, same data same rule.
<br><br>Ok, i&#39;ll try to add a debug listener.
<br><br>Creating smaller rules files will be my next approach. But i think then i need to create seperate knowledgebase (for each rule chunk). That makes it difficult to process the workflow from one KB to the next KB (i have some big decision tables and i need to pass every of them to get my results)
<br><br>Regards
<br>Peter

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974p4025996.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974p4025996.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Drools: User forum, email <a href="/user/SendEmail.jtp?type=node&node=4025997&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Drools, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                Nicolas Héron
                        </div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974p4025997.html">Re: Drools 5.5 : Problems with big rules file (~1.5Meg)</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>