org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@1fbfd6<mailto:org.apache.tika.parser.pdf.PDFParser@1fbfd6>

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

    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>
  2. 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>
  3. 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>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  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 | Phani Kumar Samudrala
    org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@2a15cd

    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:148)
      1 frame
    4. Apache PDFBox
      PDFTextStripper.writeText
      1. org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:444)
      2. org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:366)
      3. org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:322)
      3 frames
    5. Apache Tika parsers
      PDFParser.parse
      1. org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:66)
      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.pc
      TikaWithIndexing.main
      1. com.pc.TikaWithIndexing.main(TikaWithIndexing.java:53)
      1 frame