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=32174>. 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=32174 Rendering fails with IndexOutOfBoundsException in LineLayoutManager Summary: Rendering fails with IndexOutOfBoundsException in LineLayoutManager Product: Fop Version: 1.0dev Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: page-master/layout AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Dear Developers, everytime i try and render a document created via the docbook-xsl stylesheets, it crashes with IndexOutOfBoundsException in LineLayoutManager. I am using a current (Nov 11 04) cvs checkout. jdk version is 1.4.2. The same error happens if I try with the -awt output. Fop 0.25 renders the same document fine. If you need the .fo file, I could provide that. Thanks $ ../../JavaLib/xml-fop/fop.bat -d silenus.fo -pdf silenus.pdf Building formatting object tree Current heap size: 1015Kb Starting layout No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 5.0 No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation Ending layout Current heap size: 2177Kb Starting layout null implementation of getWordSpaceIPD() called! No set of breaking points found with maxAdjustment = 1.0 null implementation of getWordChars() called! No set of breaking points found with maxAdjustment = 1.0 and hyphenation Could not find a set of breaking points null implementation of getWordSpaceIPD() called! No set of breaking points found with maxAdjustment = 1.0 null implementation of getWordChars() called! No set of breaking points found with maxAdjustment = 1.0 and hyphenation Could not find a set of breaking points Ending layout Current heap size: 2972Kb Starting layout null implementation of getWordSpaceIPD() called! No set of breaking points found with maxAdjustment = 1.0 null implementation of getWordChars() called! No set of breaking points found with maxAdjustment = 1.0 and hyphenation Could not find a set of breaking points Ending layout Current heap size: 3483Kb Starting layout No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 5.0 Could not find a set of breaking points No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation null implementation of getWordSpaceIPD() called! No set of breaking points found with maxAdjustment = 1.0 null implementation of getWordChars() called! No set of breaking points found with maxAdjustment = 1.0 and hyphenation Could not find a set of breaking points No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation null implementation of getWordSpaceIPD() called! No set of breaking points found with maxAdjustment = 1.0 null implementation of getWordChars() called! No set of breaking points found with maxAdjustment = 1.0 and hyphenation Could not find a set of breaking points No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 1.0 and hyphenation Ending layout Current heap size: 5073Kb Starting layout No set of breaking points found with maxAdjustment = 1.0 No set of breaking points found with maxAdjustment = 5.0 Could not find a set of breaking points Exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at org.apache.fop.apps.InputHandler.render(InputHandler.java:123) at org.apache.fop.apps.Fop.main(Fop.java:153) --------- java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.apache.fop.layoutmgr.LineLayoutManager.getNextBreakPoss(LineLayoutManager.java:522) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextBreakPoss(BlockLayoutManager.java:208) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextBreakPoss(BlockLayoutManager.java:208) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextBreakPoss(BlockLayoutManager.java:208) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextBreakPoss(BlockLayoutManager.java:208) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextBreakPoss(BlockLayoutManager.java:208) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextBreakPoss(BlockLayoutManager.java:208) at org.apache.fop.layoutmgr.FlowLayoutManager.getNextBreakPoss(FlowLayoutManager.java:83) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.getNextBreakPoss(PageSequenceLayoutManager.java:266) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.doLayout(PageSequenceLayoutManager.java:230) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.run(PageSequenceLayoutManager.java:177) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:254) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:202) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:291) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Unknown Source) at org.apache.fop.apps.InputHandler.render(InputHandler.java:120) at org.apache.fop.apps.Fop.main(Fop.java:153)