pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-4053) build test fails on jdk9
Date Fri, 05 Jan 2018 18:41:00 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr resolved PDFBOX-4053.
-------------------------------------
    Resolution: Fixed

> build test fails on jdk9
> ------------------------
>
>                 Key: PDFBOX-4053
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4053
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>         Environment: Java Version: 9.0.1 (Oracle vendor)
> OS: Mac OS X 10.13.2
> Locale: en_BR
> encoding: UTF-8
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>              Labels: jdk9
>             Fix For: 2.0.9
>
>
> As reported by Diego Azevedo in the user mailing list:
> {code}
> testRenderImage(org.apache.pdfbox.tools.imageio.TestImageIOUtils)  Time elapsed: 0.124
sec  <<< ERROR!
> java.lang.ExceptionInInitializerError: null
> 	at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:745)
> 	at java.desktop/javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:230)
> 	at com.levigo.jbig2.util.ServiceLookup.getServices(ServiceLookup.java:31)
> 	at com.levigo.jbig2.util.log.LoggerFactory.getLogger(LoggerFactory.java:38)
> 	at com.levigo.jbig2.util.log.LoggerFactory.getLogger(LoggerFactory.java:50)
> 	at com.levigo.jbig2.JBIG2ImageReader.<clinit>(JBIG2ImageReader.java:49)
> 	at com.levigo.jbig2.JBIG2ImageReaderSpi.createReaderInstance(JBIG2ImageReaderSpi.java:118)
> 	at java.desktop/javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320)
> 	at java.desktop/javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:532)
> 	at java.desktop/javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:516)
> 	at org.apache.pdfbox.filter.Filter.findImageReader(Filter.java:133)
> 	at org.apache.pdfbox.filter.JBIG2Filter.decode(JBIG2Filter.java:54)
> 	at org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:69)
> 	at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:167)
> 	at org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:235)
> 	at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.<init>(PDImageXObject.java:125)
> 	at org.apache.pdfbox.pdmodel.graphics.PDXObject.createXObject(PDXObject.java:70)
> 	at org.apache.pdfbox.pdmodel.PDResources.getXObject(PDResources.java:409)
> 	at org.apache.pdfbox.tools.imageio.TestImageIOUtils.checkSaveResources(TestImageIOUtils.java:77)
> 	at org.apache.pdfbox.tools.imageio.TestImageIOUtils.doTestFile(TestImageIOUtils.java:123)
> 	at org.apache.pdfbox.tools.imageio.TestImageIOUtils.testRenderImage(TestImageIOUtils.java:287)
> {code}
> The cause is an outdated jbig2 dependency.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message