[
https://issues.apache.org/jira/browse/PDFBOX-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-2812.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
I did the same fix for 2.0, although that constructor isn't called, and added a
test just in case.
> 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, 2.0.0
>
>
> {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]