Right, but FOP shouldn't crash.

I've changed the Label class, but not exactly like Stephan proposed. I
tried to avoid the creation of the StringBuffer entirely. The less
objects are created the better. I've looked at the code in the PDF
library and it looks like a null value should be handled gracefully. But
I haven't test it. Stephan, it would be cool if you could download FOP
from CVS an check if the problem disappears this way, too. Thanks a lot.

On 11.01.2003 19:47:47 Oleg Tkachenko wrote:
> Stephan Wiesner wrote:
> > java.lang.NullPointerException
> >         at org.apache.fop.extensions.Label.toString(Label.java:44)
> >         at 
> > org.apache.fop.render.pdf.PDFRenderer.renderOutline(PDFRenderer.java:
> > 938)
> Looks like you have empty bookmark label. It's not supported. Place 
> something there.

Jeremias Maerki

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

Reply via email to