java.lang.ClassCastException: org.apache.pdfbox.cos.COSDictionary cannot be cast to org.apache.pdfbox.cos.COSStream

GitHub | gsteimer | 4 months ago
  1. 0

    Cannot Search within Controlled Document with Signature Page

    GitHub | 4 months ago | gsteimer
    java.lang.ClassCastException: org.apache.pdfbox.cos.COSDictionary cannot be cast to org.apache.pdfbox.cos.COSStream
  2. 0

    pdfbox class cast exception

    Stack Overflow | 2 years ago | Dinoop Nair
    java.lang.ClassCastException: org.apache.pdfbox.cos.COSDictionary cannot be cast to org.apache.pdfbox.cos.COSStream at org.apache.pdfbox.pdmodel.common.COSStreamArray.<init>(COSStreamArray.java:68)
  3. 0

    [jira] Updated: (PDFBOX-880) ClassCastException: COSDictionary cannot be cast to COSStream

    pdfbox-dev | 6 years ago | Lars Torunski (JIRA)
    java.lang.ClassCastException: org.apache.pdfbox.cos.COSDictionary cannot be cast to org.apache.pdfbox.cos.COSStream
  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

    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>

    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.lang.ClassCastException

      org.apache.pdfbox.cos.COSDictionary cannot be cast to org.apache.pdfbox.cos.COSStream

      at org.apache.pdfbox.pdmodel.common.COSStreamArray.<init>()
    2. Apache PDFBox
      PDFTextStripper.getText
      1. org.apache.pdfbox.pdmodel.common.COSStreamArray.<init>(COSStreamArray.java:68)
      2. org.apache.pdfbox.pdmodel.common.PDStream.createFromCOS(PDStream.java:185)
      3. org.apache.pdfbox.pdmodel.PDPage.getContents(PDPage.java:639)
      4. org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:378)
      5. org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:342)
      6. org.apache.pdfbox.util.PDFTextStripper.getText(PDFTextStripper.java:275)
      6 frames
    3. com.tsgrp.opencontent
      XFDFAnnotationImpl.getWordMaps
      1. com.tsgrp.opencontent.universal.annotation.XFDFAnnotationImpl.getWordMaps(XFDFAnnotationImpl.java:1561)
      2. com.tsgrp.opencontent.universal.annotation.XFDFAnnotationImpl.getWordMaps(XFDFAnnotationImpl.java:1509)
      2 frames