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

Icesoft | yury.shulhat | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Pages are rendered in white sheets

    Icesoft | 4 years ago | yury.shulhat
    java.lang.ClassCastException: org.icepdf.core.pobjects.Reference cannot be cast to java.util.HashMap

    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