<p dir="ltr">Could you please provide the steps to reproduce?</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 23, 2016, 8:44 PM Michael Mok <<a href="mailto:teatimej@gmail.com">teatimej@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi there.</div><div><br></div><div>Keycloak 1.9.0 is working but this error keeps appearing in the log every time I restart keycloak. :<</div><div><br></div><div><br></div><div>23:41:51,546 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0002: Started users cache from keycloak container</div><div>23:41:51,551 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 47) WFLYCLINF0002: Started realms cache from keycloak container</div><div>23:41:51,684 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 46) WFLYCLINF0002: Started realmVersions cache from keycloak container</div><div>23:41:52,827 INFO [org.keycloak.services] (ServerService Thread Pool -- 50) KC-SERVICES0001: Loading config from /opt/keycloak/standalone/configuration/keycloak-server.json</div><div>23:41:56,771 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 50) HHH000204: Processing PersistenceUnitInfo [</div><div><span style="white-space:pre-wrap">        </span>name: keycloak-default</div><div><span style="white-space:pre-wrap">        </span>...]</div><div>23:41:56,844 INFO [org.hibernate.Version] (ServerService Thread Pool -- 50) HHH000412: Hibernate Core {5.0.7.Final}</div><div>23:41:56,846 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 50) HHH000206: hibernate.properties not found</div><div>23:41:56,848 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 50) HHH000021: Bytecode provider name : javassist</div><div>23:41:56,894 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 50) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}</div><div>23:41:57,063 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 50) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect</div><div>23:41:57,114 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 50) Envers integration enabled? : true</div><div>23:41:57,965 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 50) HV000001: Hibernate Validator 5.2.3.Final</div><div>23:41:58,990 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 50) HHH000397: Using ASTQueryTranslatorFactory</div><div>23:42:00,007 ERROR [org.keycloak.services] (ServerService Thread Pool -- 50) KC-SERVICES0002: Failed to migrate datamodel: java.lang.NullPointerException</div><div><span style="white-space:pre-wrap">        </span>at org.keycloak.migration.migrators.MigrateTo1_9_0.migrate(MigrateTo1_9_0.java:42)</div><div><span style="white-space:pre-wrap">        </span>at org.keycloak.migration.MigrationModelManager.migrate(MigrationModelManager.java:93)</div><div><span style="white-space:pre-wrap">        </span>at org.keycloak.services.resources.KeycloakApplication.migrateModel(KeycloakApplication.java:152)</div><div><span style="white-space:pre-wrap">        </span>at org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:94)</div><div><span style="white-space:pre-wrap">        </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</div><div><span style="white-space:pre-wrap">        </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)</div><div><span style="white-space:pre-wrap">        </span>at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)</div><div><span style="white-space:pre-wrap">        </span>at java.lang.reflect.Constructor.newInstance(Constructor.java:423)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)</div><div><span style="white-space:pre-wrap">        </span>at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)</div><div><span style="white-space:pre-wrap">        </span>at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)</div><div><span style="white-space:pre-wrap">        </span>at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)</div><div><span style="white-space:pre-wrap">        </span>at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)</div><div><span style="white-space:pre-wrap">        </span>at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)</div><div><span style="white-space:pre-wrap">        </span>at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)</div><div><span style="white-space:pre-wrap">        </span>at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)</div><div><span style="white-space:pre-wrap">        </span>at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)</div><div><span style="white-space:pre-wrap">        </span>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)</div><div><span style="white-space:pre-wrap">        </span>at java.util.concurrent.FutureTask.run(FutureTask.java:266)</div><div><span style="white-space:pre-wrap">        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</div><div><span style="white-space:pre-wrap">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</div><div><span style="white-space:pre-wrap">        </span>at java.lang.Thread.run(Thread.java:745)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.threads.JBossThread.run(JBossThread.java:320)</div><div><br></div><div>23:42:00,214 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 50) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApp</div><div>lication</div><div>23:42:00,216 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 50) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class o</div><div>rg.keycloak.services.resources.KeycloakApplication</div><div>23:42:00,217 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 50) RESTEASY002205: Adding provider class org.keycloak.services.filters.KeycloakTransactionCommitter from App</div><div>lication class org.keycloak.services.resources.KeycloakApplication</div><div>23:42:00,217 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 50) RESTEASY002200: Adding class resource org.keycloak.services.resources.ThemeResource from Application clas</div><div>s org.keycloak.services.resources.KeycloakApplication</div><div>23:42:00,217 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 50) RESTEASY002200: Adding class resource org.keycloak.services.resources.QRCodeResource from Application cla</div><div>ss org.keycloak.services.resources.KeycloakApplication</div><div>23:42:00,217 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 50) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.WelcomeResource from Applicatio</div><div>n class org.keycloak.services.resources.KeycloakApplication</div><div><br></div></div>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></blockquote></div>