xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: NullPointerException at org.apache.fop.render.pdf.AbstractImageAdapter.setupColorProfile
Date Fri, 22 Apr 2011 09:01:21 GMT
Work-around added to FOP Trunk:
http://svn.apache.org/viewvc?rev=1095895&view=rev

What you describe sounds like a Java class library bug, i.e. that the
cached, default sRGB profile suddenly loses some profile data somehow.

On 30.03.2011 10:56:57 pjack wrote:
> 
> Hi,
> 
> I'm using fop 0.95 and we are having users who report after a period of time
> (usually up to a month) they are unable to convert our documents to pdf from
> xml. In the log file I see an exception
> 
>  Wrapped Exception : java.lang.NullPointerException
>     at
> org.apache.fop.render.pdf.AbstractImageAdapter.setupColorProfile(AbstractImageAdapter.java:121)
>     at
> org.apache.fop.render.pdf.AbstractImageAdapter.setup(AbstractImageAdapter.java:87)
>     at
> org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:92)
>     at org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:823)
>     at
> org.apache.fop.render.pdf.PDFImageHandlerRenderedImage.generateImage(PDFImageHandlerRenderedImage.java:58)
>     at org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1745)
>     at
> org.apache.fop.render.pdf.PDFRenderer.renderImage(PDFRenderer.java:1679)
> 
> 
> After a restart of the server, the documents they were trying to convert are
> fine again.
> 
> Has anyone seen something similar or have any ideas?
> 
> Regards
> Phil
> -- 
> View this message in context: http://old.nabble.com/NullPointerException-at-org.apache.fop.render.pdf.AbstractImageAdapter.setupColorProfile-tp31275195p31275195.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message