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

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

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

PDFBOX-2812: avoid NPE in PDColorSpaceFactory.createColorSpace()

> NPE in PDColorSpaceFactory.createColorSpace with PDICCBased
> -----------------------------------------------------------
>
>                 Key: PDFBOX-2812
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2812
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.9, 1.8.10
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.10
>
>
> {code}
> java.lang.NullPointerException
>       at 
> org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSpaceFactory.java:269)
>       at 
> org.apache.pdfbox.pdmodel.graphics.color.PDICCBasedTest.testConstructor(PDICCBasedTest.java:57)
> {code}
> The cause is a missing assignment in the first constructor of PDICCBased.



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

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

Reply via email to