tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seva Alekseyev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-2166) TaggedIOException from a ZipException on a valid Word file
Date Fri, 04 Nov 2016 20:11:58 GMT

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

Seva Alekseyev updated TIKA-2166:
---------------------------------
    Attachment: AMSMIC briefing doc.docx

> TaggedIOException from a ZipException on a valid Word file
> ----------------------------------------------------------
>
>                 Key: TIKA-2166
>                 URL: https://issues.apache.org/jira/browse/TIKA-2166
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.13
>         Environment: Windows 7 x64, JVM 1.8.0_101
>            Reporter: Seva Alekseyev
>         Attachments: AMSMIC briefing doc.docx
>
>
> On the attached file, which opens with Word, Tika throws:
> org.apache.tika.io.TaggedIOException: invalid block type
> 	at org.apache.tika.io.TaggedInputStream.handleIOException(TaggedInputStream.java:133)
> 	at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:63)
> 	at org.gagravarr.tika.OggDetector.detect(OggDetector.java:68)
> 	at org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:77)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:112)
> 	at org.apache.tika.parser.DelegatingParser.parse(DelegatingParser.java:72)
> 	at org.apache.tika.extractor.ParsingEmbeddedDocumentExtractor.parseEmbedded(ParsingEmbeddedDocumentExtractor.java:102)
> 	at org.apache.tika.parser.microsoft.ooxml.AbstractOOXMLExtractor.handleEmbeddedFile(AbstractOOXMLExtractor.java:298)
> 	at org.apache.tika.parser.microsoft.ooxml.AbstractOOXMLExtractor.handleEmbeddedParts(AbstractOOXMLExtractor.java:199)
> 	at org.apache.tika.parser.microsoft.ooxml.AbstractOOXMLExtractor.getXHTML(AbstractOOXMLExtractor.java:112)
> 	at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:112)
> 	at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:87)
> 	at gov.nih.niaid.fscanner.Extract.ExtractContents(Extract.java:63)
> 	at gov.nih.niaid.temp.Main.main(Main.java:68)
> Caused by: org.apache.tika.io.TaggedIOException: invalid block type
> 	at org.apache.tika.io.TaggedInputStream.handleIOException(TaggedInputStream.java:133)
> 	at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:103)
> 	at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:99)
> 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
> 	at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:59)
> 	... 12 more
> Caused by: java.util.zip.ZipException: invalid block type
> 	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
> 	at org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream.read(ZipSecureFile.java:213)
> 	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
> 	at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:99)
> 	... 16 more



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

Mime
View raw message