You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/31 17:03:41 UTC

[jira] [Commented] (PDFBOX-3739) ImageWriterIterator.next() and ImageReaderIterator.next() can return null

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

ASF subversion and git services commented on PDFBOX-3739:
---------------------------------------------------------

Commit 1789712 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1789712 ]

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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org