org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@6c2ad6c6

grokbase.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [Tika-dev] [jira] [Commented] (TIKA-1046) Get "java.util.zip.ZipException: unknown compression method" when indexing ppf97-file containing wmf-image - Grokbase

    grokbase.com | 9 months ago
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@6c2ad6c6
  2. 0

    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. EDIT3: the attached "paperfigures" file emits "invalid distance too far back". Something is wrong with ZIP in Powerpoints. EDIT4: in "Lab meeting", it's "Unexpected end of ZLIB input stream" "suba" exhibits a similar error, "invalid distance too far back" but in a different exception.

    Apache's JIRA Issue Tracker | 6 months ago | Seva Alekseyev
    org.apache.poi.hslf.exceptions.HSLFException: java.util.zip.ZipException: invalid stored block lengths
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    MATLAB Central - Java compression methods

    mathworks.com | 9 months ago
    java.util.zip.ZipException: unknown compression method
  5. 0

    Unknown compression method

    Google Groups | 4 years ago | Filippo Diotalevi
    java.util.zip.ZipException: unknown compression method

  1. esaar 1 times, last 9 months ago
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.zip.ZipException

    unknown compression method

    at java.util.zip.InflaterInputStream.read()
  2. Java RT
    FilterInputStream.read
    1. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    2. java.io.FilterInputStream.read(FilterInputStream.java:107)
    2 frames
  3. Apache POI
    WMF.getData
    1. org.apache.poi.hslf.blip.WMF.getData(WMF.java:59)
    1 frame
  4. Apache Tika parsers
    OfficeParser.parse
    1. org.apache.tika.parser.microsoft.HSLFExtractor.handleSlideEmbeddedPictures(HSLFExtractor.java:264)
    2. org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:173)
    3. org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:204)
    4. org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:172)
    4 frames
  5. Apache Tika core
    AutoDetectParser.parse
    1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:270)
    2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:270)
    3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
    3 frames
  6. Tika application
    TikaCLI.main
    1. org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:153)
    2. org.apache.tika.cli.TikaCLI.process(TikaCLI.java:450)
    3. org.apache.tika.cli.TikaCLI.main(TikaCLI.java:123)
    3 frames