aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-02-20 17:40:39 +0100
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-02-20 17:40:39 +0100
commit7e1288797ce2ebc70b083f87b03d263cf5205bb5 (patch)
treefd2b9beb868c015696f5decb240b1f2f599523f0 /id/ConfigWebTool
parent4e840ada79ad862494115374406b1ecb0b4a55ef (diff)
downloadmoa-id-spss-7e1288797ce2ebc70b083f87b03d263cf5205bb5.tar.gz
moa-id-spss-7e1288797ce2ebc70b083f87b03d263cf5205bb5.tar.bz2
moa-id-spss-7e1288797ce2ebc70b083f87b03d263cf5205bb5.zip
quick fix for config interface
Diffstat (limited to 'id/ConfigWebTool')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java
index da07b10b0..c35bff633 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java
@@ -31,6 +31,7 @@ import at.gv.egovernment.moa.id.commons.db.dao.config.OASTORK;
import at.gv.egovernment.moa.id.commons.db.dao.config.OAStorkAttribute;
import at.gv.egovernment.moa.id.commons.db.dao.config.OnlineApplication;
import at.gv.egovernment.moa.id.commons.db.dao.config.StorkAttribute;
+import at.gv.egovernment.moa.logging.Logger;
public class OASTORKConfig {
@@ -65,6 +66,7 @@ public class OASTORKConfig {
// prepare attribute helper list
attributes = new ArrayList<AttributeHelper>();
+ try {
for(StorkAttribute current : ConfigurationDBRead.getMOAIDConfiguration().getAuthComponentGeneral().getForeignIdentities().getSTORK().getAttributes()) {
AttributeHelper tmp = null;
@@ -76,7 +78,9 @@ public class OASTORKConfig {
tmp = new AttributeHelper(current);
attributes.add(tmp);
- }
+ } } catch (NullPointerException ex) {
+ Logger.error("Nullpointerexception encountered in Configurationinterface");
+ }
}
}
}