org.apache.tika.exception.TikaException

Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@5d3ac0

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@5d3ac0 at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:130) at org.apache.tika.cli.TikaCLI$TikaServer$1.run(TikaCLI.java:735) Caused by: java.lang.ArrayIndexOutOfBoundsException: 487 at org.apache.poi.hwpf.sprm.SprmOperation.initSize(SprmOperation.java:174) at org.apache.poi.hwpf.sprm.SprmOperation.<init>(SprmOperation.java:80) at org.apache.poi.hwpf.sprm.SprmIterator.next(SprmIterator.java:48) at org.apache.poi.hwpf.sprm.ParagraphSprmUncompressor.uncompressPAP(ParagraphSprmUncompressor.java:67) at org.apache.poi.hwpf.usermodel.Paragraph.newParagraph(Paragraph.java:103) at org.apache.poi.hwpf.usermodel.Range.getTable(Range.java:943) at org.apache.tika.parser.microsoft.WordExtractor.handleParagraph(WordExtractor.java:146) at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:97) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:185) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:160) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) ... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.