You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/03/14 18:27:23 UTC
DO NOT REPLY [Bug 44607] New: Endless loop in ElementListUtils
https://issues.apache.org/bugzilla/show_bug.cgi?id=44607
Summary: Endless loop in ElementListUtils
Product: Fop
Version: 0.94
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P2
Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: schroeder@dakosy.de
if i execute 'fop FOP_Error.fo fo-result.pdf'
from the command-line using 'fop-0.94-bin',
FOP-0.94 runs into an endless loop.
Under FOP-0.93 it works fine.
The problem is the second fo:block
(with content 'Inner table: 2,1, block 2')
org.apache.fop.layoutmgr.ElementListUtils
...
public static void removeLegalBreaks(LinkedList elements) {
ListIterator i = elements.listIterator();
while (i.hasNext()) {
ListElement el = (ListElement)i.next();
if (el.isPenalty()) {
BreakElement breakPoss = (BreakElement)el;
//Convert all penalties no break inhibitors
if (breakPoss.getPenaltyValue() < KnuthPenalty.INFINITE) {
breakPoss.setPenaltyValue(KnuthPenalty.INFINITE);
}
} else if (el.isGlue()) {
i.previous(); // here el.isBox()=false ...!
if (el.isBox()) {
i.next();
i.add(new KnuthPenalty(0, KnuthPenalty.INFINITE, false,
null, false));
}
}
}
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44607] Endless loop in ElementListUtils
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44607
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-01 13:55:43 UTC ---
batch transition to closed remaining pre-FOP1.0 resolved bugs
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44607] Endless loop in ElementListUtils
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44607
--- Comment #1 from Joerg Schroeder <sc...@dakosy.de> 2008-03-14 10:29:36 PST ---
Created an attachment (id=21667)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21667)
Example
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44607] Endless loop in ElementListUtils
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44607
Vincent Hennebert <vi...@anyware-tech.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Vincent Hennebert <vi...@anyware-tech.com> 2008-03-14 10:44:07 PST ---
Thanks for reporting the bug. It has recently been fixed in Trunk so the
problem will not appear in the upcoming 0.95 version.
*** This bug has been marked as a duplicate of bug 44071 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.