From 1d695237b71494a05d247db4c2b25a27e51327a1 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Mon, 1 Aug 2016 12:07:02 -0400 Subject: [PATCH] fix --- .../resources/admin/info/ServerInfoAdminResource.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java b/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java index d7ee1085c9..1a1d2bfffe 100755 --- a/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java +++ b/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java @@ -127,7 +127,9 @@ public class ServerInfoAdminResource { rep.setId(pi.getId()); ConfiguredProvider configured = (ConfiguredProvider)pi; rep.setHelpText(configured.getHelpText()); - rep.setProperties(ModelToRepresentation.toRepresentation(configured.getConfigProperties())); + List configProperties = configured.getConfigProperties(); + if (configProperties == null) configProperties = Collections.EMPTY_LIST; + rep.setProperties(ModelToRepresentation.toRepresentation(configProperties)); List reps = info.getComponentTypes().get(spi.getProviderClass().getName()); if (reps == null) { reps = new LinkedList<>();