[keycloak-user] keycloak 1.8.1 to 1.9.0 upgrade failed
Michael Mok
teatimej at gmail.com
Tue Feb 23 18:44:52 EST 2016
Hi there.
Keycloak 1.9.0 is working but this error keeps appearing in the log every
time I restart keycloak. :<
23:41:51,546 INFO [org.jboss.as.clustering.infinispan] (ServerService
Thread Pool -- 51) WFLYCLINF0002: Started users cache from keycloak
container
23:41:51,551 INFO [org.jboss.as.clustering.infinispan] (ServerService
Thread Pool -- 47) WFLYCLINF0002: Started realms cache from keycloak
container
23:41:51,684 INFO [org.jboss.as.clustering.infinispan] (ServerService
Thread Pool -- 46) WFLYCLINF0002: Started realmVersions cache from keycloak
container
23:41:52,827 INFO [org.keycloak.services] (ServerService Thread Pool --
50) KC-SERVICES0001: Loading config from
/opt/keycloak/standalone/configuration/keycloak-server.json
23:41:56,771 INFO [org.hibernate.jpa.internal.util.LogHelper]
(ServerService Thread Pool -- 50) HHH000204: Processing PersistenceUnitInfo
[
name: keycloak-default
...]
23:41:56,844 INFO [org.hibernate.Version] (ServerService Thread Pool --
50) HHH000412: Hibernate Core {5.0.7.Final}
23:41:56,846 INFO [org.hibernate.cfg.Environment] (ServerService Thread
Pool -- 50) HHH000206: hibernate.properties not found
23:41:56,848 INFO [org.hibernate.cfg.Environment] (ServerService Thread
Pool -- 50) HHH000021: Bytecode provider name : javassist
23:41:56,894 INFO [org.hibernate.annotations.common.Version]
(ServerService Thread Pool -- 50) HCANN000001: Hibernate Commons
Annotations {5.0.1.Final}
23:41:57,063 INFO [org.hibernate.dialect.Dialect] (ServerService Thread
Pool -- 50) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
23:41:57,114 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl]
(ServerService Thread Pool -- 50) Envers integration enabled? : true
23:41:57,965 INFO [org.hibernate.validator.internal.util.Version]
(ServerService Thread Pool -- 50) HV000001: Hibernate Validator 5.2.3.Final
23:41:58,990 INFO
[org.hibernate.hql.internal.QueryTranslatorFactoryInitiator]
(ServerService Thread Pool -- 50) HHH000397: Using ASTQueryTranslatorFactory
23:42:00,007 ERROR [org.keycloak.services] (ServerService Thread Pool --
50) KC-SERVICES0002: Failed to migrate datamodel:
java.lang.NullPointerException
at
org.keycloak.migration.migrators.MigrateTo1_9_0.migrate(MigrateTo1_9_0.java:42)
at
org.keycloak.migration.MigrationModelManager.migrate(MigrationModelManager.java:93)
at
org.keycloak.services.resources.KeycloakApplication.migrateModel(KeycloakApplication.java:152)
at
org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)
at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)
at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)
at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at
org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)
at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)
at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
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
lication
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
rg.keycloak.services.resources.KeycloakApplication
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
lication class org.keycloak.services.resources.KeycloakApplication
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
s org.keycloak.services.resources.KeycloakApplication
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
ss org.keycloak.services.resources.KeycloakApplication
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
n class org.keycloak.services.resources.KeycloakApplication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160224/82011eff/attachment.html
More information about the keycloak-user
mailing list