Re: NPE from GraphicsUtil.getAlphaRaster

2014-06-20 Thread Pascal Sancho
Hi, You should provide a test case (short xsl-fo + image causing NPE). Did you test against FOP 1.1 or FOP trunk? For submitting a Patch, please open a dedicated issue in Jira (see [1] for further details). Note: I'm not sure getAlphaRaster() may return null. If true, your patch should be

Re: NPE from GraphicsUtil.getAlphaRaster

2014-06-20 Thread Pascal Sancho
I'm speaking about GraphicsUtil.getAlphaRaster(), of course. 2014-06-20 10:36 GMT+02:00 Pascal Sancho psancho@gmail.com: Note: I'm not sure getAlphaRaster() may return null. If true, your patch should be against xmlgraphics rather than fop. -- pascal

NPE from GraphicsUtil.getAlphaRaster

2014-06-19 Thread Shane Witbeck
Hi, We use FOP 1.0 for converting documents to PDF. In certain cases when the document contains an image that returns null from GraphicsUtil.getAlphaRaster, this results in a NPE shown below: 2014-06-19 10:08:12,932 [http-nio-8080-exec-4] [1:admin:REGULAR] ERROR