java.lang.ClassCastException: org.icepdf.core.pobjects.Reference cannot be cast to java.util.HashMap

Icesoft | yury.shulhat | 3 years ago
  1. 0

    Pages are rendered in white sheets

    Icesoft | 3 years ago | yury.shulhat
    java.lang.ClassCastException: org.icepdf.core.pobjects.Reference cannot be cast to java.util.HashMap
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Trident: ClassCastException in StateTransitionMultiTracker

    GitHub | 10 months ago | IvanRF
    java.lang.ClassCastException: java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode
  4. 0

    Strange HashMap exception (HashMap$Node cannot be cast to HashMap$TreeNode)

    Stack Overflow | 2 years ago | pnadczuk
    java.lang.ClassCastException: java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode

    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.icepdf.core.pobjects.Reference cannot be cast to java.util.HashMap

      at org.icepdf.core.pobjects.graphics.PColorSpace.getColorSpace()
    2. org.icepdf.core
      Document.getPageImage
      1. org.icepdf.core.pobjects.graphics.PColorSpace.getColorSpace(PColorSpace.java:87)
      2. org.icepdf.core.pobjects.Resources.getColorSpace(Resources.java:92)
      3. org.icepdf.core.util.content.AbstractContentParser.consume_cs(AbstractContentParser.java:239)
      4. org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)
      5. org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
      6. org.icepdf.core.pobjects.Page.init(Page.java:363)
      7. org.icepdf.core.pobjects.Document.getPageImage(Document.java:1086)
      7 frames
    3. Unknown
      Text.main
      1. Text.saveImages(Text.java:290)
      2. Text.saveImages(Text.java:278)
      3. Text.main(Text.java:57)
      3 frames