Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose installation, ohne keycloak, Fehler 500 #968

Open
badsmoke opened this issue Nov 26, 2024 · 0 comments
Open

docker-compose installation, ohne keycloak, Fehler 500 #968

badsmoke opened this issue Nov 26, 2024 · 0 comments
Labels
status: new Initial state for every issue / pullrequest type: bug

Comments

@badsmoke
Copy link

Describe the bug
ich versuche die zeiterfassung per docker-compose zum laufen zu bekommen.
An sich startet auch alles, ich kann mich auch anmelden, es kommt aber ein "500 Uuups, das ist mein Fehler."

To Reproduce
Steps to reproduce the behavior:

  1. zeiterfasser mit docker-compose starten
  2. auf die seite gehen
  3. man wird mitunserem SSO angemledet
  4. fehler 500 kommt

Expected behavior
keine Fehlermeldung

Screenshots
logs stehen weiter unten

Desktop (please complete the following information):
Ubuntu 24.04
alle browser betroffen edge, firefox, chrome

Additional context

services:

  zeiterfassung:
    image: ghcr.io/urlaubsverwaltung/zeiterfassung/zeiterfassung:2.13.2
    ports:
      -  8081:8080
    environment:
      SERVER_PORT: 8080
      # Database
      SPRING_DATASOURCE_URL: jdbc:postgresql://zeiterfassung_db:5432/zeiterfassung
      SPRING_DATASOURCE_USERNAME: zeiterfassung
      SPRING_DATASOURCE_PASSWORD: 123456
      # Mail
      ZEITERFASSUNG_MAIL_FROM: [email protected]
      ZEITERFASSUNG_MAIL_FROMDISPLAYNAME: zeiterfassung
      ZEITERFASSUNG_MAIL_REPLYTO: [email protected]
      ZEITERFASSUNG_MAIL_REPLYTODISPLAYNAME: replyto
      SPRING_MAIL_HOST: mail.domain.com
      SPRING_MAIL_PORT: 25
      # OpenID Connect identity provider
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_CLIENT-ID: 123456
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_CLIENT-SECRET: 123456
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_CLIENT-NAME: zeiterfassung
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_PROVIDER: default
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_SCOPE: openid,profile,email,zeiterfassung
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_AUTHORIZATION-GRANT-TYPE: authorization_code
      SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_DEFAULT_REDIRECT-URI: https://{baseHost}/login/oauth2/code/{registrationId}
      SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_DEFAULT_ISSUER-URI: https://auth.domain.io/application/o/zeiterfassung/
      ZEITERFASSUNG_SECURITY_OIDC_SERVER-URL: https://auth.domain.io
      ZEITERFASSUNG_SECURITY_OIDC_LOGIN-FORM-URL: https://vogel.domain.com/oauth2/authorization/default
      SPRING_AUTOCONFIGURE_EXCLUDE: org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
    depends_on:
      zeiterfassung_db:
        condition: service_healthy

  zeiterfassung_db:
    image: postgres:16.1
    environment:
      POSTGRES_DB: zeiterfassung
      POSTGRES_USER: zeiterfassung
      POSTGRES_PASSWORD: 123456
    volumes:
      - ./database:/var/lib/postgresql/data
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
      interval: 3s
      timeout: 1s
      retries: 5

zeiterfassung_1     | 2024-11-26T12:30:18.542Z  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
zeiterfassung_1     | 2024-11-26T12:30:18.555Z  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
zeiterfassung_1     | 2024-11-26T12:30:18.556Z  INFO 1 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.33]
zeiterfassung_1     | 2024-11-26T12:30:18.597Z  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
zeiterfassung_1     | 2024-11-26T12:30:18.598Z  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3625 ms
zeiterfassung_1     | 2024-11-26T12:30:18.981Z  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
zeiterfassung_1     | 2024-11-26T12:30:19.289Z  INFO 1 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@2bcb1414
zeiterfassung_1     | 2024-11-26T12:30:19.291Z  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
zeiterfassung_1     | 2024-11-26T12:30:19.418Z  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
zeiterfassung_1     | 2024-11-26T12:30:20.706Z  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.databasechangelog
zeiterfassung_1     | 2024-11-26T12:30:20.853Z  INFO 1 --- [           main] liquibase.ui                             : Database is up to date, no changesets to execute
zeiterfassung_1     | 2024-11-26T12:30:20.858Z  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.databasechangelog
zeiterfassung_1     | 2024-11-26T12:30:20.891Z  INFO 1 --- [           main] liquibase.util                           : UPDATE SUMMARY
zeiterfassung_1     | 2024-11-26T12:30:20.891Z  INFO 1 --- [           main] liquibase.util                           : Run:                          0
zeiterfassung_1     | 2024-11-26T12:30:20.891Z  INFO 1 --- [           main] liquibase.util                           : Previously run:              43
zeiterfassung_1     | 2024-11-26T12:30:20.891Z  INFO 1 --- [           main] liquibase.util                           : Filtered out:                 0
zeiterfassung_1     | 2024-11-26T12:30:20.891Z  INFO 1 --- [           main] liquibase.util                           : -------------------------------
zeiterfassung_1     | 2024-11-26T12:30:20.891Z  INFO 1 --- [           main] liquibase.util                           : Total change sets:           43
zeiterfassung_1     | 2024-11-26T12:30:20.894Z  INFO 1 --- [           main] liquibase.util                           : Update summary generated
zeiterfassung_1     | 2024-11-26T12:30:20.917Z  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
zeiterfassung_1     | 2024-11-26T12:30:20.920Z  INFO 1 --- [           main] liquibase.command                        : Command execution complete
zeiterfassung_1     | 2024-11-26T12:30:21.043Z  INFO 1 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
zeiterfassung_1     | 2024-11-26T12:30:21.097Z  INFO 1 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.5.3.Final
zeiterfassung_1     | 2024-11-26T12:30:21.127Z  INFO 1 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
zeiterfassung_1     | 2024-11-26T12:30:21.434Z  INFO 1 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
zeiterfassung_1     | 2024-11-26T12:30:23.438Z  INFO 1 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
zeiterfassung_1     | 2024-11-26T12:30:23.450Z  INFO 1 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
zeiterfassung_1     | 2024-11-26T12:30:26.479Z  INFO 1 --- [           main] d.f.z.t.r.p.PropertyTenantInitializer    : zeiterfassung is running in tenant mode=single
zeiterfassung_1     | 2024-11-26T12:30:26.652Z  INFO 1 --- [           main] d.f.z.t.r.p.PropertyTenantInitializer    : tenant with tenantId=default already exists - nothing todo
zeiterfassung_1     | 2024-11-26T12:30:27.589Z  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoints beneath base path '/actuator'
zeiterfassung_1     | 2024-11-26T12:30:28.160Z  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
zeiterfassung_1     | 2024-11-26T12:30:28.178Z  INFO 1 --- [           main] d.focusshift.zeiterfassung.Application   : Started Application in 13.885 seconds (process running for 14.361)
zeiterfassung_1     | 2024-11-26T12:30:30.489Z  INFO 1 --- [omcat-handler-0] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
zeiterfassung_1     | 2024-11-26T12:30:30.490Z  INFO 1 --- [omcat-handler-0] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
zeiterfassung_1     | 2024-11-26T12:30:30.494Z  INFO 1 --- [omcat-handler-0] o.s.web.servlet.DispatcherServlet        : Completed initialization in 3 ms
zeiterfassung_1     | 2024-11-26T12:30:32.563Z  INFO 1 --- [omcat-handler-2] d.f.z.t.u.TenantUserCreatorAndUpdater    : creating new user=0d504f3d8a5817a1ebf5dbb2c65fe6d83dd6f6ce6eabf77473c692d3d1c48ff1 for tenantId=default with data from oidc token
zeiterfassung_1     | 2024-11-26T12:30:32.728Z ERROR 1 --- [omcat-handler-2] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
zeiterfassung_1     | 
zeiterfassung_1     | org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction
zeiterfassung_1     | 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:571) ~[spring-orm-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:795) ~[spring-tx-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:758) ~[spring-tx-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:663) ~[spring-tx-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:413) ~[spring-tx-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:138) ~[spring-tx-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165) ~[spring-data-jpa-3.3.6.jar:3.3.6]
zeiterfassung_1     | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223) ~[spring-aop-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.user.$Proxy180.save(Unknown Source) ~[na:2.13.2]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.user.TenantUserServiceImpl.createNewUser(TenantUserServiceImpl.java:44) ~[classes/:2.13.2]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.user.TenantUserCreatorAndUpdater.lambda$createOrUpdateTenantUser$2(TenantUserCreatorAndUpdater.java:62) ~[classes/:2.13.2]
zeiterfassung_1     | 	at java.base/java.util.Optional.ifPresentOrElse(Unknown Source) ~[na:na]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.user.TenantUserCreatorAndUpdater.createOrUpdateTenantUser(TenantUserCreatorAndUpdater.java:53) ~[classes/:2.13.2]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.user.TenantUserCreatorAndUpdater.lambda$handle$0(TenantUserCreatorAndUpdater.java:41) ~[classes/:2.13.2]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.tenant.TenantContextHolder.runInTenantIdContext(TenantContextHolder.java:27) ~[classes/:2.13.2]
zeiterfassung_1     | 	at de.focusshift.zeiterfassung.tenancy.user.TenantUserCreatorAndUpdater.handle(TenantUserCreatorAndUpdater.java:41) ~[classes/:2.13.2]
zeiterfassung_1     | 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
zeiterfassung_1     | 	at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
zeiterfassung_1     | 	at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:365) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:237) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:168) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:185) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:178) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:452) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:385) ~[spring-context-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.successfulAuthentication(AbstractAuthenticationProcessingFilter.java:331) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:241) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter.doFilterInternal(OAuth2AuthorizationRequestRedirectFilter.java:198) ~[spring-security-oauth2-client-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$0(ObservationFilterChainDecorator.java:323) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:224) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) ~[spring-security-web-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) ~[spring-webmvc-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) ~[spring-security-config-6.3.5.jar:6.3.5]
zeiterfassung_1     | 	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:362) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:278) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:142) ~[spring-session-core-3.3.3.jar:3.3.3]
zeiterfassung_1     | 	at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:82) ~[spring-session-core-3.3.3.jar:3.3.3]
zeiterfassung_1     | 	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:362) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:278) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:113) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:397) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.33.jar:10.1.33]
zeiterfassung_1     | 	at java.base/java.lang.VirtualThread.run(Unknown Source) ~[na:na]
zeiterfassung_1     | Caused by: jakarta.persistence.RollbackException: Error while committing the transaction
zeiterfassung_1     | 	at org.hibernate.internal.ExceptionConverterImpl.convertCommitException(ExceptionConverterImpl.java:67) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:562) ~[spring-orm-6.1.15.jar:6.1.15]
zeiterfassung_1     | 	... 120 common frames omitted
zeiterfassung_1     | Caused by: jakarta.validation.ConstraintViolationException: Validation failed for classes [de.focusshift.zeiterfassung.tenancy.user.TenantUserEntity] during persist time for groups [jakarta.validation.groups.Default, ]
zeiterfassung_1     | List of constraint violations:[
zeiterfassung_1     | 	ConstraintViolationImpl{interpolatedMessage='size must be between 0 and 36', propertyPath=uuid, rootBeanClass=class de.focusshift.zeiterfassung.tenancy.user.TenantUserEntity, messageTemplate='{jakarta.validation.constraints.Size.message}'}
zeiterfassung_1     | ]
zeiterfassung_1     | 	at org.hibernate.boot.beanvalidation.BeanValidationEventListener.validate(BeanValidationEventListener.java:151) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.boot.beanvalidation.BeanValidationEventListener.onPreInsert(BeanValidationEventListener.java:81) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.action.internal.EntityInsertAction.preInsert(EntityInsertAction.java:251) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:106) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:633) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:500) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:385) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:41) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:127) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1425) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:487) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2324) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:1981) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:439) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:169) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:267) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:101) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]
zeiterfassung_1     | 	... 121 common frames omitted
zeiterfassung_1     | 

@badsmoke badsmoke added status: new Initial state for every issue / pullrequest type: bug labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: new Initial state for every issue / pullrequest type: bug
Projects
None yet
Development

No branches or pull requests

1 participant