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 aoganesi, 2 years ago
org.icepdf.core.pobjects.fonts.ofont.OFont cannot be cast to org.icepdf.core.pobjects.fonts.nfont.j
java.lang.ClassCastException: org.icepdf.core.pobjects.fonts.ofont.OFont cannot be cast to org.icepdf.core.pobjects.fonts.nfont.j at org.icepdf.core.pobjects.fonts.nfont.Font.init(Unknown Source) at org.icepdf.core.pobjects.Resources.getFont(Resources.java:147) at org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractContentParser.java:722) 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.Form.init(Form.java:168) at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:536) at org.icepdf.core.util.content.NContentParser.parse(Unknown Source) at org.icepdf.core.pobjects.Page.init(Page.java:367) at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)