xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51874] New: IndexOutOfBoundsException in PrimaryGridUnit
Date Thu, 22 Sep 2011 19:46:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51874

             Bug #: 51874
           Summary: IndexOutOfBoundsException in PrimaryGridUnit
           Product: Fop
           Version: 1.1dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: vlsergey@gmail.com
    Classification: Unclassified


Created attachment 27568
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27568
Problematic file. Not intended to be distributed under ASL.

There is IndexOutOfBoundsException in PrimaryGridUnit.

Sorry, i can' provide file to include in test case, but "short" problematic
file (with single table) in attach.

java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at
org.apache.fop.fo.flow.table.PrimaryGridUnit.getAfterBorderWidth(PrimaryGridUnit.java:220)
    at
org.apache.fop.layoutmgr.table.TableCellLayoutManager.addAreas(TableCellLayoutManager.java:289)
    at
org.apache.fop.layoutmgr.table.RowPainter.addAreasForCell(RowPainter.java:429)
    at
org.apache.fop.layoutmgr.table.RowPainter.addAreasAndFlushRow(RowPainter.java:307)
    at
org.apache.fop.layoutmgr.table.RowPainter.handleTableContentPosition(RowPainter.java:160)
    at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addTablePartAreas(TableContentLayoutManager.java:494)
    at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addBodyAreas(TableContentLayoutManager.java:481)
    at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas(TableContentLayoutManager.java:417)
    at
org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas(TableLayoutManager.java:363)
    at
org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:113)
    at
org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:364)
    at org.apache.fop.layoutmgr.PageBreaker.addAreas(PageBreaker.java:286)
    at
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:607)
    at
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:481)
    at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:314)
    at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:436)
    at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)
    at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:107)
    at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:244)
    at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120)
    at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349)
    at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
    at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
    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.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.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(TransformerIdentityImpl.java:485)
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message