Bug#570095:

2010-03-01 Thread Mathieu Malaterre
Here is what works for me. I'll submit it also upstream.

-- 
Mathieu
Index: src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java
===
--- src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java	(revision 917433)
+++ src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java	(working copy)
@@ -288,6 +288,11 @@
 while (oldListIterator.hasNext()) {
 oldElement = (KnuthElement) oldListIterator.next();
 currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
+// This can occur if a fo:inline element is empty but has an id
+// attribute on it.  Punt in that case.
+if (currLM == null) {
+	continue;
+}
 // initialize prevLM
 if (prevLM == null) {
 prevLM = currLM;
@@ -358,6 +363,9 @@
 while (oldListIterator.hasNext()) {
 oldElement = (KnuthElement) oldListIterator.next();
 currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
+if (currLM == null) {
+	continue;
+}
 if (prevLM == null) {
 prevLM = currLM;
 }


Bug#570095: Patch for fop bug

2010-02-25 Thread Mathieu Malaterre
On Thu, Feb 18, 2010 at 10:38 PM, Vincent Fourmond fourm...@gmail.com wrote:
  Mathieu, I've just uploaded a package with a fix to experimental.
 Would you mind trying if that works for you, before I upload to unstable
 ? (just being my usual paranoid ;-)...)

I have tried a couple of things. I just do not understand why I cannot
access experimental:

 $ apt-cache policy fop
fop:
  Installed: 1:0.95.dfsg-9
  Candidate: 1:0.95.dfsg-9
  Version table:
 *** 1:0.95.dfsg-9 0
100 http://ftp.fr.debian.org unstable/main Packages
100 /var/lib/dpkg/status
 1:0.95.dfsg-7 0
200 http://ftp.fr.debian.org testing/main Packages
 1:0.94.dfsg-2 0
500 http://ftp.fr.debian.org lenny/contrib Packages


$ cat /etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

deb http://www.backports.org/debian lenny-backports main contrib non-free

deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free

deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free

deb http://ftp.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.debian.org/debian/ experimental main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main


Sorry...
-- 
Mathieu



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570095: Patch for fop bug

2010-02-25 Thread Vincent Fourmond
Mathieu Malaterre wrote:
 On Thu, Feb 18, 2010 at 10:38 PM, Vincent Fourmond fourm...@gmail.com wrote:
  Mathieu, I've just uploaded a package with a fix to experimental.
 Would you mind trying if that works for you, before I upload to unstable
 ? (just being my usual paranoid ;-)...)
 
 I have tried a couple of things. I just do not understand why I cannot
 access experimental:

  Don't bother, it has moved on to unstable since (with unrelated
packaging changes), so with the version you have the bug shouldn't occur
anymore...

  Please reopen if it still does !

Vincent

-- 
If you put a large switch in some cave somewhere, with a sign on it
saying End-of-the-World switch. PLEASE DO NOT TOUCH, the paint
wouldn't even have the time to dry.
 -- Terry Pratchet, Thief of Time

Vincent, listening to Voices (Dream Theater)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570095: Patch for fop bug

2010-02-25 Thread Mathieu Malaterre
On Thu, Feb 25, 2010 at 5:13 PM, Vincent Fourmond fourm...@gmail.com wrote:
 Mathieu Malaterre wrote:
 On Thu, Feb 18, 2010 at 10:38 PM, Vincent Fourmond fourm...@gmail.com 
 wrote:
  Mathieu, I've just uploaded a package with a fix to experimental.
 Would you mind trying if that works for you, before I upload to unstable
 ? (just being my usual paranoid ;-)...)

 I have tried a couple of things. I just do not understand why I cannot
 access experimental:

  Don't bother, it has moved on to unstable since (with unrelated
 packaging changes), so with the version you have the bug shouldn't occur
 anymore...

  Please reopen if it still does !

Well technically the bug does not occur anymore...it seg fault a
little later in the code (line 422 instead of line 350). Oh joy :)

For the long story the patch you applied seems to be coming from fop
bug tracker #46386. As stated in the comments, this does not look like
a clean solution (I am just quoting here):

https://issues.apache.org/bugzilla/show_bug.cgi?id=46386#c1

Anyway, I am not sure this is a solution. But given the lack of
response from the fop team (see also my other bug report:
https://issues.apache.org/bugzilla/show_bug.cgi?id=48765), I do not
know what to suggest.

I guess a simple bug forward should be a better solution and suggest
to use the --strnigparam hyphenate 0 as a temp solution...

Anyway here is the current stack now:



SEVERE: Exception
javax.xml.transform.TransformerException: 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)

-

javax.xml.transform.TransformerException: java.lang.NullPointerException
at 
com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:61)
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)
Caused by: java.lang.NullPointerException
at 
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:422)
at 
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getChangedKnuthElements(InlineLayoutManager.java:541)
at 
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:414)
at 
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getChangedKnuthElements(InlineLayoutManager.java:541)
at 
org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1485)
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.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294)
at 
org.apache.fop.layoutmgr.list.ListItemLayoutManager.getNextKnuthElements(ListItemLayoutManager.java:234)
at 
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294)
at 
org.apache.fop.layoutmgr.list.ListBlockLayoutManager.getNextKnuthElements(ListBlockLayoutManager.java:119)
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.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 

Bug#570095: Patch for fop bug

2010-02-18 Thread Vincent Fourmond
brian m. carlson wrote:
 I *believe* that normally fop omits empty fo:inline elements.  However,
 in this case, fop can't do that, since the element in question has an id
 attribute, which might be referenced by something else.
 
 As a consequence, in the failing function, currLM is null, where it
 would normally be non-null.  However, a sanity check is missing, and
 therefore the code matches the currLM == prevLM condition (since they're
 both null) and prevLM has a method called on it.  Boom.
 
 I don't really understand the fop code here very well, so I've basically
 had it punt if currLM is null: it simply moves onto the next iteration
 of the loop.  My debugging leads me to believe that the length of
 oldList only ever has one element in this case, so this does not appear
 to break anything.
 
 I've tested with the DocBook 5 example, as well as an extended version
 that actually references the anchor, and both appear to result in PDFs
 that are acceptable to Evince.  In the latter case, the link works
 correctly.
 
 It also, AFAICT, builds other PDFs correctly as well, so I'm not too
 terribly concerned about breakage.  Patch is attached.

  Whaouh, thanks !

  Mathieu, I've just uploaded a package with a fix to experimental.
Would you mind trying if that works for you, before I upload to unstable
? (just being my usual paranoid ;-)...)

  Many thanks again !

Vincent

-- 
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone.
 -- Bjarne Stroustrup

Vincent, listening to Kerfautras (Matmatah)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
On Wed, Feb 17, 2010 at 12:51 AM, Daniel Leidert daniel.leid...@wgdd.de wrote:
 Am Dienstag, den 16.02.2010, 14:21 +0100 schrieb Mathieu Malaterre:

 [..]
 [warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java
                                           

 Missing (a dependency on) libjaxp1.3-java?

Ah ! Thanks for the info, it does not change anything to the output
but now my testing env is equivalent to my sid-chroot.

How about this one:

# fop -fo out.fo -pdf out.pdf
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java


In one shot within a sid-chroot system:

# fop -xml test.xml -xsl
/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl  -pdf out.pdf
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Feb 17, 2010 8:20:09 AM org.apache.fop.cli.InputHandler warning
WARNING: Making portrait pages on USletter paper (8.5inx11in)
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:09 AM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 17, 2010 8:20:10 AM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,400'.
Feb 17, 2010 8:20:10 AM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with
'ZapfDingbats,normal,400'.
Feb 17, 2010 8:20:10 AM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en
Feb 17, 2010 8:20:10 AM org.apache.fop.fo.FOTreeBuilder fatalError
SEVERE: javax.xml.transform.TransformerException: java.lang.NullPointerException
Feb 17, 2010 8:20:10 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException: 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)

-

; SystemID: file:/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl;
Line#: 311; Column#: 54
javax.xml.transform.TransformerException: java.lang.NullPointerException
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2405)
at 

Bug#570095: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
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-us...@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-us...@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
  titletitle/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 
 

Bug#570095: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-17 Thread Mathieu Malaterre
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-us...@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-us...@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-us...@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
  titletitle/title
  para
    anchor id=myidx xreflabel=mylabel/
    /para
 /section

Bug#570095:

2010-02-17 Thread Mathieu Malaterre
severity 570095  grave
thanks

fop 0.95 cannot generate a pdf when input document contains a
anchor/ element. This has been fixed since then (fop 0.95 was
release in July 2008). I would be nice if a version from trunk was
available.

Thanks



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/bf0c3b3f1002170216w2aa36971gecd5a600669b4...@mail.gmail.com



Bug#570095:

2010-02-17 Thread Vincent Fourmond
Mathieu Malaterre wrote:
 severity 570095  grave
 thanks
 
 fop 0.95 cannot generate a pdf when input document contains a
 anchor/ element. This has been fixed since then (fop 0.95 was
 release in July 2008). I would be nice if a version from trunk was
 available.

  I'm ready to package a new version from SVN (but not before tomorrow
anyway, maybe even later). I'd be glad if you could test if some of the
bugs that currently affect fop in unstable are still present in the
newer version. Would you have time ?

  Cheers,

Vincent

-- 
Donkey: No one told me I had the right to remain silent !
Shrek: You *have* the right to remain silent. What you lack is the capacity.
 -- Shrek 2

Vincent, not listening to anything for now



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570095: fop error on empty inlines with id

2010-02-17 Thread brian m. carlson
I've taken a look at this and found that the problem is an empty
fo:inline element with an id attribute.  In the DocBook 5 example,
substituting the anchor element with a phrase element (keeping the
element empty) causes the same problem, since the DocBook XSL-NS
stylesheets translate this to the same thing.  The error does not occur
if there is content as a child of the element.  Note, however, that
anchor is defined as empty, so this does break the use of anchor.

I'll take a quick look and see if I can provide a patch.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187


signature.asc
Description: Digital signature


Bug#570095:

2010-02-17 Thread Mathieu Malaterre
On Wed, Feb 17, 2010 at 9:23 PM, Vincent Fourmond fourm...@gmail.com wrote:
 Mathieu Malaterre wrote:
 severity 570095  grave
 thanks

 fop 0.95 cannot generate a pdf when input document contains a
 anchor/ element. This has been fixed since then (fop 0.95 was
 release in July 2008). I would be nice if a version from trunk was
 available.

  I'm ready to package a new version from SVN (but not before tomorrow
 anyway, maybe even later). I'd be glad if you could test if some of the
 bugs that currently affect fop in unstable are still present in the
 newer version. Would you have time ?

Sure things !

Please hold for a bit though. I am still struggling with another one
(using fop from trunk). See:
http://www.mail-archive.com/fop-...@xmlgraphics.apache.org/msg11902.html

Once I get our internal documentation working, I'll have a look at the
current fopr issue (assuming they have reproducable test case) !

Thanks
-- 
Mathieu



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570095: Patch for fop bug

2010-02-17 Thread brian m. carlson
tags 570095 + patch
kthxbye

I *believe* that normally fop omits empty fo:inline elements.  However,
in this case, fop can't do that, since the element in question has an id
attribute, which might be referenced by something else.

As a consequence, in the failing function, currLM is null, where it
would normally be non-null.  However, a sanity check is missing, and
therefore the code matches the currLM == prevLM condition (since they're
both null) and prevLM has a method called on it.  Boom.

I don't really understand the fop code here very well, so I've basically
had it punt if currLM is null: it simply moves onto the next iteration
of the loop.  My debugging leads me to believe that the length of
oldList only ever has one element in this case, so this does not appear
to break anything.

I've tested with the DocBook 5 example, as well as an extended version
that actually references the anchor, and both appear to result in PDFs
that are acceptable to Evince.  In the latter case, the link works
correctly.

It also, AFAICT, builds other PDFs correctly as well, so I'm not too
terribly concerned about breakage.  Patch is attached.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
diff -ur fop.old/src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java fop-0.95.dfsg/src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java
--- fop.old/src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java	2010-02-17 20:56:53.0 +
+++ fop-0.95.dfsg/src/java/org/apache/fop/layoutmgr/inline/InlineStackingLayoutManager.java	2010-02-17 21:00:00.0 +
@@ -331,6 +331,11 @@
 while (oldListIterator.hasNext()) {
 oldElement = (KnuthElement) oldListIterator.next();
 currLM = (InlineLevelLayoutManager) oldElement.getLayoutManager();
+// This can occur if a fo:inline element is empty but has an id
+// attribute on it.  Punt in that case.
+if (currLM == null) {
+	continue;
+}
 // initialize prevLM
 if (prevLM == null) {
 prevLM = currLM;


signature.asc
Description: Digital signature


Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
Package: fop
Version: 1:0.95.dfsg-7
Severity: important


fop currently segfault on a very simple docbook file:

consider the following test.xml file:

?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
 titletitle/title
 para
   anchor id=myidx xreflabel=mylabel/
   /para
/section
/article

Now run:

$ 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

You should get:


[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

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: 

Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
I can reproduce it also in my sid chroot system:


# xmlto pdf test.xml
Making portrait pages on a4 paper (210mmx297mm)
PassiveTeX is needed for this format, but it is not installed. Please install
the passivetex package.
gotlib# xmlto --with-fop pdf test.xml
Making portrait pages on a4 paper (210mmx297mm)
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:02 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,400'.
Feb 16, 2010 1:26:02 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with
'ZapfDingbats,normal,400'.
Feb 16, 2010 1:26:02 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en
Feb 16, 2010 1:26:02 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 

Bug#570095: java.lang.NullPointerException: org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Mathieu Malaterre
If this helps, I converted it to docbook 5 with the same result:

$ cat test5.xml
article xmlns=http://docbook.org/ns/docbook; version=5.0
sectioninfotitletitle/title/info
  para
The anchor elementanchor xml:id=example.anchor.1/ is empty and contributes
nothing to the flow of the content in which it occurs.  It is only useful
as a target.
/para
/section
/article



$ fop -xsl /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl
-xml test5.xml -pdf test5.pdf
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Feb 16, 2010 1:40:47 PM org.apache.fop.cli.InputHandler warning
WARNING: Making portrait pages on USletter paper (8.5inx11in)
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:47 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground init
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:40:48 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,400'.
Feb 16, 2010 1:40:48 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with
'ZapfDingbats,normal,400'.
Feb 16, 2010 1:40:48 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en
Feb 16, 2010 1:40:48 PM org.apache.fop.fo.FOTreeBuilder fatalError
SEVERE: javax.xml.transform.TransformerException: java.lang.NullPointerException
Feb 16, 2010 1:40:48 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException: 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)

-

; SystemID: 
file:/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl;
Line#: 309; Column#: 54
javax.xml.transform.TransformerException: java.lang.NullPointerException
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2405)
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
at 

Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

2010-02-16 Thread Daniel Leidert
Am Dienstag, den 16.02.2010, 14:21 +0100 schrieb Mathieu Malaterre:

[..]
 [warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java
   

Missing (a dependency on) libjaxp1.3-java?

Regards, Daniel




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1266364260.4845.10.ca...@haktar.wgdd.de