[jboss-jira] [JBoss JIRA] (JBRULES-3372) kbase.addKnowledgePackages() infinite loop

Mario Fusco (JIRA) jira-events at lists.jboss.org
Fri Feb 3 07:43:48 EST 2012


     [ https://issues.jboss.org/browse/JBRULES-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved JBRULES-3372.
----------------------------------

    Fix Version/s: 5.4.0.CR1
       Resolution: Done


It wasn't an infinite loop but only a very slow execution due to an inefficient traversal of the rete network while updating it. I just improved that traversal algorithm.
                
> kbase.addKnowledgePackages() infinite loop
> ------------------------------------------
>
>                 Key: JBRULES-3372
>                 URL: https://issues.jboss.org/browse/JBRULES-3372
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.4.0.Beta2
>            Reporter: Esteban Aliverti
>            Assignee: Mario Fusco
>              Labels: addKnowledgePackage, infinite-loop,, kbase,
>             Fix For: 5.4.0.CR1
>
>         Attachments: Screen Shot 2012-02-02 at 8.13.01 AM.png, testProject.zip
>
>
> I have attached a simple project containing just 1 rule and some model classes.
> The rule is compiled ok, but when I try to add the generated package to a kbase, an infinite-loop (or what it seems like an infinite-loop) occurs.
> If you remove some of the patterns in the rule, everything works fine.
> I have debugged up to RuleTerminalNode.networkUpdated(). The execution never returns from that method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list