org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@2a15cd

tika-user | Phani Kumar Samudrala | 4 years 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

    RE: Tika 1.2 PDF parse error - org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary

    tika-user | 4 years ago | Phani Kumar Samudrala
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@2a15cd
  2. 0

    RE: Tika 1.2 PDF parse error - org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary

    tika-user | 4 years ago | Phani Kumar Samudrala
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@2a15cd
  3. 0

    Tika 1.2 PDF parse error - org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary

    Stack Overflow | 4 years ago | Phani Kumar
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@1fbfd6<mailto:org.apache.tika.parser.pdf.PDFParser@1fbfd6>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tika 1.2 PDF parse error - org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary

    tika-user | 4 years ago | Phani Kumar Samudrala
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@1fbfd6<mailto:org.apache.tika.parser.pdf.PDFParser@1fbfd6>
  6. 0

    RE: Tika 1.2 PDF parse error - org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary

    tika-user | 4 years ago | Markus Jelsma
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@1fbfd6<mailto:org.apache.tika.parser.pdf.PDFParser@1fbfd6>

    Root Cause Analysis

    1. 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()
    2. Apache PDFBox
      PDAnnotationLink.getAction
      1. org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:93)
      1 frame
    3. Apache Tika parsers
      PDF2XHTML.endPage
      1. org.apache.tika.parser.pdf.PDF2XHTML.endPage(PDF2XHTML.java:178)
      1 frame
    4. Apache PDFBox
      PDFTextStripper.writeText
      1. org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:450)
      2. org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:372)
      3. org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:328)
      3 frames
    5. Apache Tika parsers
      PDFParser.parse
      1. org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:72)
      2. org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:153)
      2 frames
    6. Apache Tika core
      AutoDetectParser.parse
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
      2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      3 frames
    7. com.arisglobal.agcommon
      TikaIndexTest.main
      1. com.arisglobal.agcommon.agsolr.util.TikaIndexTest.main(TikaIndexTest.java:37)
      1 frame