Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 4.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:-
Description
There is an exception coming from the method that returns the color for the array of float values.
FINE: Error initializing Page.
java.lang.ArrayIndexOutOfBoundsException: 28
at org.icepdf.core.pobjects.graphics.Indexed.getColor(Indexed.java:138)
at org.icepdf.core.util.ContentParser.consume_sc(ContentParser.java:1784)
at org.icepdf.core.util.ContentParser.parseText(ContentParser.java:1210)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:277)
at org.icepdf.core.pobjects.Page.init(Page.java:390)
at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1077)
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:680)
FINE: Error initializing Page.
java.lang.ArrayIndexOutOfBoundsException: 28
at org.icepdf.core.pobjects.graphics.Indexed.getColor(Indexed.java:138)
at org.icepdf.core.util.ContentParser.consume_sc(ContentParser.java:1784)
at org.icepdf.core.util.ContentParser.parseText(ContentParser.java:1210)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:277)
at org.icepdf.core.pobjects.Page.init(Page.java:390)
at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1077)
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:680)
Issue Links
- blocks
-
PDF-307 Pattern Fill paint issue
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
I've addressed the index out of bounds exception but there is still an issue with a pattern paint used to fill in the headers. I'm going to resolve this issue and add the sample file as a dependency to
PDF-307which better captures the pattern fill problem.