Hi Georg, Thanks a bunch for the info. I'll raise the issue on the debian package itself. fop is pretty much useless if one cannot even use a simple <anchor/> element !
Just for info I did compare trunk to fop 0.95 using diff -u: $ diff -x .svn -ru fop-0_95 trunk | wc 149462 621452 5984407 There has been quite some changes ! On Wed, Feb 17, 2010 at 11:08 AM, Georg Datterl <gdatt...@geneon.de> wrote: > Hi Mathieu, > > Now we are talking. I can reproduce your error with the 0.95 binary freshly > downloaded from apache. On a Windows7-System. So it's not a debian problem > but if you can switch to trunk, the problem is solved. > > Regards, > > Georg Datterl > > ------ Kontakt ------ > > Georg Datterl > > Geneon media solutions gmbh > Gutenstetter Straße 8a > 90449 Nürnberg > > HRB Nürnberg: 17193 > Geschäftsführer: Yong-Harry Steiert > > Tel.: 0911/36 78 88 - 26 > Fax: 0911/36 78 88 - 20 > > www.geneon.de > > Weitere Mitglieder der Willmy MediaGroup: > > IRS Integrated Realization Services GmbH: www.irs-nbg.de > Willmy PrintMedia GmbH: www.willmy.de > Willmy Consult & Content GmbH: www.willmycc.de > > > -----Ursprüngliche Nachricht----- > Von: Mathieu Malaterre [mailto:mathieu.malate...@gmail.com] > Gesendet: Mittwoch, 17. Februar 2010 10:53 > An: fop-users@xmlgraphics.apache.org > Cc: 570...@bugs.debian.org > Betreff: Re: java.lang.NullPointerException: > org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350) > > This is the latest from debian: > > # apt-cache policy fop > fop: > Installed: 1:0.95.dfsg-7 > Candidate: 1:0.95.dfsg-7 > Version table: > *** 1:0.95.dfsg-7 0 > 500 http://ftp.fr.debian.org sid/main Packages > 100 /var/lib/dpkg/status > > > So I am guessing this is an official release. > > I'd like to know if anyone else is using fop 0.95 and can reproduce > the bug ? I'd like to know if this is related to fop 0.95 OR the > debian packaging of fop 0.95. > > Thanks a bunch ! > > On Wed, Feb 17, 2010 at 10:35 AM, Georg Datterl <gdatt...@geneon.de> wrote: >> Hi Mathieu, >> >> With my trunk from around December the fo file works fine. I get lots of >> Image not found: images/draft.png and the two font warnings, but the pdf is >> complete with TOC, "title", "spot" and bookmarks. Which fop version are you >> using? >> >> Regards, >> >> Georg Datterl >> >> ------ Kontakt ------ >> >> Georg Datterl >> >> Geneon media solutions gmbh >> Gutenstetter Straße 8a >> 90449 Nürnberg >> >> HRB Nürnberg: 17193 >> Geschäftsführer: Yong-Harry Steiert >> >> Tel.: 0911/36 78 88 - 26 >> Fax: 0911/36 78 88 - 20 >> >> www.geneon.de >> >> Weitere Mitglieder der Willmy MediaGroup: >> >> IRS Integrated Realization Services GmbH: www.irs-nbg.de >> Willmy PrintMedia GmbH: www.willmy.de >> Willmy Consult & Content GmbH: www.willmycc.de >> >> >> -----Ursprüngliche Nachricht----- >> Von: Mathieu Malaterre [mailto:mathieu.malate...@gmail.com] >> Gesendet: Mittwoch, 17. Februar 2010 09:32 >> An: fop-users@xmlgraphics.apache.org >> Betreff: Re: java.lang.NullPointerException: >> org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350) >> >> Hi Georg, >> >> Thank you very much for your help ! >> Here it is attached as gzip compressed. >> >> It was generated from the xml with: >> >> xsltproc --stringparam fop1.extensions 1 --stringparam ulink.show 0 >> --xinclude -o out.fo >> /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl ./test.xml >> >> Thanks again >> >> On Wed, Feb 17, 2010 at 9:25 AM, Georg Datterl <gdatt...@geneon.de> wrote: >>> Hi Mathieu, >>> >>> can you post the fo file, please? I'd like to help, but I don't have your >>> transformation file. >>> >>> Regards, >>> >>> Georg Datterl >>> >>> ------ Kontakt ------ >>> >>> Georg Datterl >>> >>> Geneon media solutions gmbh >>> Gutenstetter Straße 8a >>> 90449 Nürnberg >>> >>> HRB Nürnberg: 17193 >>> Geschäftsführer: Yong-Harry Steiert >>> >>> Tel.: 0911/36 78 88 - 26 >>> Fax: 0911/36 78 88 - 20 >>> >>> www.geneon.de >>> >>> Weitere Mitglieder der Willmy MediaGroup: >>> >>> IRS Integrated Realization Services GmbH: www.irs-nbg.de >>> Willmy PrintMedia GmbH: www.willmy.de >>> Willmy Consult & Content GmbH: www.willmycc.de >>> >>> -----Ursprüngliche Nachricht----- >>> Von: Mathieu Malaterre [mailto:mathieu.malate...@gmail.com] >>> Gesendet: Dienstag, 16. Februar 2010 14:17 >>> An: fop-users@xmlgraphics.apache.org >>> Betreff: java.lang.NullPointerException: >>> org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350) >>> >>> Could someone please try this example on their setup: >>> >>> $ xsltproc --stringparam fop1.extensions 1 --stringparam ulink.show 0 >>> --xinclude -o out.fo >>> /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl ./test.xml >>> $ fop -fo out.fo -pdf out.pdf >>> >>> with test.xml: >>> <?xml version='1.0' encoding='UTF-8'?> >>> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" >>> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []> >>> <article> >>> <section> >>> <title>title</title> >>> <para> >>> <anchor id="myidx" xreflabel="mylabel"/> >>> </para> >>> </section> >>> </article> >>> >>> I am getting: >>> >>> $ fop -fo out.fo -pdf out.pdf >>> [warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java >>> Feb 16, 2010 2:17:27 PM org.apache.fop.fonts.FontInfo notifyFontReplacement >>> WARNING: Font 'Symbol,normal,700' not found. Substituting with >>> 'Symbol,normal,400'. >>> Feb 16, 2010 2:17:27 PM org.apache.fop.fonts.FontInfo notifyFontReplacement >>> WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with >>> 'ZapfDingbats,normal,400'. >>> Feb 16, 2010 2:17:27 PM org.apache.fop.cli.Main startFOP >>> SEVERE: Exception >>> java.lang.NullPointerException >>> at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217) >>> at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) >>> at org.apache.fop.cli.Main.startFOP(Main.java:166) >>> at org.apache.fop.cli.Main.main(Main.java:197) >>> >>> --------- >>> >>> java.lang.NullPointerException >>> at >>> org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350) >>> at >>> org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1480) >>> at >>> org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreakingPoints(LineLayoutManager.java:950) >>> at >>> org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(LineLayoutManager.java:917) >>> at >>> org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:607) >>> at >>> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294) >>> at >>> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116) >>> at >>> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294) >>> at >>> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116) >>> at >>> org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:107) >>> at >>> org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145) >>> at >>> org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:552) >>> at >>> org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137) >>> at >>> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:302) >>> at >>> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264) >>> at >>> org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106) >>> 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:340) >>> at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169) >>> at >>> org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) >>> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown >>> Source) >>> at org.apache.xerces.xinclude.XIncludeHandler.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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown >>> Source) >>> at >>> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) >>> at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) >>> at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) >>> at org.apache.fop.cli.Main.startFOP(Main.java:166) >>> at org.apache.fop.cli.Main.main(Main.java:197) >>> >>> >>> Thanks >>> -- >>> Mathieu >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org >>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org >>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >>> >>> >> >> >> >> -- >> Mathieu >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org >> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >> >> > > > > -- > Mathieu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > -- Mathieu --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org