[
https://issues.apache.org/jira/browse/PDFBOX-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951311#comment-15951311
]
ASF subversion and git services commented on PDFBOX-3739:
---------------------------------------------------------
Commit 1789714 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1789714 ]
PDFBOX-3739: avoid NPE
> ImageWriterIterator.next() and ImageReaderIterator.next() can return null
> -------------------------------------------------------------------------
>
> Key: PDFBOX-3739
> URL: https://issues.apache.org/jira/browse/PDFBOX-3739
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.13, 2.0.5
> Reporter: Tilman Hausherr
> Fix For: 1.8.14, 2.0.6, 3.0.0
>
>
> See in linked SO issue - next() can return null even if hasNext() is true, we
> should catch this.
> ImageIO source code:
> http://www.docjar.com/html/api/javax/imageio/ImageIO.java.html
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]