Details

      Description

      00:29:14.831 07:37:29,762 INFO  [org.hibernate.event.internal.DefaultLoadEventListener] (ServerService Thread Pool -- 54) HHH000327: Error performing load command : org.hibernate.PropertyAccessException: Null value was assigned to a property [class org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe] of primitive type setter of org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe
      00:29:14.854 07:37:29,779 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal
      00:29:14.861 07:37:29,795 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/KeycloakDS]
      00:29:14.868 07:37:29,796 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
      00:29:14.871 07:37:29,784 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 54) MSC000001: Failed to start service jboss.deployment.unit."keycloak-server.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."keycloak-server.war".undertow-deployment: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
      00:29:14.877 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
      00:29:14.879 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      00:29:14.880 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      00:29:14.881 	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      00:29:14.882 	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      00:29:14.883 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      00:29:14.885 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      00:29:14.886 	at java.lang.Thread.run(Thread.java:748)
      00:29:14.886 	at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      00:29:14.887 Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
      00:29:14.890 	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:166)
      00:29:14.891 	at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2757)
      00:29:14.892 	at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:363)
      00:29:14.893 	at org.jboss.resteasy.spi.ResteasyDeployment.startInternal(ResteasyDeployment.java:276)
      00:29:14.895 	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:88)
      00:29:14.896 	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:119)
      00:29:14.897 	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
      00:29:14.898 	at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
      00:29:14.900 	at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
      00:29:14.901 	at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
      00:29:14.903 	at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:300)
      00:29:14.904 	at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:140)
      00:29:14.905 	at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:583)
      00:29:14.906 	at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:554)
      00:29:14.907 	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      00:29:14.909 	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      00:29:14.911 	at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      00:29:14.912 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      00:29:14.914 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      00:29:14.917 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      00:29:14.919 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      00:29:14.921 	at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:596)
      00:29:14.922 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:97)
      00:29:14.923 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
      00:29:14.925 	... 8 more
      00:29:14.925 Caused by: org.keycloak.models.ModelException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Null value was assigned to a property [class org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe] of primitive type setter of org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe
      00:29:14.931 	at org.keycloak.connections.jpa.PersistenceExceptionConverter.convert(PersistenceExceptionConverter.java:61)
      00:29:14.932 	at org.keycloak.connections.jpa.PersistenceExceptionConverter.invoke(PersistenceExceptionConverter.java:51)
      00:29:14.934 	at com.sun.proxy.$Proxy84.find(Unknown Source)
      00:29:14.934 	at org.keycloak.models.jpa.JpaRealmProvider.getRealm(JpaRealmProvider.java:90)
      00:29:14.935 	at org.keycloak.models.cache.infinispan.RealmCacheSession.getRealm(RealmCacheSession.java:396)
      00:29:14.937 	at org.keycloak.models.jpa.JpaRealmProvider.getRealms(JpaRealmProvider.java:113)
      00:29:14.938 	at org.keycloak.models.jpa.JpaRealmProvider.getRealms(JpaRealmProvider.java:106)
      00:29:14.939 	at org.keycloak.models.cache.infinispan.RealmCacheSession.getRealms(RealmCacheSession.java:466)
      00:29:14.940 	at org.keycloak.migration.migrators.MigrateTo4_0_0.migrate(MigrateTo4_0_0.java:51)
      00:29:14.941 	at org.keycloak.migration.MigrationModelManager.migrate(MigrationModelManager.java:98)
      00:29:14.943 	at org.keycloak.services.resources.KeycloakApplication.migrateModel(KeycloakApplication.java:250)
      00:29:14.944 	at org.keycloak.services.resources.KeycloakApplication.migrateAndBootstrap(KeycloakApplication.java:191)
      00:29:14.945 	at org.keycloak.services.resources.KeycloakApplication$1.run(KeycloakApplication.java:150)
      00:29:14.947 	at org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:228)
      00:29:14.948 	at org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:141)
      00:29:14.949 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      00:29:14.950 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      00:29:14.951 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      00:29:14.952 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      00:29:14.953 	at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:154)
      00:29:14.954 	... 31 more
      00:29:14.955 Caused by: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Null value was assigned to a property [class org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe] of primitive type setter of org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe
      00:29:14.959 	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
      00:29:14.960 	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:200)
      00:29:14.961 	at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3516)
      00:29:14.962 	at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3447)
      00:29:14.963 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      00:29:14.964 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      00:29:14.965 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      00:29:14.966 	at java.lang.reflect.Method.invoke(Method.java:498)
      00:29:14.967 	at org.keycloak.connections.jpa.PersistenceExceptionConverter.invoke(PersistenceExceptionConverter.java:49)
      00:29:14.968 	... 49 more
      00:29:14.968 Caused by: org.hibernate.PropertyAccessException: Null value was assigned to a property [class org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe] of primitive type setter of org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe
      00:29:14.972 	at org.hibernate.property.access.spi.SetterFieldImpl.set(SetterFieldImpl.java:47)
      00:29:14.973 	at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:649)
      00:29:14.975 	at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:205)
      00:29:14.976 	at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4903)
      00:29:14.978 	at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:190)
      00:29:14.979 	at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129)
      00:29:14.981 	at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.performTwoPhaseLoad(AbstractRowReader.java:238)
      00:29:14.985 	at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.finishUp(AbstractRowReader.java:209)
      00:29:14.987 	at org.hibernate.loader.plan.exec.process.internal.ResultSetProcessorImpl.extractResults(ResultSetProcessorImpl.java:133)
      00:29:14.990 	at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:122)
      00:29:14.993 	at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:86)
      00:29:14.996 	at org.hibernate.loader.entity.plan.AbstractLoadPlanBasedEntityLoader.load(AbstractLoadPlanBasedEntityLoader.java:188)
      00:29:14.999 	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:4269)
      00:29:15.001 	at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:511)
      00:29:15.003 	at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:481)
      00:29:15.005 	at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:222)
      00:29:15.006 	at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:281)
      00:29:15.007 	at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:124)
      00:29:15.009 	at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:92)
      00:29:15.010 	at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1257)
      00:29:15.011 	at org.hibernate.internal.SessionImpl.access$1900(SessionImpl.java:207)
      00:29:15.012 	at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.doLoad(SessionImpl.java:2874)
      00:29:15.013 	at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2848)
      00:29:15.014 	at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3483)
      00:29:15.015 	... 55 more
      00:29:15.015 Caused by: java.lang.IllegalArgumentException: Can not set int field org.keycloak.models.jpa.entities.RealmEntity.ssoSessionIdleTimeoutRememberMe to null value
      00:29:15.017 	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
      00:29:15.019 	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
      00:29:15.020 	at sun.reflect.UnsafeIntegerFieldAccessorImpl.set(UnsafeIntegerFieldAccessorImpl.java:80)
      00:29:15.022 	at java.lang.reflect.Field.set(Field.java:764)
      00:29:15.023 	at org.hibernate.property.access.spi.SetterFieldImpl.set(SetterFieldImpl.java:41)
      00:29:15.025 	... 78 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sguilhen Stefan Guilhen
                  Reporter:
                  vramik Vlasta Ramik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: