diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-02-03 08:21:27 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-02-03 08:21:27 +0100 |
commit | 4b6044fc69410020cf7a49308e1b0617eab9c5a7 (patch) | |
tree | 0e67a043b3fef7cddcddb346a4af7f9f5c97a9e0 /id/ConfigWebTool/src/main/java/at/gv/egovernment/moa | |
parent | ad581c51a726248e566280b63bf09a8d69f38d3e (diff) | |
download | moa-id-spss-4b6044fc69410020cf7a49308e1b0617eab9c5a7.tar.gz moa-id-spss-4b6044fc69410020cf7a49308e1b0617eab9c5a7.tar.bz2 moa-id-spss-4b6044fc69410020cf7a49308e1b0617eab9c5a7.zip |
fix possible NullPointerException in OA configuration if no MIS, SZR-GW, or ELGA mandate-service is configured
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment/moa')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OAAuthenticationData.java | 6 |
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; |