Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 4.1.1
-
Fix Version/s: 4.1.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
Description
The following exception is thrown when trying to display PDF:
Nov 23, 2010 11:14:23 AM org.icepdf.core.pobjects.Resources getImage
FINE: Error getting image by name: I1
java.lang.RuntimeException: Invalid code encountered.
at org.icepdf.core.pobjects.filters.CCITTFaxDecoder.decodeNextScanline(CCITTFaxDecoder.java:704)
at org.icepdf.core.pobjects.filters.CCITTFaxDecoder.decodeT41D(CCITTFaxDecoder.java:822)
at org.icepdf.core.pobjects.Stream.ccittFaxDecode(Stream.java:1675)
at org.icepdf.core.pobjects.Stream.getImage(Stream.java:1966)
at org.icepdf.core.pobjects.Stream.getImage(Stream.java:1854)
at org.icepdf.core.pobjects.Resources.getImage(Resources.java:261)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:477)
at org.icepdf.core.pobjects.Page.init(Page.java:369)
at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1088)
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:619)
This is thrown for each image in the pdf. The images are not shown on the page or they are shown in black.
Nov 23, 2010 11:14:23 AM org.icepdf.core.pobjects.Resources getImage
FINE: Error getting image by name: I1
java.lang.RuntimeException: Invalid code encountered.
at org.icepdf.core.pobjects.filters.CCITTFaxDecoder.decodeNextScanline(CCITTFaxDecoder.java:704)
at org.icepdf.core.pobjects.filters.CCITTFaxDecoder.decodeT41D(CCITTFaxDecoder.java:822)
at org.icepdf.core.pobjects.Stream.ccittFaxDecode(Stream.java:1675)
at org.icepdf.core.pobjects.Stream.getImage(Stream.java:1966)
at org.icepdf.core.pobjects.Stream.getImage(Stream.java:1854)
at org.icepdf.core.pobjects.Resources.getImage(Resources.java:261)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:477)
at org.icepdf.core.pobjects.Page.init(Page.java:369)
at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1088)
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:619)
This is thrown for each image in the pdf. The images are not shown on the page or they are shown in black.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | blackPdf.pdf [ 12696 ] | |
Attachment | Case9586-pdf-logs.txt [ 12697 ] |
Arran Mccullough
made changes -
Salesforce Case | [5007000000EUK1g] |
Patrick Corless
made changes -
Attachment | PDF-230__work_around_for_Itext_5_03_k_enocoding_issue_.patch [ 12703 ] |
Patrick Corless
made changes -
Fix Version/s | 4.2 [ 10243 ] |
Patrick Corless
made changes -
Fix Version/s | 4.1.3 [ 10257 ] | |
Fix Version/s | 4.2 [ 10243 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Duplicate [ 3 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |