<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks Bill! Yes, the issue was indeed our version of the keycloak-server.json.
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 24 Feb 2016, at 20:46, Bill Burke &lt;<a href="mailto:bburke@redhat.com" class="">bburke@redhat.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">Please check the distributions keycloak-server.json, it is changed.&nbsp; standalone.xml has also changed to add an additional cache.<br class="">
<br class="">
<div class="moz-cite-prefix">On 2/24/2016 1:46 PM, Stian Thorgersen wrote:<br class="">
</div>
<blockquote cite="mid:CAJgngAdmjZcm0SGtmsezV9ygyAzFRFFoswp66_GVAJPJrR&#43;46A@mail.gmail.com" type="cite" class="">
<div dir="ltr" class="">Well,&nbsp;<a moz-do-not-send="true" href="https://github.com/keycloak/keycloak/blob/1.9.0.Final/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/InfinispanCacheUserProviderFactory.java#L58" class="">https://github.com/keycloak/keycloak/blob/1.9.0.Final/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/InfinispanCacheUserProviderFactory.java#L58</a>
 would be a start.
<div class=""><br class="">
</div>
<div class="">My guess is that&nbsp;<span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre;background-color:rgb(248,238,199)" class="">session</span><span class="" style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">.</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre;background-color:rgb(248,238,199)" class="">getProvider(</span><span class="" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">InfinispanConnectionProvider</span><span class="" style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">.</span><span style="color:rgb(51,51,51);font-famil!
 y:Consol
as,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre;background-color:rgb(248,238,199)" class="">class)
</span>is returning null for some reason. When you say you've done customizations you've not described what you've done.</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 24 February 2016 at 17:59, Edgar Vonk - <a href="http://info.nl" class="">
Info.nl</a> <span dir="ltr" class="">&lt;<a moz-do-not-send="true" href="mailto:Edgar@info.nl" target="_blank" class="">Edgar@info.nl</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br class="">
<br class="">
Starting from 1.9.0.Final (it was working ok in 1.9.0.RC1) our Keycloak Docker image no longer starts up. We get the following exception. We have made a number of customisations so I am guessing the issue is somewhere there. Maybe someone already has an idea
 where to look from this stack trace? We based our Docker image on <a moz-do-not-send="true" href="https://hub.docker.com/r/jboss/keycloak/" rel="noreferrer" target="_blank" class="">
https://hub.docker.com/r/jboss/keycloak/</a> but customised it quite a bit.<br class="">
<br class="">
cheers<br class="">
<br class="">
Edgar<br class="">
<br class="">
16:49:50,851 INFO&nbsp; [org.keycloak.services] (ServerService Thread Pool -- 46) KC-SERVICES0050: Initializing master realm<br class="">
16:49:52,621 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 46) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth:
 java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Thread.run(Thread.java:745)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.threads.JBossThread.run(JBossThread.java:320)<br class="">
Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; ... 6 more<br class="">
Caused by: java.lang.NullPointerException<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.models.cache.infinispan.InfinispanCacheUserProviderFactory.lazyInit(InfinispanCacheUserProviderFactory.java:58)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.models.cache.infinispan.InfinispanCacheUserProviderFactory.create(InfinispanCacheUserProviderFactory.java:50)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.models.cache.infinispan.InfinispanCacheUserProviderFactory.create(InfinispanCacheUserProviderFactory.java:38)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:101)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.services.DefaultKeycloakSession.getUserProvider(DefaultKeycloakSession.java:64)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.services.DefaultKeycloakSession.userStorage(DefaultKeycloakSession.java:90)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.models.UserFederationManager.getUsersCount(UserFederationManager.java:286)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.services.managers.ApplianceBootstrap.isNoMasterUser(ApplianceBootstrap.java:50)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:134)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:422)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; ... 19 more<br class="">
<br class="">
16:49:52,628 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (&quot;add&quot;) failed - address: ([(&quot;deployment&quot; =&gt; &quot;keycloak-server.war&quot;)]) - failure description: {&quot;WFLYCTL0080: Failed services&quot; =&gt; {&quot;jboss.undertow.deployment.default-server.default-host./auth&quot;
 =&gt; &quot;org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br class="">
&nbsp; &nbsp; Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br class="">
&nbsp; &nbsp; Caused by: java.lang.NullPointerException&quot;}}<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
keycloak-user mailing list<br class="">
<a moz-do-not-send="true" href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class="">
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br class="">
</blockquote>
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset> <br class="">
<pre wrap="" class="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br class="">
<pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com/">http://bill.burkecentral.com</a></pre>
</div>
_______________________________________________<br class="">
keycloak-user mailing list<br class="">
<a href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class="">
https://lists.jboss.org/mailman/listinfo/keycloak-user</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>