[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2296) Infinite loop in OutputMarshaller
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Wed May 18 00:13:02 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor resolved JBRULES-2296.
-----------------------------------
Resolution: Duplicate Issue
I just tried the unit test and it seems this now works. I verified the patch against trunk and they now match. I committed your unit test to catch further regressions.
> 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