tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detlev Beutner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1656) errors when parsing images by solr
Date Wed, 01 Jul 2015 11:07:05 GMT

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

Detlev Beutner commented on TIKA-1656:
--------------------------------------

Hi there,

1.8.0_45 is quite stable and at least throws the exception you had mentioned; before, there
was a good chance to run into an OOM, that was fixed (also see https://bugs.openjdk.java.net/browse/JDK-8041454
for OpenJDK).

If you open the PNGs with Photoshop and save them freshly (not as a copy), reading the image
will work also with the SUN png image classes. Anyhow, these still might be not tolerant enough
or misinterpreting something of the PNG specification. So one could try to use other PNG libraries
instead, see http://stackoverflow.com/questions/4443288/alternatives-libraries-for-loading-png-images
for example for a first overview.

In any case, it's not an issue of the application software itself.

> errors when parsing images by solr
> ----------------------------------
>
>                 Key: TIKA-1656
>                 URL: https://issues.apache.org/jira/browse/TIKA-1656
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.6
>         Environment: webserver tomcat
> os windows 8
>            Reporter: Alain Najjar
>         Attachments: ScreenshotOutPutTest12.png, ScreenshotOutPutTest2.png
>
>
> exceptions related to solr indexing:
> {noformat}
> 2015-06-11 17:18:04,484 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:IO Devices.Mail Input Output
Example@S
> creenshotOutPutTest2.png]
> org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.image.ImageParser@55146aa5
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:246) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachment(DocumentSolrMetadataExtractor.java:304)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachments(DocumentSolrMetadataExtractor.java:284)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setExtras(DocumentSolrMetadataExtractor.java:213)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:153)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: java.lang.NegativeArraySizeException: null
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:745)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.getImageMetadata(PNGImageReader.java:1567)
~[na:1.7.0_75]
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:97) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         ... 13 common frames omitted
> 2015-06-11 17:18:04,975 [XWiki Solr index thread] ERROR ttachmentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:IO Devices.Mail Input Output
Example@S
> creenshotOutPutTest2.png]
> org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.image.ImageParser@78878c18
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:246) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setLocaleAndContentFields(AttachmentSolrMetadataExtractor.java:119)
[xwiki-platform-search-solr-api-6.4.4.j
> ar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setFieldsInternal(AttachmentSolrMetadataExtractor.java:101)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: java.lang.NegativeArraySizeException: null
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:745)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.getImageMetadata(PNGImageReader.java:1567)
~[na:1.7.0_75]
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:97) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         ... 11 common frames omitted
> 2015-06-11 17:18:07,297 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:IO Devices.WebHome@ScreenshotOutPutTes
> t2.png]
> org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.image.ImageParser@4a55d4e0
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:246) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachment(DocumentSolrMetadataExtractor.java:304)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachments(DocumentSolrMetadataExtractor.java:284)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setExtras(DocumentSolrMetadataExtractor.java:213)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:153)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: java.lang.NegativeArraySizeException: null
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:745)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.getImageMetadata(PNGImageReader.java:1567)
~[na:1.7.0_75]
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:97) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         ... 13 common frames omitted
> 2015-06-11 17:18:08,091 [XWiki Solr index thread] ERROR ttachmentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:IO Devices.WebHome@ScreenshotOutPutTes
> t2.png]
> org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.image.ImageParser@26e7f2ac
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:246) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setLocaleAndContentFields(AttachmentSolrMetadataExtractor.java:119)
[xwiki-platform-search-solr-api-6.4.4.j
> ar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setFieldsInternal(AttachmentSolrMetadataExtractor.java:101)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: java.lang.NegativeArraySizeException: null
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:745)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.getImageMetadata(PNGImageReader.java:1567)
~[na:1.7.0_75]
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:97) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         ... 11 common frames omitted
> 2015-06-11 17:18:10,063 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:IO Drivers.WebHome@Export.png]
> org.apache.tika.exception.TikaException: image/png parse error
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:115) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachment(DocumentSolrMetadataExtractor.java:304)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachments(DocumentSolrMetadataExtractor.java:284)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setExtras(DocumentSolrMetadataExtractor.java:213)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:153)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: javax.imageio.IIOException: Error reading PNG metadata
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:769)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.getImageMetadata(PNGImageReader.java:1567)
~[na:1.7.0_75]
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:97) ~[tika-parsers-1.6.jar:1.6]
>         ... 14 common frames omitted
> Caused by: java.io.EOFException: null
>         at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:353)
~[na:1.7.0_75]
>         at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:361)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:746)
~[na:1.7.0_75]
>         ... 16 common frames omitted
> 2015-06-11 17:18:11,738 [XWiki Solr index thread] ERROR ttachmentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:IO Drivers.WebHome@Export.png]
> org.apache.tika.exception.TikaException: image/png parse error
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:115) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setLocaleAndContentFields(AttachmentSolrMetadataExtractor.java:119)
[xwiki-platform-search-solr-api-6.4.4.j
> ar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setFieldsInternal(AttachmentSolrMetadataExtractor.java:101)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: javax.imageio.IIOException: Error reading PNG metadata
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:769)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.getImageMetadata(PNGImageReader.java:1567)
~[na:1.7.0_75]
>         at org.apache.tika.parser.image.ImageParser.parse(ImageParser.java:97) ~[tika-parsers-1.6.jar:1.6]
>         ... 12 common frames omitted
> Caused by: java.io.EOFException: null
>         at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:353)
~[na:1.7.0_75]
>         at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:361)
~[na:1.7.0_75]
>         at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:746)
~[na:1.7.0_75]
>         ... 14 common frames omitted
> 2015-06-11 17:18:12,891 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:Main.PublishForPalmyraMacro@numberedhe
> adings.JPG]
> org.apache.tika.exception.TikaException: Can't read JPEG metadata
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:94)
~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:56) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachment(DocumentSolrMetadataExtractor.java:304)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachments(DocumentSolrMetadataExtractor.java:284)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setExtras(DocumentSolrMetadataExtractor.java:213)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:153)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: com.drew.imaging.jpeg.JpegProcessingException: not a jpeg file
>         at com.drew.imaging.jpeg.JpegSegmentReader.readSegments(JpegSegmentReader.java:212)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegSegmentReader.<init>(JpegSegmentReader.java:107)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:70)
~[metadata-extractor-2.6.2.jar:na]
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:91)
~[tika-parsers-1.6.jar:1.6]
>         ... 15 common frames omitted
> 2015-06-11 17:18:12,907 [XWiki Solr index thread] ERROR ttachmentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:Main.PublishForPalmyraMacro@numberedhe
> adings.JPG]
> org.apache.tika.exception.TikaException: Can't read JPEG metadata
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:94)
~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:56) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setLocaleAndContentFields(AttachmentSolrMetadataExtractor.java:119)
[xwiki-platform-search-solr-api-6.4.4.j
> ar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setFieldsInternal(AttachmentSolrMetadataExtractor.java:101)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: com.drew.imaging.jpeg.JpegProcessingException: not a jpeg file
>         at com.drew.imaging.jpeg.JpegSegmentReader.readSegments(JpegSegmentReader.java:212)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegSegmentReader.<init>(JpegSegmentReader.java:107)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:70)
~[metadata-extractor-2.6.2.jar:na]
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:91)
~[tika-parsers-1.6.jar:1.6]
>         ... 13 common frames omitted
> 2015-06-11 17:18:12,978 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:Main.PublishMacro@numberedheadings.JPG
> ]
> org.apache.tika.exception.TikaException: Can't read JPEG metadata
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:94)
~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:56) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachment(DocumentSolrMetadataExtractor.java:304)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setAttachments(DocumentSolrMetadataExtractor.java:284)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setExtras(DocumentSolrMetadataExtractor.java:213)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:153)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: com.drew.imaging.jpeg.JpegProcessingException: not a jpeg file
>         at com.drew.imaging.jpeg.JpegSegmentReader.readSegments(JpegSegmentReader.java:212)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegSegmentReader.<init>(JpegSegmentReader.java:107)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:70)
~[metadata-extractor-2.6.2.jar:na]
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:91)
~[tika-parsers-1.6.jar:1.6]
>         ... 15 common frames omitted
> 2015-06-11 17:18:13,073 [XWiki Solr index thread] ERROR ttachmentSolrMetadataExtractor
- Failed to retrieve the content of attachment [Attachment xwiki:Main.PublishMacro@numberedheadings.JPG
> ]
> org.apache.tika.exception.TikaException: Can't read JPEG metadata
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:94)
~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:56) ~[tika-parsers-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:121) ~[tika-core-1.6.jar:1.6]
>         at org.apache.tika.Tika.parseToString(Tika.java:465) ~[tika-core-1.6.jar:1.6]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getContentAsText(AbstractSolrMetadataExtractor.java:475)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setLocaleAndContentFields(AttachmentSolrMetadataExtractor.java:119)
[xwiki-platform-search-solr-api-6.4.4.j
> ar:na]
>         at org.xwiki.search.solr.internal.metadata.AttachmentSolrMetadataExtractor.setFieldsInternal(AttachmentSolrMetadataExtractor.java:101)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384)
[xwiki-platform-search-solr-api-6.4.4.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: com.drew.imaging.jpeg.JpegProcessingException: not a jpeg file
>         at com.drew.imaging.jpeg.JpegSegmentReader.readSegments(JpegSegmentReader.java:212)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegSegmentReader.<init>(JpegSegmentReader.java:107)
~[metadata-extractor-2.6.2.jar:na]
>         at com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:70)
~[metadata-extractor-2.6.2.jar:na]
>         at org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:91)
~[tika-parsers-1.6.jar:1.6]
>         ... 13 common frames omitted
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message