From 13f085e8dec7e72bb57fd7235b43c392ebc2a37d Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 4 Nov 2014 11:46:31 +0100 Subject: Fixed possible null pointer ex --- .../at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings') diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java index 462bf743..dc1250fb 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java @@ -119,6 +119,7 @@ public class SignatureProfileSettings implements IProfileConstants { Map others = configuration .getValuesPrefix(profilePrefix); + if(others != null) { Iterator otherIterator = others.keySet().iterator(); while (otherIterator.hasNext()) { @@ -137,7 +138,7 @@ public class SignatureProfileSettings implements IProfileConstants { logger.debug(" Settings: " + key + " : " + value); } - + } Iterator dumpIterator = profileInformations.values().iterator(); -- cgit v1.2.3