[ 
https://issues.apache.org/jira/browse/PDFBOX-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127624#comment-16127624
 ] 

Tilman Hausherr commented on PDFBOX-3896:
-----------------------------------------

This would just be a lot of work to rename almost all IOExceptions. 99% of the 
time, IOException is a corrupt file. Even a real IO error would probably result 
in a corrupt file, e.g. when a file is cut off. Besides, you've asked this 
before several times. Please stop doing that, it makes me feel unconfortable. 
Although my opinion here is only my own, until others offer a different 
opinion, you can assume that it is also the silent opinion of the other active 
committers.

> UnsupportedOperationException
> -----------------------------
>
>                 Key: PDFBOX-3896
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3896
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.6
>            Reporter: Jorge Spinsanti
>             Fix For: 2.0.8, 3.0.0
>
>         Attachments: UnsupportedOperationException.pdf
>
>
> Stacktrace:
> {code}
> java.lang.UnsupportedOperationException
>       at java.util.AbstractList.add(AbstractList.java:148)
>       at java.util.AbstractList.add(AbstractList.java:108)
>       at 
> org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:611)
>       at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:241)
>       at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:276)
>       at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1132)
>       at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1066)
>       at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:141)
>       at 
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to