DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39870>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39870 Summary: Some content could not fit into a line/page Product: Fop Version: 0.92 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: pdf AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: [EMAIL PROTECTED] Hi, I got the following exception on producing pdf file. The error and the fo file will be provided below. Sorry it is too long but there is no way for me to attach them. Thank you very much, Hao Error: ERROR: 'Some content could not fit into a line/page after 50 attempts. Giving up to avoid an endless loop. (fo:block, location: 21/325)' javax.xml.transform.TransformerException: java.lang.RuntimeException: Some content could not fit into a line/page after 50 attempts. Giving up to avoid an endless loop. (fo:block, location: 21/325) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform (TransformerImpl.java:647) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform (TransformerImpl.java:279) at embedding.ExampleFO2PDF.convertFO2PDF(ExampleFO2PDF.java:88) at embedding.ExampleFO2PDF.main(ExampleFO2PDF.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) Caused by: java.lang.RuntimeException: Some content could not fit into a line/page after 50 attempts. Giving up to avoid an endless loop. (fo:block, location: 21/325) at org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints (BreakingAlgorithm.java:434) at org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints (BreakingAlgorithm.java:339) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout (AbstractBreaker.java:289) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout (AbstractBreaker.java:220) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout (PageSequenceLayoutManager.java:152) at org.apache.fop.area.AreaTreeHandler.endPageSequence (AreaTreeHandler.java:320) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:147) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement (FOTreeBuilder.java:357) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193) at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement (ToXMLSAXHandler.java:262) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement (AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement (XMLNSDocumentScannerImpl.java:719) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragment ContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocu ment(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse (XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse (AbstractSAXParser.java:1242) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity (TransformerImpl.java:557) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform (TransformerImpl.java:638) ... 8 more =================The fo file=============================== <?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:html="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" writing-mode="lr-tb" hyphenate="false" text-align="start" role="html:html"><fo:layout-master- set><fo:simple-page-master margin="25mm 25mm 25mm 25mm" master- name="PageMaster-TOC" page-height="8in" page-width="11in"><fo:region-body margin="0mm 0mm 0mm 0mm"/></fo:simple-page-master><fo:simple-page-master page- width="auto" page-height="auto" master-name="all-pages"><fo:region-body margin- top="1in" margin-right="1in" margin-bottom="1in" margin-left="1in" column- count="1" column-gap="12pt"/><fo:region-before region-name="page-header" extent="1in" display-align="before"/><fo:region-after region-name="page- footer" extent="1in" display-align="after"/><fo:region-start extent="1in"/><fo:region-end extent="1in"/></fo:simple-page-master></fo:layout- master-set><fo:page-sequence master-reference="PageMaster-TOC" force-page- count="no-force"><fo:flow flow-name="xsl-region-body" font- size="18pt"><fo:block space-after="12pt" id="TableOfContents" line- height="21pt" font-size="18pt" text-align="start"> Table of Contents </fo:block><fo:block text-align-last="justify" margin-left="0em" space- before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1072">52.2</fo:basic-link><fo:leader leader-pattern="dots" leader-pattern-width="5pt"/><fo:page-number-citation ref- id="topic1072"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1081">Cancellation, Rescission, and Recovery of Funds for Illegal or Improper Activity (Over $100,000)</fo:basic-link><fo:leader leader-pattern="dots" leader-pattern- width="5pt"/><fo:page-number-citation ref-id="topic1081"/></fo:block><fo:block text-align-last="justify" margin-left="0em" space-before="5pt" font- size="1em"><fo:basic-link internal-destination="topic1082">Price or Fee Adjustment for Illegal or Improper Activity (Over $100,000)</fo:basic- link><fo:leader leader-pattern="dots" leader-pattern-width="5pt"/><fo:page- number-citation ref-id="topic1082"/></fo:block><fo:block text-align- last="justify" margin-left="0em" space-before="5pt" font-size="1em"><fo:basic- link internal-destination="topic1083">Limitation on Payments to Influence Certain Federal Transactions (Over $100,000) </fo:basic-link><fo:leader leader-pattern="dots" leader-pattern- width="5pt"/><fo:page-number-citation ref-id="topic1083"/></fo:block><fo:block text-align-last="justify" margin-left="0em" space-before="5pt" font- size="1em"><fo:basic-link internal-destination="topic1084">Printed or Copied Double-Sided on Recycled Paper (Over $100,000)</fo:basic-link><fo:leader leader-pattern="dots" leader-pattern-width="5pt"/><fo:page-number-citation ref- id="topic1084"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1085">Central Contractor Registration</fo:basic-link><fo:leader leader-pattern="dots" leader- pattern-width="5pt"/><fo:page-number-citation ref- id="topic1085"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1086">Protecting the Government's Interests When Subcontracting With Contractors Debarred, Suspended, or Proposed for Debarment (Over $25,000)</fo:basic-link><fo:leader leader-pattern="dots" leader-pattern- width="5pt"/><fo:page-number-citation ref-id="topic1086"/></fo:block><fo:block text-align-last="justify" margin-left="0em" space-before="5pt" font- size="1em"><fo:basic-link internal-destination="topic1087">Material Requirements</fo:basic-link><fo:leader leader-pattern="dots" leader- pattern-width="5pt"/><fo:page-number-citation ref- id="topic1087"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1088">Audit and Records - Sealed Bidding (Over $500,000)</fo:basic-link><fo:leader leader- pattern="dots" leader-pattern-width="5pt"/><fo:page-number-citation ref- id="topic1088"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1089">Price Reduction for Defective Cost or Pricing Data - Modifications - Sealed Bidding</fo:basic-link><fo:leader leader-pattern="dots" leader-pattern- width="5pt"/><fo:page-number-citation ref-id="topic1089"/></fo:block><fo:block text-align-last="justify" margin-left="0em" space-before="5pt" font- size="1em"><fo:basic-link internal-destination="topic1090">Subcontractor Cost or Pricing Data - Modifications - Sealed Bidding</fo:basic-link><fo:leader leader-pattern="dots" leader-pattern-width="5pt"/><fo:page-number-citation ref- id="topic1090"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1091">Order of Precedence - Sealed Bidding</fo:basic-link><fo:leader leader-pattern="dots" leader- pattern-width="5pt"/><fo:page-number-citation ref- id="topic1091"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1092">Audit and Records - Negotiation (Over $100,000)</fo:basic-link><fo:leader leader- pattern="dots" leader-pattern-width="5pt"/><fo:page-number-citation ref- id="topic1092"/></fo:block><fo:block text-align-last="justify" margin- left="0em" space-before="5pt" font-size="1em"><fo:basic-link internal- destination="topic1094">Order of Precedence - Sealed Bidding</fo:basic-link><fo:leader leader-pattern="dots" leader- pattern-width="5pt"/><fo:page-number-citation ref- id="topic1094"/></fo:block></fo:flow></fo:page-sequence> <fo:page-sequence master-reference="all-pages"><fo:static-content flow- name="page-header"><fo:block font-size="small" text-align="center" space- before.conditionality="retain" space-before="0.5in"/></fo:static- content><fo:static-content flow-name="page-footer"><fo:block font-size="small" text-align="center" space-after.conditionality="retain" space-after="0.5in">- <fo:page-number/> -</fo:block></fo:static-content><fo:flow flow-name="xsl- region-body"><fo:block role="html:body"> <fo:block role="html:div" id="1070"><fo:block role="html:div" id="topic1072" padding-top="10px"><fo:block role="html:div" id="content1072"><fo:block font- size="0.83em" font-weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within-column="always" keep-together.within-column="always" role="html:h5">52.2</fo:block></fo:block> <fo:block role="html:div" id="topic1081" padding-top="10px"><fo:block role="html:div" id="content1081"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Cancellation, Rescission, and Recovery of Funds for Illegal or Improper Activity (Over $100,000)</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1082" padding-top="10px"><fo:block role="html:div" id="content1082"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Price or Fee Adjustment for Illegal or Improper Activity (Over $100,000) </fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1083" padding-top="10px"><fo:block role="html:div" id="content1083"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Limitation on Payments to Influence Certain Federal Transactions (Over $100,000) </fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1084" padding-top="10px"><fo:block role="html:div" id="content1084"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Printed or Copied Double-Sided on Recycled Paper (Over $100,000) </fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1085" padding-top="10px"><fo:block role="html:div" id="content1085"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Central Contractor Registration</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1086" padding-top="10px"><fo:block role="html:div" id="content1086"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Protecting the Government's Interests When Subcontracting With Contractors Debarred, Suspended, or Proposed for Debarment (Over $25,000)</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1087" padding-top="10px"><fo:block role="html:div" id="content1087"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Material Requirements</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1088" padding-top="10px"><fo:block role="html:div" id="content1088"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Audit and Records - Sealed Bidding (Over $500,000) </fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1089" padding-top="10px"><fo:block role="html:div" id="content1089"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Price Reduction for Defective Cost or Pricing Data - Modifications - Sealed Bidding</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1090" padding-top="10px"><fo:block role="html:div" id="content1090"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Subcontractor Cost or Pricing Data - Modifications - Sealed Bidding</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1091" padding-top="10px"><fo:block role="html:div" id="content1091"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Order of Precedence - Sealed Bidding</fo:inline></fo:block></fo:block></fo:block> <fo:block role="html:div" id="topic1092" padding-top="10px"><fo:block role="html:div" id="content1092"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5"><fo:inline text-decoration="underline" role="html:u">Audit and Records - Negotiation (Over $100,000)</fo:inline></fo:block></fo:block> </fo:block> <fo:block role="html:div" id="topic1094" padding-top="10px"><fo:block role="html:div" id="content1094"><fo:block font-size="0.83em" font- weight="bold" space-before="1.33em" space-after="1.33em" keep-with-next.within- column="always" keep-together.within-column="always" role="html:h5">Order of Precedence - Sealed Bidding</fo:block></fo:block></fo:block> </fo:block></fo:block> </fo:block></fo:flow></fo:page-sequence></fo:root> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.