From 54144b697bd1a5c4b08e8da9fec655afd949446c Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 26 May 2014 14:47:36 +0200 Subject: fix different STORK bugs --- .../main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'id/server/idserverlib') diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java index 4dec2c32e..2e243b3ae 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/config/stork/STORKConfig.java @@ -70,7 +70,8 @@ public class STORKConfig { try { cpeps = stork.getCPEPS(); - } catch (NullPointerException ex) { + + } catch (NullPointerException ex) { Logger.error("CPEPS not configured!"); } @@ -104,7 +105,7 @@ public class STORKConfig { }*/ } attr = new ArrayList(); - if (stork.getAttributes() != null) { + if (stork != null && stork.getAttributes() != null) { for(StorkAttribute current : stork.getAttributes()) { attr.add(current); } -- cgit v1.2.3