[jboss-user] [JBoss Seam] - Re: PDF Font Colour (Color for some...)
damianharvey
do-not-reply at jboss.com
Wed Apr 4 04:54:09 EDT 2007
Thanks for that. The good news is that colors now work. The bad news is that <p:image> is broken. It gives a NPE.
SEVERE: Error Rendering View[/public/TestPDF.xhtml]
| java.lang.NullPointerException
| at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
| at com.lowagie.text.Image.getInstance(Image.java:460)
| at org.jboss.seam.pdf.ui.UIImage.createITextObject(UIImage.java:145)
| at org.jboss.seam.pdf.ui.ITextComponent.encodeBegin(ITextComponent.java:169)
| at org.jboss.seam.pdf.ui.ITextComponent.encode(ITextComponent.java:232)
| at org.jboss.seam.pdf.ui.ITextComponent.encodeChildren(ITextComponent.java:201)
Replacing the jboss-seam-pdf.jar with the one from 1.2.1 lets image work again, but of course not color.
Cheers,
Damian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034437#4034437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034437
More information about the jboss-user
mailing list