[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2296) Infinite loop in OutputMarshaller

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed May 18 00:13:01 EDT 2011


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

Mark Proctor updated JBRULES-2296:
----------------------------------

    Fix Version/s: 5.2.0.CR1


> Infinite loop in OutputMarshaller
> ---------------------------------
>
>                 Key: JBRULES-2296
>                 URL: https://issues.jboss.org/browse/JBRULES-2296
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core, drools-core  (expert)
>    Affects Versions: 5.1.0.M1
>            Reporter: Maciej Prochniak
>            Assignee: Mark Proctor
>             Fix For: 5.2.0.CR1
>
>         Attachments: JBRULES-2296, MarshallFailTest.java
>
>
> in OutputMarshaller, there are 2 lines containing:
> for ( LeftTuple childLeftTuple = getLeftTuple( leftTuple.getBetaChildren() ); childLeftTuple != null; childLeftTuple = (LeftTuple) leftTuple.getLeftParentPrevious() ) {
> it leads to infinite loop, should be:
> for ( LeftTuple childLeftTuple = getLeftTuple( leftTuple.getBetaChildren() ); childLeftTuple != null; childLeftTuple = (LeftTuple) childLeftTuple.getLeftParentPrevious() ) {

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list