[
https://issues.apache.org/jira/browse/PDFBOX-3598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-3598.
-----------------------------------
Resolution: Not A Problem
> EmptyStackException in PDFStreamEngine.getGraphicsState
> -------------------------------------------------------
>
> Key: PDFBOX-3598
> URL: https://issues.apache.org/jira/browse/PDFBOX-3598
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.3
> Reporter: Yan Bing
> Priority: Critical
> Attachments: pdfbox-test-data1.pdf, pdfbox-test-data2.pdf
>
>
> I try to get a PDF's Colorspace by PDFBox2.0.3.
> But it throws this exception.
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:102)
> at
> org.apache.pdfbox.contentstream.PDFStreamEngine.getGraphicsState(PDFStreamEngine.java:918)
> at
> org.apache.pdfbox.examples.util.PrintTextColors.getColors(PrintTextColors.java:118)
> at
> org.apache.pdfbox.examples.util.PrintTextColors.main(PrintTextColors.java:103)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]