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-2164) HSLFException from ZipException "invalid stored block lengths" on a valid Powerpoint file
Date Fri, 04 Nov 2016 18:11:58 GMT

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

Seva Alekseyev updated TIKA-2164:
---------------------------------
    Description: 
On the following Powerpoint file:

https://dl.dropboxusercontent.com/u/92341073/TCM%202012_DR_5.ppt

which opens fine with Powerpoint, the Tika parser throws the following error:

org.apache.poi.hslf.exceptions.HSLFException: java.util.zip.ZipException: invalid stored block
lengths
	at org.apache.poi.hslf.blip.WMF.getData(WMF.java:64)
	at org.apache.tika.parser.microsoft.HSLFExtractor.handleSlideEmbeddedPictures(HSLFExtractor.java:324)
	at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:193)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:149)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
Caused by: java.util.zip.ZipException: invalid stored block lengths
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
	at java.io.FilterInputStream.read(FilterInputStream.java:107)
	at org.apache.poi.hslf.blip.WMF.getData(WMF.java:58)
	... 6 more

EDIT: the attached "Research forum" file emits a similar error "invalid block type".
EDIT2: the attached "Jankovic final Retreat 2002" file emits a similar "invalid literal/length
code" error.

  was:
On the following Powerpoint file:

https://dl.dropboxusercontent.com/u/92341073/TCM%202012_DR_5.ppt

which opens fine with Powerpoint, the Tika parser throws the following error:

org.apache.poi.hslf.exceptions.HSLFException: java.util.zip.ZipException: invalid stored block
lengths
	at org.apache.poi.hslf.blip.WMF.getData(WMF.java:64)
	at org.apache.tika.parser.microsoft.HSLFExtractor.handleSlideEmbeddedPictures(HSLFExtractor.java:324)
	at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:193)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:149)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
Caused by: java.util.zip.ZipException: invalid stored block lengths
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
	at java.io.FilterInputStream.read(FilterInputStream.java:107)
	at org.apache.poi.hslf.blip.WMF.getData(WMF.java:58)
	... 6 more

EDIT: the attached file emits a similar error "invalid block type".


> HSLFException from ZipException "invalid stored block lengths" on a valid Powerpoint
file
> -----------------------------------------------------------------------------------------
>
>                 Key: TIKA-2164
>                 URL: https://issues.apache.org/jira/browse/TIKA-2164
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.13
>         Environment: Windows 7 x64, JVM 1.8.0_101
>            Reporter: Seva Alekseyev
>         Attachments: Jankovic final Retreat 2002.PPT, Research Forum 2013.3.ppt
>
>
> On the following Powerpoint file:
> https://dl.dropboxusercontent.com/u/92341073/TCM%202012_DR_5.ppt
> which opens fine with Powerpoint, the Tika parser throws the following error:
> org.apache.poi.hslf.exceptions.HSLFException: java.util.zip.ZipException: invalid stored
block lengths
> 	at org.apache.poi.hslf.blip.WMF.getData(WMF.java:64)
> 	at org.apache.tika.parser.microsoft.HSLFExtractor.handleSlideEmbeddedPictures(HSLFExtractor.java:324)
> 	at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:193)
> 	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:149)
> 	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
> Caused by: java.util.zip.ZipException: invalid stored block lengths
> 	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
> 	at java.io.FilterInputStream.read(FilterInputStream.java:107)
> 	at org.apache.poi.hslf.blip.WMF.getData(WMF.java:58)
> 	... 6 more
> EDIT: the attached "Research forum" file emits a similar error "invalid block type".
> EDIT2: the attached "Jankovic final Retreat 2002" file emits a similar "invalid literal/length
code" error.



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

Mime
View raw message