Re: Error with footnote

2003-01-20 Thread Marko Petersen
At 23:13 19.01.2003 +0100, you wrote:
java.lang.NullPointerException
at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:94)
Seems like links do not mix well with footnote spilling.
Workarounds:
- Avoid links in footnotes generally. This will save you occasional
  other trouble too.
- Avoid footnote spilling. Check for footnotes which are rendered
  on the page following the reference and force a page break at a
  convenient place before the footnote reference.
I think the problem is easy to fix.
Ok, thanks, I think I will try your second suggestion.
Marko
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Error with footnote

2003-01-19 Thread Marko Petersen
Hi,
I often get the following error after changing some content of my docbook-XML
when I try to generate PDF:
[ERROR] null
org.apache.fop.apps.FOPException
at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:74)
at org.apache.fop.apps.Fop.main(Fop.java:19)
-
java.lang.NullPointerException
at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:94)
at org.apache.fop.fo.flow.Block.layout(Block.java:206)
at org.apache.fop.fo.flow.FootnoteBody.layout(FootnoteBody.java:73)
at org.apache.fop.fo.flow.Footnote.layoutFootnote(Footnote.java:92)
at org.apache.fop.layout.Page.setPendingFootnotes(Page.java:199)
at 
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:341)
at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:290)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:210)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)

If I change the layout or the content, the message sometimes disappears.
Any ideas what the cause may be? Or is this error docbook-related and already
exists in the fo file?
Thanks,
Marko

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Error with footnote

2003-01-19 Thread J.Pietschmann
Marko Petersen wrote:
I often get the following error after changing some content of my 
docbook-XML when I try to generate PDF:
...
java.lang.NullPointerException
at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:94)
Seems like links do not mix well with footnote spilling.
Workarounds:
- Avoid links in footnotes generally. This will save you occasional
  other trouble too.
- Avoid footnote spilling. Check for footnotes which are rendered
  on the page following the reference and force a page break at a
  convenient place before the footnote reference.
I think the problem is easy to fix.
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]