diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2018-07-03 06:24:51 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2018-07-03 06:24:51 +0200 |
commit | 3360bf9edc4418418c1628324461086ff4934fe5 (patch) | |
tree | 6188f148037be9f87e38ce3bd9d1c8faed6f550e /id/ConfigWebTool/src/main/java/at/gv/egovernment | |
parent | ad0c0ab639d4717a22d8d92769eb32746c4e4e6f (diff) | |
download | moa-id-spss-3360bf9edc4418418c1628324461086ff4934fe5.tar.gz moa-id-spss-3360bf9edc4418418c1628324461086ff4934fe5.tar.bz2 moa-id-spss-3360bf9edc4418418c1628324461086ff4934fe5.zip |
fix possible NullPointer exception if no configuration exists
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java index 2f51e68b4..4a4619198 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java @@ -105,9 +105,9 @@ public class OAAuthenticationData implements IOnlineApplicationData { try { MOAIDConfiguration dbconfig = ConfigurationProvider.getInstance().getDbRead().getMOAIDConfiguration(); - elgaServicesList = KeyValueUtils.getListOfCSVValues(dbconfig.getElgaMandateServiceURLs()); - + try { + elgaServicesList = KeyValueUtils.getListOfCSVValues(dbconfig.getElgaMandateServiceURLs()); misServicesList = KeyValueUtils.getListOfCSVValues( dbconfig.getAuthComponentGeneral().getOnlineMandates().getConnectionParameter().getURL()); } catch (NullPointerException e) {} |