You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "zouari (JIRA)" <ji...@apache.org> on 2019/05/26 10:56:00 UTC
[jira] [Created] (XGC-119) Problem with openjdk 11 and tiff (gray)
zouari created XGC-119:
--------------------------
Summary: Problem with openjdk 11 and tiff (gray)
Key: XGC-119
URL: https://issues.apache.org/jira/browse/XGC-119
Project: XMLGraphicsCommons
Issue Type: Bug
Components: image codecs
Reporter: zouari
Fix For: 2.3
Attachments: patch.patch, test.fo, test.tif
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:
{code:java}
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:?]
{code}
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org