[
https://issues.apache.org/jira/browse/PDFBOX-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228844#comment-14228844
]
Tilman Hausherr commented on PDFBOX-2531:
-----------------------------------------
I committed your patch, slightly modified. Yes, it might help with debugging,
but it won't help with the file from PDFBOX-2513.
Getting the ID is a completely different thing... the COS* objects don't always
"belong" to a PDF, e.g. when creating a PDF. Currently the IDs are known only
in COSObject objects. And these are usually dereferenced.
> better error message on not yet read stream
> -------------------------------------------
>
> Key: PDFBOX-2531
> URL: https://issues.apache.org/jira/browse/PDFBOX-2531
> Project: PDFBox
> Issue Type: Sub-task
> Components: Preflight
> Affects Versions: 2.0.0
> Environment: java7 deb7
> Reporter: Ralf Hauser
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: patch1675_2513.txt
>
>
> patch1675_2513.txt says which filter supposedly should be used to decode the
> stream.
> The error message would even be better if it also reported an ID of the
> COSStream such that duplicate mentions could be easily identified
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)