org.apache.tika.exception.TikaException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@2a15cd 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 com.arisglobal.agcommon.agsolr.util.TikaIndexTest.main(TikaIndexTest.java:37) Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary at org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:93) at org.apache.tika.parser.pdf.PDF2XHTML.endPage(PDF2XHTML.java:178) at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:450) at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:372) at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:328) at org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:72) at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:153) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) ... 3 more
No Bugmate found.