Description
Here is a patch that includes the required additional check for null. And a PDF to test it with as well.
-
-
- Eclipse Workspace Patch 1.0
#P pdfbox
Index: src/main/java/org/apache/pdfbox/util/operator/SetNonStrokingSeparation.java
===================================================================
- src/main/java/org/apache/pdfbox/util/operator/SetNonStrokingSeparation.java (revision 1818)
+++ src/main/java/org/apache/pdfbox/util/operator/SetNonStrokingSeparation.java (working copy)
@@ -61,7 +61,9 @@
{
PDSeparation sep = (PDSeparation) colorSpace;
colorSpace = sep.getAlternateColorSpace();
- Eclipse Workspace Patch 1.0
-
- argList = sep.getColorValues().toList();
+ if (sep.getColorValues() != null) { + argList = sep.getColorValues().toList(); + }}
if (colorSpace != null)
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-519 NullPointerException in SetNonStrokingSeparation.java
- Closed