Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Icesoft by yury.shulhat, 1 year ago
org.icepdf.core.pobjects.Reference cannot be cast to java.util.HashMap
java.lang.ClassCastException: org.icepdf.core.pobjects.Reference cannot be cast to java.util.HashMap	at org.icepdf.core.pobjects.graphics.PColorSpace.getColorSpace(PColorSpace.java:87)	at org.icepdf.core.pobjects.Resources.getColorSpace(Resources.java:92)	at org.icepdf.core.util.content.AbstractContentParser.consume_cs(AbstractContentParser.java:239)	at org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)	at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)	at org.icepdf.core.pobjects.Page.init(Page.java:363)	at org.icepdf.core.pobjects.Document.getPageImage(Document.java:1086)	at Text.saveImages(Text.java:290)	at Text.saveImages(Text.java:278)	at Text.main(Text.java:57)