Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Patch
Description
Hello,
I use fop to create pdf files from ".fo"
I have a conversion problem with openjdk 11 and tiff (gray).
here is the exception:
java.lang.UnsupportedOperationException: null
at com.sun.imageio.plugins.tiff.TIFFImageReader.readRaster(TIFFImageReader.java:927) ~[?:?]
at org.apache.xmlgraphics.image.loader.impl.imageio.ImageLoaderImageIO.getFallbackBufferedImage(ImageLoaderImageIO.java:377) ~[xmlgraphics-commons-2.3.jar:2.3]
at org.apache.xmlgraphics.image.loader.impl.imageio.ImageLoaderImageIO.loadImage(ImageLoaderImageIO.java:159) ~[xmlgraphics-commons-2.3.jar:2.3]
at org.apache.xmlgraphics.image.loader.pipeline.ImageProviderPipeline.execute(ImageProviderPipeline.java:153) ~[xmlgraphics-commons-2.3.jar:2.3]
at org.apache.xmlgraphics.image.loader.pipeline.ImageProviderPipeline.execute(ImageProviderPipeline.java:98) ~[xmlgraphics-commons-2.3.jar:2.3]
at org.apache.xmlgraphics.image.loader.ImageManager.getImage(ImageManager.java:269) ~[xmlgraphics-commons-2.3.jar:2.3]
at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:159) ~[fop-core-7.0.jar:?]
at org.apache.fop.render.pdf.PDFPainter.drawImageUsingURI(PDFPainter.java:218) ~[fop-core-7.0.jar:?]
with openjdk 11, in the class TIFFImageReader the method "readRaster" throw UnsupportedOperationException
in xmlgraphics-commons, there is a call to the method "javax.imageio.ImageReader.readRaster (pageIndex, param)", which throw the exception.
thank you.