Vincent,

The rev of my local copy is the latest: 615171. When looking at
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/src/java/org/apache/fo
p/layoutmgr/table/RowPainter.java I still see the computeSpanHeight, does
that make sense?
 
I will try to make a simple FO (due to copyright issues I cannot send the FO
file I am using, sorry...)

Attached is the stacktrace. I will submit a bug after I created an FO file
that resolves to the same error.

Tx.,

Raphael


-----Original Message-----
From: Vincent Hennebert [mailto:[EMAIL PROTECTED] 
Sent: 25 January 2008 11:52
To: [email protected]
Subject: Re: SVG XML Access

Hi,

Jeremias Maerki wrote:
> Please post the stacktrace and possibly an FO so Vincent can fix the
> table layout code. He's currently working on it and I'm sure he'll
> appreciate the feedback.

Indeed, although the computeSpanHeight method no longer exists in the 
Trunk. Raphael, would you mind upgrading your copy to the latest version 
and test again? Please report any problem on Bugzilla [1], attaching the 
FO sample triggering the error.

Thanks,
Vincent

[1] http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop

> 
> On 25.01.2008 11:30:17 Raphael Parree wrote:
>> Jeremias,
>>
>> Thanks I have updated, but can't tell if it works yet. I am getting
anoher
>> problem (that does mean the "source not supported" was not thrown). But
>> probably other changes in the trunk are giving me a problem. I will look
>> into recent posts if this problem is known (something about an index out
of
>> bounds in the computeSpanHeight of the RowPainter).
>>
>> Will let you know if it works...
>>
> <snip/> 
> 
> 
> Jeremias Maerki

-- 
Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
java.lang.IndexOutOfBoundsException: Index: -1, Size: 5
        at java.util.LinkedList.entry(LinkedList.java:368)
        at java.util.LinkedList.get(LinkedList.java:313)
        at 
org.apache.fop.layoutmgr.table.RowPainter.computeContentLength(RowPainter.java:246)
        at 
org.apache.fop.layoutmgr.table.RowPainter.addAreasForCell(RowPainter.java:290)
        at 
org.apache.fop.layoutmgr.table.RowPainter.addAreasAndFlushRow(RowPainter.java:198)
        at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.iterateAndPaintPositions(TableContentLayoutManager.java:427)
        at 
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas(TableContentLayoutManager.java:364)
        at 
org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas(TableLayoutManager.java:334)
        at 
org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:394)
        at 
org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:394)
        at 
org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:121)
        at 
org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:305)
        at org.apache.fop.layoutmgr.PageBreaker.addAreas(PageBreaker.java:241)
        at 
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:507)
        at 
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
        at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:262)
        at 
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
        at 
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
        at 
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:100)
        at 
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
        at 
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
        at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:374)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:196)
        at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
        at 
eu.trivera.cw.producer.content.producers.documents.extensions.codehighlighting.CodeBlockXMLFilter.endElement(CodeBlockXMLFilter.java:85)
        at 
net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:391)
        at net.sf.saxon.event.ProxyReceiver.endElement(ProxyReceiver.java:174)
        at 
net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:213)
        at 
net.sf.saxon.event.ComplexContentOutputter.endElement(ComplexContentOutputter.java:417)
        at 
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
        at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:300)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:399)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
        at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:300)
        at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:551)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:399)
        at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:551)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:399)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
        at 
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:399)
        at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:175)
        at 
net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:343)
        at net.sf.saxon.Controller.transformDocument(Controller.java:1735)
        at net.sf.saxon.Controller.transform(Controller.java:1559)
        at 
eu.trivera.cw.producer.content.producers.documents.DocumentProducer.transForm(DocumentProducer.java:179)
        at 
eu.trivera.cw.producer.content.producers.documents.DocumentProducer.produceDocuments(DocumentProducer.java:69)
        at 
eu.trivera.cw.producer.content.ContentManager.createDocuments(ContentManager.java:164)
        at 
eu.trivera.cw.producer.content.ContentManager.startJob(ContentManager.java:82)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to