Re: IndexOutOfBoundsException when creating pdf
Bjoern wrote: Vincent Hennebert-3 wrote: Can you please open a bug report [1], attaching your sample FO file? That will allow us to keep track of the issue. http://issues.apache.org/bugzilla/show_bug.cgi?id=44160 Had anybody the chance to have a look at it? Its back again and its a real showstopper now :-( Bjoern -- View this message in context: http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p15017510.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IndexOutOfBoundsException when creating pdf
I found a cheap fix. More details in the Bugzilla entry. On 22.01.2008 13:17:27 Bjoern wrote: Bjoern wrote: Vincent Hennebert-3 wrote: Can you please open a bug report [1], attaching your sample FO file? That will allow us to keep track of the issue. http://issues.apache.org/bugzilla/show_bug.cgi?id=44160 Had anybody the chance to have a look at it? Its back again and its a real showstopper now :-( Bjoern -- View this message in context: http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p15017510.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IndexOutOfBoundsException when creating pdf
Hi Bjoern, Can you please open a bug report [1], attaching your sample FO file? That will allow us to keep track of the issue. Thanks, Vincent [1] http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop Bjoern wrote: Jeremias Maerki-2 wrote: We're still waiting for a (preferably short) FO file that demonstrates the problem. Otherwise, there's nothing we can do. Hi Jeremias, I was able to track the error down to the attached file ( http://www.nabble.com/file/p14488145/tmp_sip.xml.fo tmp_sip.xml.fo ). I tried to delete as much as possible. If I delete any further paragraph of the text, the error doesn't occurs any more. Also if I set hyphenation to true in my stylesheet, the error goes away. I tried it with fop 0.94 and trunk with the same result. For some reason fop 0.92 doesn't show the error with that file, although it did before with other files. I hope that helps somehow to find the error. thank you for your help Bjoern -- Vincent HennebertAnyware 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]
Re: IndexOutOfBoundsException when creating pdf
Vincent Hennebert-3 wrote: Hi Bjoern, Can you please open a bug report [1], attaching your sample FO file? That will allow us to keep track of the issue. done: http://issues.apache.org/bugzilla/show_bug.cgi?id=44160 Bjoern -- View this message in context: http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p14577215.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IndexOutOfBoundsException when creating pdf
Jeremias Maerki-2 wrote: We're still waiting for a (preferably short) FO file that demonstrates the problem. Otherwise, there's nothing we can do. Hi Jeremias, I was able to track the error down to the attached file ( http://www.nabble.com/file/p14488145/tmp_sip.xml.fo tmp_sip.xml.fo ). I tried to delete as much as possible. If I delete any further paragraph of the text, the error doesn't occurs any more. Also if I set hyphenation to true in my stylesheet, the error goes away. I tried it with fop 0.94 and trunk with the same result. For some reason fop 0.92 doesn't show the error with that file, although it did before with other files. I hope that helps somehow to find the error. thank you for your help Bjoern -- View this message in context: http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p14488145.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IndexOutOfBoundsException when creating pdf
Jeremias Maerki-2 wrote: We're still waiting for a (preferably short) FO file that demonstrates the problem. Otherwise, there's nothing we can do. Well, *short* seems to be a problem. I'll try to create a short FO-file if it occurs again. Greetings Bjoern -- View this message in context: http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p14456937.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IndexOutOfBoundsException when creating pdf
We're still waiting for a (preferably short) FO file that demonstrates the problem. Otherwise, there's nothing we can do. On 19.12.2007 14:07:36 Bjoern wrote: Hi, although I currently can't reproduce the error as my file has grown, I'm scared that it might come back. Probably at a time when I don't need it at all, cause I have to hand in my thesis... So it would be fine if someone has an idea what causes the error. Eric did seem to have the same problem: http://www.nabble.com/forum/ViewPost.jtp?post=9910977framed=y but didn't really find a solution as well. Greetings Bjoern -- View this message in context: http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p14416512.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IndexOutOfBoundsException when creating pdf
Hi, I create a FO-file from a pretty large docbook-xml (60 pages so far) with saxon (or xslt - doesn't matter) whith the docbook-xsl-1.71.1 stylesheets. After that I use fop to convert it to pdf. I used 0.94 and the svn trunk version - with both I occasionally run into the following error: 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind WARNUNG: table-layout=fixed and column-width unspecified = falling back to proportional-column-width(1) 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind WARNUNG: table-layout=fixed and column-width unspecified = falling back to proportional-column-width(1) 13.12.2007 13:27:30 org.apache.fop.cli.Main startFOP SCHWERWIEGEND: Exception java.lang.IndexOutOfBoundsException: Index: 14, Size: 11 at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) The problem goes away if I change the order of my sections in the xml-file, what I don't want to, or if I only translate a single chapter of my book. I assume that it might have something to do with how the sections are broken to the pages. And perhaps it might be a result of some footnotes I use in the document. I have no clue what to do, perhaps someone can help? thanks Bjoern P.S: the complete error-stack from fop looks like that: 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind WARNUNG: table-layout=fixed and column-width unspecified = falling back to proportional-column-width(1) 13.12.2007 13:27:26 org.apache.fop.fo.flow.TableColumn bind WARNUNG: table-layout=fixed and column-width unspecified = falling back to proportional-column-width(1) 13.12.2007 13:27:30 org.apache.fop.cli.Main startFOP SCHWERWIEGEND: Exception java.lang.IndexOutOfBoundsException: Index: 14, Size: 11 at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) - java.lang.IndexOutOfBoundsException: Index: 14, Size: 11 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at org.apache.fop.layoutmgr.PageBreakingAlgorithm.computeDemerits(PageBreakingAlgorithm.java:644) at org.apache.fop.layoutmgr.BreakingAlgorithm.considerLegalBreak(BreakingAlgorithm.java:737) at org.apache.fop.layoutmgr.PageBreakingAlgorithm.considerLegalBreak(PageBreakingAlgorithm.java:309) at org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(BreakingAlgorithm.java:485) at org.apache.fop.layoutmgr.BreakingAlgorithm.findBreakingPoints(BreakingAlgorithm.java:403) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:338) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101) 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:484) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]