Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 4.2
-
Fix Version/s: 4.2.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:-
Description
The issue depends on which OCR tool is used, most notably PixEdit: http://www.pixedit.com/ocr.aspx. The attached test file "10279_Regular.pdf" has been used to create "10279_OCR.pdf" using PixEdit. When viewing the OCR version, the following exception is thrown by ICEpdf:
FINE: Error initializing Page.
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:85)
at java.util.Stack.pop(Stack.java:67)
at org.icepdf.core.util.ContentParser.consume_rg(ContentParser.java:1646)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:592)
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.util.EmptyStackException
at java.util.Stack.peek(Stack.java:85)
at java.util.Stack.pop(Stack.java:67)
at org.icepdf.core.util.ContentParser.consume_rg(ContentParser.java:1646)
at org.icepdf.core.util.ContentParser.parse(ContentParser.java:592)
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)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion