java.lang.ClassCastException: java.lang.String cannot be cast to org.icepdf.core .pobjects.Stream


Solutions on the web3


Stack trace

java.lang.ClassCastException: java.lang.String cannot be cast to org.icepdf.core
.pobjects.Stream
	at org.icepdf.core.pobjects.Page.initPageContents(Page.java:231)
	at org.icepdf.core.pobjects.Page.init(Page.java:335)
	at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1008)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:680)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.