[ 
https://issues.apache.org/jira/browse/TIKA-3460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371636#comment-17371636
 ] 

Hudson commented on TIKA-3460:
------------------------------

UNSTABLE: Integrated in Jenkins build Tika ยป tika-branch1x-jdk8 #139 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-branch1x-jdk8/139/])
TIKA-3460 -- add missing properties files for jaiimageio-core (tallison: 
[https://github.com/apache/tika/commit/74c5e5a8e934f4adc23cdf3a696021667663dbce])
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/common/properties
* (add) tika-parsers/src/main/resources/com/github/jaiimageio/README.txt
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/wbmp/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/clib/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/plugins/bmp/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/bmp/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/jpeg/properties
* (edit) tika-parsers/pom.xml
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/pnm/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/raw/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/tiff/properties
* (add) 
tika-parsers/src/main/resources/com/github/jaiimageio/impl/plugins/png/properties


> properties file not found in jaiimageio
> ---------------------------------------
>
>                 Key: TIKA-3460
>                 URL: https://issues.apache.org/jira/browse/TIKA-3460
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 1.27
>
>
> We're getting a handful of new exceptions in bmp files in 1.27-SNAPSHOT vs 
> 1.26.
> {noformat}
> o.a.t.exception.TikaException
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:297)
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:281)
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:281)
>       at o.a.t.parser.AutoDetectParser.parse(AutoDetectParser.java:143)
>       at o.a.t.parser.ParserDecorator.parse(ParserDecorator.java:188)
>       at o.a.t.parser.DigestingParser.parse(DigestingParser.java:84)
>       at o.a.t.parser.ParserDecorator.parse(ParserDecorator.java:188)
>       at 
> o.a.t.parser.RecursiveParserWrapper$EmbeddedParserDecorator.parse(RecursiveParserWrapper.java:376)
>       at o.a.t.parser.DelegatingParser.parse(DelegatingParser.java:72)
>       at 
> o.a.t.extractor.ParsingEmbeddedDocumentExtractor.parseEmbedded(ParsingEmbeddedDocumentExtractor.java:104)
>       at o.a.t.parser.pkg.PackageParser.parseEntry(PackageParser.java:450)
>       at o.a.t.parser.pkg.PackageParser.parseEntries(PackageParser.java:370)
>       at o.a.t.parser.pkg.PackageParser.parse(PackageParser.java:321)
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:281)
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:281)
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:281)
>       at o.a.t.parser.AutoDetectParser.parse(AutoDetectParser.java:143)
>       at o.a.t.parser.ParserDecorator.parse(ParserDecorator.java:188)
>       at o.a.t.parser.DigestingParser.parse(DigestingParser.java:84)
>       at 
> o.a.t.parser.RecursiveParserWrapper.parse(RecursiveParserWrapper.java:239)
>       at o.a.t.batch.FileResourceConsumer.parse(FileResourceConsumer.java:406)
>       at 
> o.a.t.batch.fs.RecursiveParserWrapperFSConsumer.processFileResource(RecursiveParserWrapperFSConsumer.java:105)
>       at 
> o.a.t.batch.FileResourceConsumer._processFileResource(FileResourceConsumer.java:181)
>       at o.a.t.batch.FileResourceConsumer.call(FileResourceConsumer.java:115)
>       at o.a.t.batch.FileResourceConsumer.call(FileResourceConsumer.java:50)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>       at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.RuntimeException
>       at 
> com.github.jaiimageio.impl.common.I18NImpl.getString(I18NImpl.java:75)
>       at com.github.jaiimageio.impl.plugins.bmp.I18N.getString(I18N.java:51)
>       at 
> com.github.jaiimageio.impl.plugins.bmp.BMPImageReader.readHeader(BMPImageReader.java:501)
>       at 
> com.github.jaiimageio.impl.plugins.bmp.BMPImageReader.getWidth(BMPImageReader.java:208)
>       at o.a.t.parser.image.ImageParser.parse(ImageParser.java:185)
>       at o.a.t.parser.CompositeParser.parse(CompositeParser.java:281)
>       ... 30 more
> Caused by: java.lang.NullPointerException
>       at java.util.Properties$LineReader.readLine(Properties.java
>       at java.util.Properties.load0(Properties.java:353)
>       at java.util.Properties.load(Properties.java:341)
>       at 
> java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:138)
> {noformat}
> this cause of this is: 
> https://github.com/jai-imageio/jai-imageio-core/blob/master/src/main/java/com/github/jaiimageio/impl/common/I18NImpl.java#L72
> Apparently, we're not bundling the {{properties}} file?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to