Hi Vincent, Le 07/12/2011 10:15, Vincent Hobeïka a écrit : > Hi Pascal, > > Thank you for your kind answer. > > On Tue, Dec 6, 2011 at 3:33 PM, Pascal Sancho <pascal.san...@takoma.fr> > wrote: >> when you ask on this list, you should provide a shrinked XSL-FO that >> demonstrates the problem > > I am sorry about that. Thank you for pointing this. I'll do as you say > next time. > >> That said, I've found that using fo:inline within a fo:block with >> hyphenate="true" linefeed-treatment="preserve" throws an NPE. > > Thank you for the hint, I'll try to investigate more in this way. > >> Fortunately, I can only reproduce it on FOP 0.95, while FOP 1.0 passes. > > The debian user who reported the bug stated that it happens with FOP > 1.0. > > I was able to reproduce the bug with 1.0 and not 0.95. I did a > comparison of the output messages and they just doesn't have much in > common. I can produce the pdf with fop 0.95 but not with fop 1.0.
Hmm, I've just retested the whole FO against 0.95, 1.0 and build from trunk. result: 0.95 and 1.0 fail, while TRUNK passes. Probably my shrinked FO was too shrinked, since the 1.0 didn't fail yesterday. Can you try it against FOP trunk? > I'm giving you the output messages I have: > > $ fop -version > [warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java FOP > Version 1.0 > > http://www.hobeika.fr/~vincent/fop/log_all1.0 1.0 Mo > http://www.hobeika.fr/~vincent/fop/log_cout1.0 965 Ko > http://www.hobeika.fr/~vincent/fop/log_err1.0 20 Ko > > and for fop 0.95 > > http://www.hobeika.fr/~vincent/fop/log_all0.95 231 o > http://www.hobeika.fr/~vincent/fop/log_cout0.95 0 o > http://www.hobeika.fr/~vincent/fop/log_err0.95 231 o > > Is there something I can do to help more about this? > I have search quite a lot the bug tracker but I wasn't able to find tickets > related to fo:inline within a fo:block and NullPointerException in > InlineStackingLayoutManager.java:277 > > Is this a new bug or can you point me to the related bug? I may add my logs > in > it then. The main thing here is to isolate a short testcase that still demonstrates the issue in both 0.95 and 1.0 versions. Even if FOP trunk passes the test, the snippet could be used for unit-test probably related to #48806 [1], #46386 [2]. [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=48806 [2] https://issues.apache.org/bugzilla/show_bug.cgi?id=46386 > Thanks again for your concern. > > Best regards, -- Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org