aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-11-04 11:46:31 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-11-04 11:46:31 +0100
commit13f085e8dec7e72bb57fd7235b43c392ebc2a37d (patch)
tree8951c2af4238bd9157bfb650661a2e40b4aa0531 /pdf-as-common/src
parent423a6c69234e7c47dd7f2771e527acecfb9d15a5 (diff)
downloadpdf-as-4-13f085e8dec7e72bb57fd7235b43c392ebc2a37d.tar.gz
pdf-as-4-13f085e8dec7e72bb57fd7235b43c392ebc2a37d.tar.bz2
pdf-as-4-13f085e8dec7e72bb57fd7235b43c392ebc2a37d.zip
Fixed possible null pointer ex
Diffstat (limited to 'pdf-as-common/src')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/SignatureProfileSettings.java3
1 files changed, 2 insertions, 1 deletions
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<String, String> others = configuration
.getValuesPrefix(profilePrefix);
+ if(others != null) {
Iterator<String> otherIterator = others.keySet().iterator();
while (otherIterator.hasNext()) {
@@ -137,7 +138,7 @@ public class SignatureProfileSettings implements IProfileConstants {
logger.debug(" Settings: " + key + " : " + value);
}
-
+ }
Iterator<SignatureProfileEntry> dumpIterator =
profileInformations.values().iterator();