Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.3.4, 4.4, 5.0.0 alpha1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:Customer is printing them as images from the pdf itself using BullZip to be able to open them in icepdf.
Description
The following stack trace is thrown when rendering the provided PDF files:
java.lang.ArrayIndexOutOfBoundsException: 6
at org.icepdf.core.pobjects.graphics.Indexed.init(Indexed.java:104)
at org.icepdf.core.pobjects.Resources.getColorSpace(Resources.java:199)
at org.icepdf.core.pobjects.Stream.getImage(Stream.java:2209)
at org.icepdf.core.pobjects.Resources.getImage(Resources.java:252)
at org.icepdf.core.util.ContentParser.consume_Do(ContentParser.java:2001)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:382)
at org.icepdf.core.pobjects.Page.init(Page.java:372)
at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1072)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
java.lang.ArrayIndexOutOfBoundsException: 6
at org.icepdf.core.pobjects.graphics.Indexed.init(Indexed.java:104)
at org.icepdf.core.pobjects.Resources.getColorSpace(Resources.java:199)
at org.icepdf.core.pobjects.Stream.getImage(Stream.java:2209)
at org.icepdf.core.pobjects.Resources.getImage(Resources.java:252)
at org.icepdf.core.util.ContentParser.consume_Do(ContentParser.java:2001)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:382)
at org.icepdf.core.pobjects.Page.init(Page.java:372)
at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1072)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion