aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-02-03 08:21:27 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-03-13 08:57:22 +0100
commita3dcf4dfc3272c51d5d1f835ea9bed28757afa9c (patch)
tree5b7780596a4706a4ef5d3a72888e15b56cae14d2
parent7d9c2ec8e170df74fa544cdb83d8967c3d654ed2 (diff)
downloadmoa-id-spss-a3dcf4dfc3272c51d5d1f835ea9bed28757afa9c.tar.gz
moa-id-spss-a3dcf4dfc3272c51d5d1f835ea9bed28757afa9c.tar.bz2
moa-id-spss-a3dcf4dfc3272c51d5d1f835ea9bed28757afa9c.zip
fix possible NullPointerException in OA configuration if no MIS, SZR-GW, or ELGA mandate-service is configured
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java6
1 files changed, 3 insertions, 3 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 225f85462..ad99f5d22 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
@@ -63,9 +63,9 @@ public class OAAuthenticationData implements IOnlineApplicationData {
private String mandateProfiles = null;
private boolean useMandates = false;
- private List<String> misServicesList = null;
- private List<String> elgaServicesList = null;
- private List<String> szrgwServicesList = null;
+ private List<String> misServicesList = new ArrayList<String>();
+ private List<String> elgaServicesList = new ArrayList<String>();
+ private List<String> szrgwServicesList = new ArrayList<String>();
private String misServiceSelected = null;
private String elgaServiceSelected = null;
private String szrgwServiceSelected = null;