java.lang.ClassCastException: org.sejda.sambox.cos.COSDictionary cannot be cast to org.sejda.sambox.cos.COSStream

GitHub | torakiki | 4 months ago
  1. 0

    ClassCastException when optimizing xObject of the wrong type

    GitHub | 4 months ago | torakiki
    java.lang.ClassCastException: org.sejda.sambox.cos.COSDictionary cannot be cast to org.sejda.sambox.cos.COSStream
  2. 0

    Bug in PDResources.isImageXObject

    GitHub | 9 months ago | ediweissmann
    java.lang.ClassCastException: org.sejda.sambox.cos.COSDictionary cannot be cast to org.sejda.sambox.cos.COSStream
  3. 0

    Avoid ClassCastException for malformed PDFs

    GitHub | 9 months ago | torakiki
    java.lang.ClassCastException: org.sejda.sambox.cos.COSString cannot be cast to org.sejda.sambox.cos.COSDictionary
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Malformed AcroForm causes ClassCastException

    GitHub | 5 months ago | torakiki
    java.lang.ClassCastException: org.sejda.sambox.cos.COSNull cannot be cast to org.sejda.sambox.cos.COSDictionary
  6. 0

    AcroForms merge fails if the there a ProcSet entry in the form resources dictionary

    GitHub | 1 year ago | torakiki
    java.lang.ClassCastException: org.sejda.sambox.cos.COSArray cannot be cast to org.sejda.sambox.cos.COSDictionary

    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.sejda.sambox.cos.COSDictionary cannot be cast to org.sejda.sambox.cos.COSStream

      at org.sejda.impl.sambox.component.optimizaton.ImagesOptimizer$XObjectOperator.process()
    2. org.sejda.impl
      ImagesOptimizer$XObjectOperator.process
      1. org.sejda.impl.sambox.component.optimizaton.ImagesOptimizer$XObjectOperator.process(ImagesOptimizer.java:108)
      1 frame
    3. org.sejda.sambox
      PDFStreamEngine.processOperator
      1. org.sejda.sambox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:781)
      1 frame