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 2015/08/27 15:36:46 UTC

[jira] [Commented] (PDFBOX-2948) NPE in PDStream.createInputStream

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

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

Commit 1698151 from [~tboehme] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1698151 ]

PDFBOX-2948: prevent NPE when stream has no filter

> NPE in PDStream.createInputStream
> ---------------------------------
>
>                 Key: PDFBOX-2948
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2948
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>
> If there are no filter defined for a stream than PDStream.createInputStream throws a NPE because it does not check if getFilters returned 'null'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org