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

Maciej Prochniak (JIRA) jira-events at lists.jboss.org
Mon Oct 12 08:47:05 EDT 2009


Infinite loop in OutputMarshaller
---------------------------------

                 Key: JBRULES-2296
                 URL: https://jira.jboss.org/jira/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


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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list