From 58a60645b463521567ab232aeee5783c608ca60e Mon Sep 17 00:00:00 2001 From: FyloZ Date: Mon, 24 Feb 2020 19:23:45 -0500 Subject: [PATCH] =?UTF-8?q?INDEV=20-=20Emp=C3=AAcher=20la=20cr=C3=A9ation?= =?UTF-8?q?=20de=20m=C3=A9langes=20avec=20le=20m=C3=AAme=20nom=20qu'un=20p?= =?UTF-8?q?roduit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logs/cre.log | 6469 ++++++++--------- .../core/io/response/ResponseCode.java | 1 + .../core/model/MixType.java | 5 + .../core/model/Recipe.java | 1 + .../model/config/MaterialTypeProperties.java | 4 - .../core/model/dto/MixFormDto.java | 2 + .../core/services/model/MaterialService.java | 17 +- .../services/model/MaterialTypeService.java | 2 +- .../core/services/model/MixService.java | 11 +- .../core/services/model/MixTypeService.java | 18 +- .../core/utils/MixBuilder.java | 4 +- .../colorrecipesexplorer/dao/MaterialDao.java | 2 + .../creators/MixCreatorController.java | 6 +- .../editors/MixEditorController.java | 6 + .../resources/lang/responses_en.properties | 1 + .../resources/lang/responses_fr.properties | 1 + workdir/recipes.mv.db | Bin 28672 -> 32768 bytes 17 files changed, 2908 insertions(+), 3642 deletions(-) diff --git a/logs/cre.log b/logs/cre.log index 6c04fd4..4d05270 100644 --- a/logs/cre.log +++ b/logs/cre.log @@ -1,1143 +1,78 @@ -16-02-2020 15:08:15.138 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 6965 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 15:08:15.140 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 15:08:15.165 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 15:08:15.165 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 15:08:15.515 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 15:08:15.560 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 43ms. Found 8 repository interfaces. -16-02-2020 15:08:15.738 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e085bf5f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 15:08:15.921 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 15:08:15.929 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 15:08:15.935 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 15:08:15.935 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 15:08:15.974 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 15:08:15.974 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 809 ms -16-02-2020 15:08:16.041 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 15:08:16.085 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 15:08:16.107 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ +24-02-2020 08:04:30.210 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 17199 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 08:04:30.239 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 08:04:30.440 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 08:04:30.441 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 08:04:32.715 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 08:04:33.008 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 269ms. Found 8 repository interfaces. +24-02-2020 08:04:33.857 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$987fb56] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 08:04:34.786 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 08:04:34.820 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 08:04:34.841 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 08:04:34.842 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 08:04:35.052 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 08:04:35.053 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4611 ms +24-02-2020 08:04:35.335 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 08:04:35.619 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 08:04:35.732 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 15:08:16.126 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 15:08:16.127 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 15:08:16.186 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 15:08:16.237 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 15:08:16.608 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:08:16.627 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 15:08:16.629 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 15:08:16.630 [restartedMain] WARN d.f.t.c.ColorRecipesExplorerApplication.loadPasswords - Aucun mot de passe trouvé. Il sera impossible d'utiliser certaines fonctionnalitées de l'application. -16-02-2020 15:08:16.848 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 15:08:17.003 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 15:08:17.019 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 15:08:17.078 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 15:08:17.132 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 15:08:17.139 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 15:08:17.142 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.162 seconds (JVM running for 2.627) -16-02-2020 15:08:23.524 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 15:08:23.524 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 15:08:23.528 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 15:12:34.495 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 15:12:34.498 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:12:34.499 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 15:12:34.502 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 15:12:36.330 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7313 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 15:12:36.332 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 15:12:36.350 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 15:12:36.350 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 15:12:36.688 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 15:12:36.732 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 15:12:36.904 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d1413a40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 15:12:37.090 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 15:12:37.098 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 15:12:37.104 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 15:12:37.104 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 15:12:37.142 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 15:12:37.142 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 792 ms -16-02-2020 15:12:37.208 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 15:12:37.266 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 15:12:37.287 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ +24-02-2020 08:04:35.881 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 08:04:35.885 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 08:04:36.512 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 08:04:37.240 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 08:04:39.519 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 08:04:39.662 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 08:04:40.887 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 08:04:41.376 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 08:04:41.443 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 08:04:41.680 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 08:04:41.955 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 08:04:41.987 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 08:04:41.996 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 13.531 seconds (JVM running for 18.33) +24-02-2020 08:04:42.043 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 08:05:17.830 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 08:05:17.832 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 08:05:17.850 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 17 ms +24-02-2020 08:11:52.057 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 08:11:52.066 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 08:11:52.078 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 08:11:52.089 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 09:06:27.660 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 22240 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 09:06:27.675 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 09:06:27.983 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 09:06:27.985 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 09:06:32.611 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 09:06:33.092 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 440ms. Found 8 repository interfaces. +24-02-2020 09:06:34.730 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$4bb9a28c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 09:06:36.343 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 09:06:36.396 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 09:06:36.450 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 09:06:36.452 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 09:06:36.798 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 09:06:36.800 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 8813 ms +24-02-2020 09:06:37.351 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 09:06:37.776 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 09:06:37.969 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 15:12:37.306 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 15:12:37.306 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 15:12:37.352 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 15:12:37.418 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 15:12:37.829 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:12:37.847 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 15:12:37.849 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 15:12:38.063 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 15:12:38.215 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 15:12:38.230 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 15:12:38.288 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 15:12:38.340 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 15:12:38.347 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 15:12:38.349 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.188 seconds (JVM running for 2.646) -16-02-2020 15:12:40.046 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 15:12:40.046 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 15:12:40.050 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms -16-02-2020 15:12:45.277 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause -java.lang.IllegalArgumentException: The given id must not be null! - at org.springframework.util.Assert.notNull(Assert.java:198) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:264) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy101.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForCreation(GenericService.java:98) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService.isValidForCreation(CompanyService.java:23) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService$$FastClassBySpringCGLIB$$f43d3670.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService$$EnhancerBySpringCGLIB$$8383e689.isValidForCreation() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.CompanyCreatorController.createCompany(CompanyCreatorController.java:61) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:14:56.044 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 15:14:56.046 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:14:56.048 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 15:14:56.263 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 15:14:56.339 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7313 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 15:14:56.339 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 15:14:56.482 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 15:14:56.499 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 17ms. Found 8 repository interfaces. -16-02-2020 15:14:56.531 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d1413a40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 15:14:56.569 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 15:14:56.569 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 15:14:56.570 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 15:14:56.570 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 15:14:56.574 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 15:14:56.574 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 233 ms -16-02-2020 15:14:56.608 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... -16-02-2020 15:14:56.615 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. -16-02-2020 15:14:56.620 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 15:14:56.626 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 15:14:56.760 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:14:56.768 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 15:14:56.769 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 15:14:56.826 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 15:14:56.902 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 15:14:56.905 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 15:14:56.928 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 15:14:56.952 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 15:14:56.953 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 15:14:56.953 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.634 seconds (JVM running for 141.25) -16-02-2020 15:14:56.965 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 15:15:00.509 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 15:15:00.510 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 15:15:00.512 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 15:18:22.404 [http-nio-9090-exec-5] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-5] Exception processing template "material/creator": An error happened during template parsing (template: "class path resource [templates/material/creator.html]") -org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]") - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Cannot resolve fragment. Signature "header (showPrinterIcon)" declares parameters, but fragment selection did not specify any parameters. (template: "material/creator" - line 9, col 9) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Cannot resolve fragment. Signature "header (showPrinterIcon)" declares parameters, but fragment selection did not specify any parameters. (template: "material/creator" - line 9, col 9) - at org.thymeleaf.standard.expression.FragmentSignatureUtils.processParameters(FragmentSignatureUtils.java:165) - at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:175) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) - at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) - at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) - at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) - at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - ... 54 common frames omitted -16-02-2020 15:18:22.405 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]")] with root cause -org.thymeleaf.exceptions.TemplateProcessingException: Cannot resolve fragment. Signature "header (showPrinterIcon)" declares parameters, but fragment selection did not specify any parameters. (template: "material/creator" - line 9, col 9) - at org.thymeleaf.standard.expression.FragmentSignatureUtils.processParameters(FragmentSignatureUtils.java:165) - at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:175) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) - at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) - at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) - at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) - at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:19:11.605 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 15:19:11.606 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:19:11.606 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... -16-02-2020 15:19:11.607 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. -16-02-2020 15:19:11.914 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7313 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 15:19:11.915 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 15:19:12.044 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 15:19:12.060 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. -16-02-2020 15:19:12.098 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d1413a40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 15:19:12.130 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 15:19:12.131 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 15:19:12.131 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 15:19:12.131 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 15:19:12.135 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 15:19:12.135 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 219 ms -16-02-2020 15:19:12.160 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... -16-02-2020 15:19:12.168 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. -16-02-2020 15:19:12.172 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 15:19:12.178 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 15:19:12.285 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:19:12.292 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 15:19:12.293 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 15:19:12.349 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 15:19:12.429 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 15:19:12.433 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 15:19:12.454 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 15:19:12.478 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 15:19:12.479 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 15:19:12.479 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.579 seconds (JVM running for 396.776) -16-02-2020 15:19:12.491 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 15:19:13.205 [Thread-21] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 15:19:13.206 [Thread-21] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:19:13.207 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... -16-02-2020 15:19:13.208 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. -16-02-2020 15:19:14.582 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7946 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 15:19:14.583 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 15:19:14.605 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 15:19:14.605 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 15:19:14.968 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 15:19:15.013 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 42ms. Found 8 repository interfaces. -16-02-2020 15:19:15.187 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d5d727bd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 15:19:15.369 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 15:19:15.376 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 15:19:15.382 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 15:19:15.382 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 15:19:15.420 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 15:19:15.420 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 814 ms -16-02-2020 15:19:15.486 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 15:19:15.543 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 15:19:15.565 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 15:19:15.584 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 15:19:15.584 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 15:19:15.641 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 15:19:15.691 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 15:19:16.105 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:19:16.124 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 15:19:16.125 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 15:19:16.341 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 15:19:16.493 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 15:19:16.509 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 15:19:16.569 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 15:19:16.622 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 15:19:16.629 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 15:19:16.632 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.274 seconds (JVM running for 2.771) -16-02-2020 15:19:18.103 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 15:19:18.104 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 15:19:18.107 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 15:19:18.342 [http-nio-9090-exec-1] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-1] Exception processing template "material/creator": An error happened during template parsing (template: "class path resource [templates/material/creator.html]") -org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]") - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "material/creator" - line 39, col 32) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "material/creator" - line 39, col 32) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:117) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) - at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) - at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) - at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) - at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - ... 54 common frames omitted -Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'materialCode' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Material]: Bean property 'materialCode' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) - at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) - at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) - at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) - at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) - at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) - at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - ... 67 common frames omitted -16-02-2020 15:19:18.344 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]")] with root cause -org.springframework.beans.NotReadablePropertyException: Invalid property 'materialCode' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Material]: Bean property 'materialCode' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) - at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) - at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) - at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) - at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) - at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) - at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) - at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) - at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) - at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) - at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:19:51.697 [http-nio-9090-exec-4] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-4] Exception processing template "material/creator": An error happened during template parsing (template: "class path resource [templates/material/creator.html]") -org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]") - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "materialType.materialTypeID" (template: "material/creator" - line 69, col 79) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "materialType.materialTypeID" (template: "material/creator" - line 69, col 79) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) - at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) - at org.thymeleaf.engine.Model.process(Model.java:282) - at org.thymeleaf.engine.Model.process(Model.java:290) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) - at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) - at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) - at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) - at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - ... 54 common frames omitted -Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeID' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? - at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) - at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) - at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) - at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) - at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - ... 79 common frames omitted -16-02-2020 15:19:51.698 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]")] with root cause -org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeID' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? - at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) - at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) - at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) - at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) - at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) - at org.thymeleaf.engine.Model.process(Model.java:282) - at org.thymeleaf.engine.Model.process(Model.java:290) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) - at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) - at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) - at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) - at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:22:23.507 [http-nio-9090-exec-2] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-2] Exception processing template "inventory": An error happened during template parsing (template: "class path resource [templates/inventory.html]") -org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/inventory.html]") - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "material.materialId" (template: "inventory" - line 96, col 21) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "material.materialId" (template: "inventory" - line 96, col 21) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) - at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.processDefaultAttribute(StandardDefaultAttributesTagProcessor.java:165) - at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.process(StandardDefaultAttributesTagProcessor.java:98) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) - at org.thymeleaf.engine.Model.process(Model.java:282) - at org.thymeleaf.engine.Model.process(Model.java:290) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) - at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) - at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) - at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) - at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - ... 54 common frames omitted -Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialId' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.Material' - maybe not public or not valid? - at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) - at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) - at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) - at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) - at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - ... 78 common frames omitted -16-02-2020 15:22:23.507 [http-nio-9090-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/inventory.html]")] with root cause -org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialId' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.Material' - maybe not public or not valid? - at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) - at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) - at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) - at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) - at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.processDefaultAttribute(StandardDefaultAttributesTagProcessor.java:165) - at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.process(StandardDefaultAttributesTagProcessor.java:98) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) - at org.thymeleaf.engine.Model.process(Model.java:282) - at org.thymeleaf.engine.Model.process(Model.java:290) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) - at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) - at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) - at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) - at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) - at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:24:41.243 [http-nio-9090-exec-1] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-1] Exception processing template "recipe/edit": An error happened during template parsing (template: "class path resource [templates/recipe/edit.html]") -org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/edit.html]") - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "recipe/edit" - line 58, col 38) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "recipe/edit" - line 58, col 38) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:117) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) - at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) - at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) - at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) - at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - ... 54 common frames omitted -Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'recipeId' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Recipe]: Bean property 'recipeId' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) - at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) - at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) - at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) - at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) - at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) - at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - ... 67 common frames omitted -16-02-2020 15:24:41.243 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/edit.html]")] with root cause -org.springframework.beans.NotReadablePropertyException: Invalid property 'recipeId' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Recipe]: Bean property 'recipeId' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) - at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) - at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) - at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) - at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) - at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) - at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) - at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) - at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) - at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) - at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) - at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) - at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:26:29.052 [http-nio-9090-exec-8] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-8] Exception processing template "recipe/explore": An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]") +24-02-2020 09:06:38.178 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 09:06:38.183 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 09:06:38.592 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 09:06:39.039 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 09:06:41.869 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:06:41.992 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 09:06:43.105 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 09:06:43.488 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 09:06:43.619 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 09:06:43.977 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 09:06:44.212 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 09:06:44.248 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 09:06:44.258 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 18.6 seconds (JVM running for 25.154) +24-02-2020 09:06:44.306 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 09:07:26.605 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 09:07:26.607 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 09:07:26.633 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 25 ms +24-02-2020 09:25:17.536 [http-nio-9090-exec-9] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-9] Exception processing template "recipe/explore": An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]") at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) @@ -1191,35 +126,46 @@ org.thymeleaf.exceptions.TemplateInputException: An error happened during templa at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "T(dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType).BASE_MATERIAL_TYPE_NAME" (template: "recipe/explore" - line 471, col 86) + at java.base/java.lang.Thread.run(Thread.java:835) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "material.isMixType" (template: "recipe/explore" - line 142, col 49) at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) at org.attoparser.MarkupParser.parse(MarkupParser.java:257) at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "T(dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType).BASE_MATERIAL_TYPE_NAME" (template: "recipe/explore" - line 471, col 86) +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "material.isMixType" (template: "recipe/explore" - line 142, col 49) at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) - at org.thymeleaf.standard.inline.AbstractStandardInliner.processExpression(AbstractStandardInliner.java:528) - at org.thymeleaf.standard.inline.AbstractStandardInliner.performInlining(AbstractStandardInliner.java:389) - at org.thymeleaf.standard.inline.AbstractStandardInliner.inline(AbstractStandardInliner.java:210) - at org.thymeleaf.standard.processor.StandardInliningCDATASectionProcessor.doProcess(StandardInliningCDATASectionProcessor.java:55) - at org.thymeleaf.processor.cdatasection.AbstractCDATASectionProcessor.process(AbstractCDATASectionProcessor.java:57) - at org.thymeleaf.util.ProcessorConfigurationUtils$CDATASectionProcessorWrapper.process(ProcessorConfigurationUtils.java:665) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleCDATASection(ProcessorTemplateHandler.java:770) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCDATASection(TemplateHandlerAdapterMarkupHandler.java:186) - at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) - at org.attoparser.HtmlMarkupHandler.handleCDATASection(HtmlMarkupHandler.java:181) - at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) - at org.attoparser.ParsingCDATASectionMarkupUtil.parseCDATASection(ParsingCDATASectionMarkupUtil.java:57) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:780) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.processDefaultAttribute(StandardDefaultAttributesTagProcessor.java:165) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.process(StandardDefaultAttributesTagProcessor.java:98) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) + at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) + at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) + at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) + at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) ... 54 common frames omitted -Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'BASE_MATERIAL_TYPE_NAME' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'isMixType' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.Material' - maybe not public or not valid? at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) @@ -1228,9 +174,9 @@ Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - ... 73 common frames omitted -16-02-2020 15:26:29.052 [http-nio-9090-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]")] with root cause -org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'BASE_MATERIAL_TYPE_NAME' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + ... 84 common frames omitted +24-02-2020 09:25:17.548 [http-nio-9090-exec-9] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'isMixType' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.Material' - maybe not public or not valid? at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) @@ -1243,20 +189,31 @@ org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property o at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) - at org.thymeleaf.standard.inline.AbstractStandardInliner.processExpression(AbstractStandardInliner.java:528) - at org.thymeleaf.standard.inline.AbstractStandardInliner.performInlining(AbstractStandardInliner.java:389) - at org.thymeleaf.standard.inline.AbstractStandardInliner.inline(AbstractStandardInliner.java:210) - at org.thymeleaf.standard.processor.StandardInliningCDATASectionProcessor.doProcess(StandardInliningCDATASectionProcessor.java:55) - at org.thymeleaf.processor.cdatasection.AbstractCDATASectionProcessor.process(AbstractCDATASectionProcessor.java:57) - at org.thymeleaf.util.ProcessorConfigurationUtils$CDATASectionProcessorWrapper.process(ProcessorConfigurationUtils.java:665) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleCDATASection(ProcessorTemplateHandler.java:770) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCDATASection(TemplateHandlerAdapterMarkupHandler.java:186) - at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) - at org.attoparser.HtmlMarkupHandler.handleCDATASection(HtmlMarkupHandler.java:181) - at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) - at org.attoparser.ParsingCDATASectionMarkupUtil.parseCDATASection(ParsingCDATASectionMarkupUtil.java:57) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:780) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.processDefaultAttribute(StandardDefaultAttributesTagProcessor.java:165) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.process(StandardDefaultAttributesTagProcessor.java:98) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) + at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) + at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) + at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) + at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) at org.attoparser.MarkupParser.parse(MarkupParser.java:257) at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) @@ -1311,623 +268,24 @@ org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property o at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:40:31.305 [http-nio-9090-exec-10] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] -16-02-2020 15:40:39.780 [http-nio-9090-exec-5] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] -16-02-2020 15:42:55.749 [http-nio-9090-exec-10] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] -16-02-2020 15:44:55.586 [http-nio-9090-exec-2] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] -16-02-2020 15:45:27.888 [http-nio-9090-exec-7] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] -16-02-2020 15:51:25.719 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool.run - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m10s63ms711µs679ns). -16-02-2020 15:56:03.590 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 15:56:03.592 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:56:03.594 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 15:56:03.595 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 15:56:06.511 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 15:56:06.512 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 15:56:06.538 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 15:56:06.538 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 15:56:06.877 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 15:56:06.922 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 15:56:07.094 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 15:56:07.284 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 15:56:07.291 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 15:56:07.297 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 15:56:07.297 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 15:56:07.334 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 15:56:07.334 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 796 ms -16-02-2020 15:56:07.399 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 15:56:07.456 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 15:56:07.477 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 15:56:07.507 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 15:56:07.508 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 15:56:07.553 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 15:56:07.603 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 15:56:07.977 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 15:56:07.996 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 15:56:07.998 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 15:56:08.215 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 15:56:08.372 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 15:56:08.388 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 15:56:08.444 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 15:56:08.497 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 15:56:08.504 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 15:56:08.506 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.169 seconds (JVM running for 2.609) -16-02-2020 15:56:12.836 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 15:56:12.836 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 15:56:12.840 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 15:59:20.005 [http-nio-9090-exec-3] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-3] Exception processing template "mix/editor/{id}": Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers -org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers - at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 15:59:20.006 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers] with root cause -org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers - at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:00:11.264 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:00:11.266 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:00:11.268 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 16:00:11.513 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 16:00:11.585 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:00:11.585 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:00:11.721 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:00:11.739 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 17ms. Found 8 repository interfaces. -16-02-2020 16:00:11.783 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:00:11.818 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:00:11.819 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:00:11.819 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:00:11.819 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:00:11.824 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:00:11.824 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 238 ms -16-02-2020 16:00:11.854 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... -16-02-2020 16:00:11.870 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. -16-02-2020 16:00:11.874 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:00:11.882 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:00:11.987 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:00:11.995 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:00:11.996 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:00:12.054 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:00:12.140 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:00:12.143 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:00:12.165 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:00:12.190 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:00:12.191 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:00:12.191 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.622 seconds (JVM running for 246.294) -16-02-2020 16:00:12.203 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:00:12.670 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:00:12.671 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:00:12.672 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 1 ms -16-02-2020 16:39:11.036 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:39:11.037 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:39:11.038 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... -16-02-2020 16:39:11.040 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. -16-02-2020 16:39:11.137 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:39:11.137 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:39:11.278 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:39:11.294 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. -16-02-2020 16:39:11.326 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:39:11.361 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:39:11.362 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:39:11.362 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:39:11.362 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:39:11.367 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:39:11.367 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 229 ms -16-02-2020 16:39:11.400 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... -16-02-2020 16:39:11.403 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. -16-02-2020 16:39:11.407 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:39:11.414 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:39:11.501 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:39:11.517 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:39:11.519 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:39:11.573 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:39:11.645 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:39:11.649 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:39:11.670 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:39:11.694 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:39:11.695 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:39:11.695 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.573 seconds (JVM running for 2585.798) -16-02-2020 16:39:11.706 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:39:17.054 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:39:17.054 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:39:17.057 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 16:40:23.062 [Thread-16] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:40:23.063 [Thread-16] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:40:23.064 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... -16-02-2020 16:40:23.292 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. -16-02-2020 16:40:23.363 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:40:23.364 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:40:23.489 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:40:23.512 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 23ms. Found 8 repository interfaces. -16-02-2020 16:40:23.545 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:40:23.588 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:40:23.589 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:40:23.589 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:40:23.589 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:40:23.594 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:40:23.594 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 229 ms -16-02-2020 16:40:23.618 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Starting... -16-02-2020 16:40:23.624 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Start completed. -16-02-2020 16:40:23.628 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:40:23.634 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:40:23.716 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:40:23.732 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:40:23.733 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:40:23.784 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:40:23.847 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:40:23.850 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:40:23.874 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:40:23.897 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:40:23.898 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:40:23.899 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.55 seconds (JVM running for 2658.001) -16-02-2020 16:40:23.910 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:40:24.184 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:40:24.185 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:40:24.187 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 16:42:28.466 [http-nio-9090-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause -java.lang.IllegalArgumentException: The given id must not be null! - at org.springframework.util.Assert.notNull(Assert.java:198) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:222) - at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy152.findById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.getById(GenericService.java:26) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.getById() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:96) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:43:20.746 [Thread-22] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:43:20.747 [Thread-22] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:43:20.753 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown initiated... -16-02-2020 16:43:20.962 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown completed. -16-02-2020 16:43:21.056 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:43:21.056 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:43:21.188 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:43:21.204 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. -16-02-2020 16:43:21.246 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:43:21.278 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:43:21.278 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:43:21.279 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:43:21.279 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:43:21.283 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:43:21.283 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 224 ms -16-02-2020 16:43:21.308 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Starting... -16-02-2020 16:43:21.325 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Start completed. -16-02-2020 16:43:21.330 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:43:21.336 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:43:21.414 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:43:21.421 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:43:21.423 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:43:21.475 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:43:21.550 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:43:21.553 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:43:21.574 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:43:21.597 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:43:21.598 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:43:21.599 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.561 seconds (JVM running for 2835.701) -16-02-2020 16:43:21.610 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:43:33.084 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:43:33.084 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:43:33.086 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 16:43:33.099 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause -java.lang.IllegalArgumentException: The given id must not be null! - at org.springframework.util.Assert.notNull(Assert.java:198) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:222) - at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy170.findById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.getById(GenericService.java:26) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.getById() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:96) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:43:45.404 [http-nio-9090-exec-9] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause -java.lang.IllegalArgumentException: The given id must not be null! - at org.springframework.util.Assert.notNull(Assert.java:198) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:222) - at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy170.findById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.getById(GenericService.java:26) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.getById() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:96) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:45:18.262 [Thread-28] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:45:18.263 [Thread-28] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:45:18.264 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown initiated... -16-02-2020 16:45:18.469 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown completed. -16-02-2020 16:45:18.545 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:45:18.546 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:45:18.670 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:45:18.719 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 49ms. Found 8 repository interfaces. -16-02-2020 16:45:18.757 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:45:18.792 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:45:18.793 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:45:18.793 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:45:18.793 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:45:18.797 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:45:18.797 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 249 ms -16-02-2020 16:45:18.830 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Starting... -16-02-2020 16:45:18.835 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Start completed. -16-02-2020 16:45:18.839 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:45:18.845 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:45:18.918 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:45:18.925 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:45:18.927 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:45:19.020 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:45:19.085 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:45:19.090 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:45:19.111 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:45:19.138 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:45:19.139 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:45:19.139 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.608 seconds (JVM running for 2953.242) -16-02-2020 16:45:19.168 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:45:19.773 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:45:19.773 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:45:19.775 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 16:45:28.593 [http-nio-9090-exec-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 16:45:28.593 [http-nio-9090-exec-5] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] -16-02-2020 16:45:28.594 [http-nio-9090-exec-5] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 16:45:28.597 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 09:26:37.639 [http-nio-9090-exec-10] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 09:26:37.640 [http-nio-9090-exec-10] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] +24-02-2020 09:26:37.665 [http-nio-9090-exec-10] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) at org.h2.message.DbException.get(DbException.java:205) at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.command.dml.Insert.insertRows(Insert.java:180) + at org.h2.command.dml.Insert.update(Insert.java:132) at org.h2.command.CommandContainer.update(CommandContainer.java:133) at org.h2.command.Command.executeUpdate(Command.java:267) at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) @@ -1935,10 +293,9 @@ delete from mix_quantity where id=? [23503-199] at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3174) + at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3688) + at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:90) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) @@ -1948,16 +305,12 @@ delete from mix_quantity where id=? [23503-199] at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) @@ -1975,817 +328,15 @@ delete from mix_quantity where id=? [23503-199] at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy183.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:48:38.538 [http-nio-9090-exec-8] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 16:48:38.538 [http-nio-9090-exec-8] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] -16-02-2020 16:48:38.538 [http-nio-9090-exec-8] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 16:48:38.539 [http-nio-9090-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) - at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) - at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) - at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) - at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) - at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy183.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:51:07.219 [Thread-34] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:51:07.220 [Thread-34] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:51:07.220 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown initiated... -16-02-2020 16:51:07.453 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown completed. -16-02-2020 16:51:07.548 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:51:07.548 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:51:07.701 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:51:07.725 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 24ms. Found 8 repository interfaces. -16-02-2020 16:51:07.756 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:51:07.792 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:51:07.793 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:51:07.793 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:51:07.793 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:51:07.797 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:51:07.798 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 248 ms -16-02-2020 16:51:07.823 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Starting... -16-02-2020 16:51:07.837 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Start completed. -16-02-2020 16:51:07.842 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:51:07.854 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:51:07.945 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:51:07.954 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:51:07.955 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:51:08.027 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:51:08.092 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:51:08.095 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:51:08.115 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:51:08.139 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:51:08.140 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:51:08.140 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.608 seconds (JVM running for 3302.243) -16-02-2020 16:51:08.158 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:51:09.123 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:51:09.123 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:51:09.125 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 16:54:30.657 [HikariPool-7 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool.run - HikariPool-7 - Thread starvation or clock leap detected (housekeeper delta=52s718ms495µs218ns). -16-02-2020 16:55:07.008 [Thread-45] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:55:07.008 [Thread-45] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:55:07.009 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown initiated... -16-02-2020 16:55:07.010 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown completed. -16-02-2020 16:55:09.783 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13316 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:55:09.785 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:55:09.803 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 16:55:09.803 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 16:55:10.151 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:55:10.195 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 16:55:10.394 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f4b43c51] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:55:10.601 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:55:10.609 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:55:10.615 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:55:10.616 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:55:10.655 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:55:10.655 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 852 ms -16-02-2020 16:55:10.723 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 16:55:10.792 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 16:55:10.813 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:55:10.832 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 16:55:10.833 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 16:55:10.881 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 16:55:10.932 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:55:11.332 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:55:11.352 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:55:11.354 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:55:11.571 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:55:11.728 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:55:11.744 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:55:11.802 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:55:11.863 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:55:11.871 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:55:11.873 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.265 seconds (JVM running for 2.759) -16-02-2020 16:55:12.475 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:55:12.476 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:55:12.479 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 16:56:48.451 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:56:48.453 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:56:48.455 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 16:56:48.670 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 16:56:48.751 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13316 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:56:48.752 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:56:48.976 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:56:49.001 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 24ms. Found 8 repository interfaces. -16-02-2020 16:56:49.045 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f4b43c51] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:56:49.095 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:56:49.096 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:56:49.096 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:56:49.096 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:56:49.104 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:56:49.104 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 350 ms -16-02-2020 16:56:49.147 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... -16-02-2020 16:56:49.155 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. -16-02-2020 16:56:49.160 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:56:49.170 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:56:49.292 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:56:49.302 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:56:49.304 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:56:49.374 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:56:49.446 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:56:49.449 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:56:49.471 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:56:49.496 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:56:49.497 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:56:49.498 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.769 seconds (JVM running for 100.384) -16-02-2020 16:56:49.510 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:56:49.542 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:56:49.543 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:56:49.545 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 16:58:33.204 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:58:33.206 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:58:33.206 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... -16-02-2020 16:58:33.424 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. -16-02-2020 16:58:33.504 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13316 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:58:33.504 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:58:33.648 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:58:33.673 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 24ms. Found 8 repository interfaces. -16-02-2020 16:58:33.708 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f4b43c51] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:58:33.746 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:58:33.747 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:58:33.747 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:58:33.747 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:58:33.752 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:58:33.752 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 246 ms -16-02-2020 16:58:33.787 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... -16-02-2020 16:58:33.794 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. -16-02-2020 16:58:33.798 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:58:33.804 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:58:33.893 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:58:33.904 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:58:33.905 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:58:33.969 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:58:34.037 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:58:34.041 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:58:34.062 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:58:34.086 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:58:34.088 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:58:34.088 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.601 seconds (JVM running for 204.974) -16-02-2020 16:58:34.096 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:58:34.097 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:58:34.100 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 16:58:34.103 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 16:58:41.163 [http-nio-9090-exec-4] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 16:58:41.163 [http-nio-9090-exec-4] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] -16-02-2020 16:58:41.164 [http-nio-9090-exec-4] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 16:58:41.170 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) - at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) - at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) - at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) - at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) - at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy146.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$4703d2fa.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 16:59:39.458 [Thread-21] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 16:59:39.459 [Thread-21] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:59:39.459 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... -16-02-2020 16:59:39.460 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. -16-02-2020 16:59:42.260 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 16:59:42.261 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 16:59:42.280 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 16:59:42.280 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 16:59:42.619 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 16:59:42.664 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 16:59:42.840 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 16:59:43.028 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 16:59:43.035 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 16:59:43.041 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 16:59:43.041 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 16:59:43.079 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 16:59:43.079 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 798 ms -16-02-2020 16:59:43.144 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 16:59:43.201 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 16:59:43.233 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 16:59:43.253 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 16:59:43.253 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 16:59:43.298 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 16:59:43.347 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 16:59:43.720 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 16:59:43.739 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 16:59:43.741 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 16:59:43.956 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 16:59:44.111 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 16:59:44.126 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 16:59:44.182 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 16:59:44.234 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 16:59:44.241 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 16:59:44.243 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.156 seconds (JVM running for 2.636) -16-02-2020 16:59:45.479 [http-nio-9090-exec-4] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 16:59:45.479 [http-nio-9090-exec-4] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 16:59:45.483 [http-nio-9090-exec-4] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms -16-02-2020 17:01:19.833 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:01:19.835 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:01:19.837 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 17:01:20.056 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 17:01:20.124 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:01:20.125 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:01:20.262 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:01:20.280 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 18ms. Found 8 repository interfaces. -16-02-2020 17:01:20.314 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:01:20.351 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:01:20.352 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:01:20.352 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:01:20.352 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:01:20.357 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:01:20.357 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 231 ms -16-02-2020 17:01:20.391 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... -16-02-2020 17:01:20.398 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. -16-02-2020 17:01:20.402 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 17:01:20.409 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:01:20.523 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:01:20.531 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:01:20.533 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:01:20.593 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:01:20.679 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:01:20.682 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:01:20.706 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:01:20.733 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:01:20.739 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:01:20.739 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.631 seconds (JVM running for 99.132) -16-02-2020 17:01:20.760 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 17:01:21.645 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:01:21.645 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:01:21.647 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 17:02:07.662 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:02:07.663 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:02:07.663 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... -16-02-2020 17:02:07.877 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. -16-02-2020 17:02:07.953 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:02:07.953 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:02:08.089 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:02:08.106 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 17ms. Found 8 repository interfaces. -16-02-2020 17:02:08.141 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:02:08.183 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:02:08.184 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:02:08.184 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:02:08.184 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:02:08.189 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:02:08.189 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 234 ms -16-02-2020 17:02:08.215 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... -16-02-2020 17:02:08.221 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. -16-02-2020 17:02:08.225 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 17:02:08.234 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:02:08.331 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:02:08.340 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:02:08.342 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:02:08.402 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:02:08.476 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:02:08.480 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:02:08.501 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:02:08.525 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:02:08.526 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:02:08.527 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.593 seconds (JVM running for 146.919) -16-02-2020 17:02:08.538 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 17:02:09.037 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:02:09.038 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:02:09.040 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 17:02:16.927 [http-nio-9090-exec-3] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 17:02:16.928 [http-nio-9090-exec-3] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] -16-02-2020 17:02:16.928 [http-nio-9090-exec-3] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 17:02:16.929 [http-nio-9090-exec-3] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] -16-02-2020 17:02:16.934 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) - at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) - at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) - at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) - at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) - at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) - at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) - at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) - at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixQuantityService$$EnhancerBySpringCGLIB$$93026e0.deleteAll() - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:115) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:85) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:02:59.147 [Thread-16] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:02:59.148 [Thread-16] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:02:59.148 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... -16-02-2020 17:02:59.392 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. -16-02-2020 17:02:59.461 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:02:59.462 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:02:59.586 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:02:59.602 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. -16-02-2020 17:02:59.642 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:02:59.675 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:02:59.676 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:02:59.676 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:02:59.676 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:02:59.680 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:02:59.680 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 217 ms -16-02-2020 17:02:59.711 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Starting... -16-02-2020 17:02:59.724 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Start completed. -16-02-2020 17:02:59.728 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 17:02:59.735 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:02:59.814 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:02:59.821 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:02:59.823 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:02:59.876 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:02:59.951 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:02:59.954 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:02:59.975 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:02:59.998 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:03:00.000 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:03:00.000 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.553 seconds (JVM running for 198.393) -16-02-2020 17:03:00.012 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 17:03:01.154 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:03:01.155 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:03:01.157 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 17:03:09.746 [http-nio-9090-exec-9] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 17:03:09.746 [http-nio-9090-exec-9] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] -16-02-2020 17:03:09.746 [http-nio-9090-exec-9] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 17:03:09.748 [http-nio-9090-exec-9] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) - at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) - at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) - at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) - at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) - at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at jdk.internal.reflect.GeneratedMethodAccessor171.invoke(Unknown Source) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy159.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$860fe6f5.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:100) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:87) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.save(MixService.java:83) at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) @@ -2794,12 +345,12 @@ delete from mix_quantity where id=? [23503-199] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$ef202426.save() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:68) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) @@ -2849,932 +400,293 @@ delete from mix_quantity where id=? [23503-199] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:04:20.435 [Thread-22] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:04:20.436 [Thread-22] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:04:20.437 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown initiated... -16-02-2020 17:04:20.691 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown completed. -16-02-2020 17:04:20.763 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:04:20.763 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:04:20.882 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:04:20.907 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 25ms. Found 8 repository interfaces. -16-02-2020 17:04:20.936 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:04:20.970 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:04:20.970 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:04:20.970 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:04:20.970 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:04:20.974 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:04:20.974 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 209 ms -16-02-2020 17:04:20.997 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Starting... -16-02-2020 17:04:21.009 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Start completed. -16-02-2020 17:04:21.013 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 09:40:45.745 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 09:40:45.754 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:40:45.769 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 09:40:45.794 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 09:41:22.571 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 24030 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 09:41:22.581 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 09:41:22.942 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 09:41:22.943 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 09:41:26.029 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 09:41:26.370 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 316ms. Found 8 repository interfaces. +24-02-2020 09:41:27.901 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f50cc1d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 09:41:29.096 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 09:41:29.137 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 09:41:29.169 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 09:41:29.170 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 09:41:29.450 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 09:41:29.452 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 6508 ms +24-02-2020 09:41:29.911 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 09:41:30.249 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 09:41:30.371 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 17:04:21.018 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:04:21.089 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:04:21.096 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:04:21.098 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:04:21.159 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:04:21.220 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:04:21.223 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:04:21.242 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:04:21.265 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:04:21.266 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:04:21.266 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.517 seconds (JVM running for 279.659) -16-02-2020 17:04:21.279 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 17:04:22.028 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:04:22.028 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:04:22.030 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 17:05:50.983 [Thread-28] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:05:50.984 [Thread-28] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:05:50.984 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown initiated... -16-02-2020 17:05:51.216 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown completed. -16-02-2020 17:05:51.303 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:05:51.303 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:05:51.451 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:05:51.482 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 31ms. Found 8 repository interfaces. -16-02-2020 17:05:51.511 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:05:51.545 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:05:51.546 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:05:51.546 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:05:51.546 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:05:51.550 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:05:51.550 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 244 ms -16-02-2020 17:05:51.582 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Starting... -16-02-2020 17:05:51.587 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Start completed. -16-02-2020 17:05:51.591 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ +24-02-2020 09:41:30.503 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 09:41:30.508 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 09:41:30.936 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 09:41:31.249 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 09:41:33.972 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:41:34.074 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 09:41:35.934 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 09:41:36.409 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 09:41:36.503 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 09:41:36.985 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 09:41:37.322 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 09:41:37.364 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 09:41:37.375 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 17.014 seconds (JVM running for 27.221) +24-02-2020 09:41:37.447 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 09:44:03.987 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 09:44:03.990 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 09:44:04.013 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 23 ms +24-02-2020 09:57:43.768 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 09:57:43.787 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:57:43.797 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 09:57:44.033 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 09:57:44.709 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 24030 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 09:57:44.717 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 09:57:46.087 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 09:57:46.298 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 207ms. Found 8 repository interfaces. +24-02-2020 09:57:46.572 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f50cc1d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 09:57:46.913 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 09:57:46.918 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 09:57:46.920 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 09:57:46.921 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 09:57:46.950 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 09:57:46.952 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2221 ms +24-02-2020 09:57:47.349 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... +24-02-2020 09:57:47.406 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. +24-02-2020 09:57:47.443 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 17:05:51.597 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:05:51.695 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:05:51.706 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:05:51.707 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:05:51.765 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:05:51.828 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:05:51.831 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:05:51.850 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:05:51.875 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:05:51.877 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:05:51.877 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.589 seconds (JVM running for 370.27) -16-02-2020 17:05:51.890 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 17:05:52.677 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:05:52.677 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:05:52.679 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 17:06:05.654 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session] with root cause -org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session - at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:602) - at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:217) - at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:581) - at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:148) - at org.hibernate.collection.internal.PersistentBag.iterator(PersistentBag.java:303) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.deleteAll(GenericService.java:83) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixQuantityService$$EnhancerBySpringCGLIB$$93026e0.deleteAll() - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:118) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:09:30.267 [Thread-34] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:09:30.268 [Thread-34] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:09:30.269 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown initiated... -16-02-2020 17:09:30.515 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown completed. -16-02-2020 17:09:30.603 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:09:30.603 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:09:30.764 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:09:30.780 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. -16-02-2020 17:09:30.808 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:09:30.842 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:09:30.842 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:09:30.842 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:09:30.842 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:09:30.847 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:09:30.847 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 242 ms -16-02-2020 17:09:30.870 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Starting... -16-02-2020 17:09:30.881 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Start completed. -16-02-2020 17:09:30.885 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 17:09:30.901 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:09:30.992 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:09:30.999 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:09:31.001 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:09:31.060 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:09:31.120 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:09:31.123 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:09:31.142 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:09:31.164 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:09:31.168 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:09:31.169 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.581 seconds (JVM running for 589.562) -16-02-2020 17:09:31.214 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged -16-02-2020 17:09:41.495 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:09:41.495 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:09:41.497 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms -16-02-2020 17:09:41.498 [http-nio-9090-exec-1] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] -16-02-2020 17:09:43.353 [http-nio-9090-exec-5] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] -16-02-2020 17:09:44.449 [http-nio-9090-exec-3] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] -16-02-2020 17:09:54.645 [http-nio-9090-exec-7] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 17:09:54.645 [http-nio-9090-exec-7] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] -16-02-2020 17:09:54.645 [http-nio-9090-exec-7] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 17:09:54.645 [http-nio-9090-exec-7] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] -16-02-2020 17:09:54.646 [http-nio-9090-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: -delete from mix_quantity where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) - at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) - at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) - at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) - at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) - at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) - at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) - at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) - at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:15:59.461 [Thread-45] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:15:59.462 [Thread-45] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:15:59.462 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown initiated... -16-02-2020 17:15:59.463 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown completed. -16-02-2020 17:16:02.047 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15215 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:16:02.049 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:16:02.074 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 17:16:02.075 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 17:16:02.420 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:16:02.463 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 17:16:02.631 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$298066f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:16:02.815 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:16:02.822 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:16:02.828 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:16:02.828 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:16:02.865 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:16:02.865 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 790 ms -16-02-2020 17:16:02.938 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 17:16:02.996 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 17:16:03.016 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ - name: default - ...] -16-02-2020 17:16:03.035 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 17:16:03.036 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 17:16:03.080 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 17:16:03.130 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:16:03.187 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext.refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixQuantities -16-02-2020 17:16:03.188 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 17:16:03.404 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 17:16:03.405 [restartedMain] INFO o.a.catalina.core.StandardService.log - Stopping service [Tomcat] -16-02-2020 17:16:03.413 [restartedMain] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener.logMessage - +24-02-2020 09:57:47.489 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 09:57:49.196 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:57:49.762 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 09:57:50.791 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext.refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xlsService' defined in file [/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes/dev/fyloz/trial/colorrecipesexplorer/core/services/files/XlsService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'recipeService' defined in file [/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes/dev/fyloz/trial/colorrecipesexplorer/core/services/model/RecipeService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mixService' defined in file [/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixService.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} +24-02-2020 09:57:50.798 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:57:50.800 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... +24-02-2020 09:57:51.056 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. +24-02-2020 09:57:51.059 [restartedMain] INFO o.a.catalina.core.StandardService.log - Stopping service [Tomcat] +24-02-2020 09:57:51.094 [restartedMain] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener.logMessage - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -16-02-2020 17:16:03.416 [restartedMain] ERROR o.s.boot.SpringApplication.reportFailure - Application run failed -org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixQuantities - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) - at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) - at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) - at dev.fyloz.trial.colorrecipesexplorer.ColorRecipesExplorerApplication.main(ColorRecipesExplorerApplication.java:32) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) -Caused by: org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixQuantities - at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:484) - at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:2149) - at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:969) - at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:796) - at org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.processEntityHierarchies(AnnotationMetadataSourceProcessorImpl.java:250) - at org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.processEntityHierarchies(MetadataBuildingProcess.java:231) - at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:274) - at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:904) - at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:935) - at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:57) - at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) - at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) - ... 21 common frames omitted -16-02-2020 17:16:32.365 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15339 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:16:32.367 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:16:32.386 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 17:16:32.386 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 17:16:32.724 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:16:32.768 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 17:16:32.940 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b56eddaf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:16:33.125 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:16:33.132 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:16:33.138 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:16:33.138 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:16:33.176 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:16:33.176 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 790 ms -16-02-2020 17:16:33.242 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 17:16:33.314 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 17:16:33.335 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ +24-02-2020 09:57:52.274 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter.report - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 3 of constructor in dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService required a bean of type 'dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService' that could not be found. + + +Action: + +Consider defining a bean of type 'dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService' in your configuration. + +24-02-2020 09:58:20.037 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 24949 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 09:58:20.057 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 09:58:20.364 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 09:58:20.366 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 09:58:22.528 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 09:58:22.781 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 236ms. Found 8 repository interfaces. +24-02-2020 09:58:23.739 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f06d6b5c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 09:58:24.773 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 09:58:24.808 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 09:58:24.835 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 09:58:24.836 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 09:58:25.050 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 09:58:25.051 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4681 ms +24-02-2020 09:58:25.429 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 09:58:25.725 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 09:58:25.853 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 17:16:33.354 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 17:16:33.355 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 17:16:33.401 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 17:16:33.453 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:16:33.847 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:16:33.866 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:16:33.868 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:16:34.085 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:16:34.237 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:16:34.253 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:16:34.310 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:16:34.362 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:16:34.369 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:16:34.371 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.162 seconds (JVM running for 2.633) -16-02-2020 17:16:35.485 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:16:35.486 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:16:35.490 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms -16-02-2020 17:17:17.386 [http-nio-9090-exec-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 17:17:17.386 [http-nio-9090-exec-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: -delete from mix where id=? [23503-199] -16-02-2020 17:17:17.387 [http-nio-9090-exec-1] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 17:17:17.388 [http-nio-9090-exec-1] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] -16-02-2020 17:17:17.393 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: -delete from mix where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: -delete from mix where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) - at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) - at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) - at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) - at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) - at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) - at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) - at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) - at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy106.delete(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.delete(GenericService.java:72) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.deleteMix(MixService.java:130) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$55d700.deleteMix() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.deleteMix(MixEditorController.java:130) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:18:36.974 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:18:36.976 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:18:36.978 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 17:18:36.980 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 17:18:39.753 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15555 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:18:39.754 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:18:39.779 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 17:18:39.779 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 17:18:40.131 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:18:40.176 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 42ms. Found 8 repository interfaces. -16-02-2020 17:18:40.347 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ad7eb256] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:18:40.531 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:18:40.539 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:18:40.544 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:18:40.545 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:18:40.582 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:18:40.582 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 802 ms -16-02-2020 17:18:40.648 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 17:18:40.706 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 17:18:40.726 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ +24-02-2020 09:58:25.958 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 09:58:25.962 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 09:58:26.233 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 09:58:26.550 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 09:58:28.756 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 09:58:28.859 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 09:58:30.299 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 09:58:30.866 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 09:58:30.940 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 09:58:31.248 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 09:58:31.588 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 09:58:31.625 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 09:58:31.637 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 13.46 seconds (JVM running for 19.469) +24-02-2020 09:58:31.699 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 09:59:11.596 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 09:59:11.599 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 09:59:11.614 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 14 ms +24-02-2020 10:15:33.109 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool.run - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=15m37s258ms992µs952ns). +24-02-2020 10:15:33.171 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:15:33.172 [http-nio-9090-exec-9] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 90121, SQLState: 90121 +24-02-2020 10:15:33.176 [http-nio-9090-exec-9] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199] +24-02-2020 10:15:33.190 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:15:33.202 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:15:33.227 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:15:50.499 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 25962 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:15:50.519 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:15:50.839 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:15:50.840 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:15:53.296 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:15:53.493 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 184ms. Found 8 repository interfaces. +24-02-2020 10:15:54.443 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$cd119c7d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:15:55.256 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:15:55.286 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:15:55.311 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:15:55.312 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:15:55.483 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:15:55.484 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4643 ms +24-02-2020 10:15:55.794 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:15:56.056 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:15:56.138 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 17:18:40.746 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 17:18:40.746 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 17:18:40.792 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 17:18:40.854 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:18:41.237 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:18:41.256 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:18:41.257 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:18:41.476 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:18:41.629 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:18:41.645 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:18:41.701 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:18:41.754 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:18:41.761 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:18:41.763 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.16 seconds (JVM running for 2.611) -16-02-2020 17:18:42.287 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:18:42.287 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:18:42.291 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms -16-02-2020 17:19:45.303 [http-nio-9090-exec-7] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 -16-02-2020 17:19:45.303 [http-nio-9090-exec-7] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: -delete from mix where id=? [23503-199] -16-02-2020 17:19:45.304 [http-nio-9090-exec-7] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements -16-02-2020 17:19:45.305 [http-nio-9090-exec-7] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] -16-02-2020 17:19:45.311 [http-nio-9090-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: -delete from mix where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: -delete from mix where id=? [23503-199] - at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) - at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) - at org.h2.message.DbException.get(DbException.java:205) - at org.h2.message.DbException.get(DbException.java:181) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) - at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) - at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) - at org.h2.table.Table.fireConstraints(Table.java:1020) - at org.h2.table.Table.fireAfterRow(Table.java:1038) - at org.h2.command.dml.Delete.update(Delete.java:129) - at org.h2.command.CommandContainer.update(CommandContainer.java:133) - at org.h2.command.Command.executeUpdate(Command.java:267) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) - at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) - at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) - at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) - at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) - at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) - at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) - at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) - at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) - at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) - at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) - at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) - at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) - at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy106.delete(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.delete(GenericService.java:72) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.deleteMix(MixService.java:130) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$8a616de2.deleteMix() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.deleteMix(MixEditorController.java:130) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:20:04.493 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:20:04.495 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:20:04.496 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 17:20:04.498 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. -16-02-2020 17:20:15.173 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15804 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) -16-02-2020 17:20:15.181 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default -16-02-2020 17:20:15.200 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -16-02-2020 17:20:15.201 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -16-02-2020 17:20:15.546 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. -16-02-2020 17:20:15.590 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. -16-02-2020 17:20:15.762 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$43430b91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -16-02-2020 17:20:15.946 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) -16-02-2020 17:20:15.953 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] -16-02-2020 17:20:15.959 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] -16-02-2020 17:20:15.959 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] -16-02-2020 17:20:15.998 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext -16-02-2020 17:20:15.998 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 797 ms -16-02-2020 17:20:16.065 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... -16-02-2020 17:20:16.120 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. -16-02-2020 17:20:16.141 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ +24-02-2020 10:15:56.224 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:15:56.227 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:15:56.478 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:15:56.700 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:15:58.451 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:15:58.541 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:15:59.772 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:16:00.119 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:16:00.187 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:16:00.481 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:16:00.707 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:16:00.738 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:16:00.748 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 12.053 seconds (JVM running for 16.888) +24-02-2020 10:16:00.796 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:16:11.001 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:16:11.006 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:16:11.025 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 17 ms +24-02-2020 10:17:17.398 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:17:17.406 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:17:17.414 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:17:17.429 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:17:25.462 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 26238 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:17:25.475 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:17:25.678 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:17:25.680 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:17:27.756 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:17:27.986 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 214ms. Found 8 repository interfaces. +24-02-2020 10:17:28.763 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$edfb6e70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:17:29.587 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:17:29.616 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:17:29.639 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:17:29.640 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:17:29.799 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:17:29.800 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4119 ms +24-02-2020 10:17:30.079 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:17:30.358 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:17:30.445 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ name: default ...] -16-02-2020 17:20:16.161 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} -16-02-2020 17:20:16.161 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found -16-02-2020 17:20:16.207 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} -16-02-2020 17:20:16.259 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect -16-02-2020 17:20:16.624 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:20:16.643 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 -16-02-2020 17:20:16.645 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords -16-02-2020 17:20:16.864 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory -16-02-2020 17:20:17.022 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' -16-02-2020 17:20:17.038 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -16-02-2020 17:20:17.095 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index -16-02-2020 17:20:17.148 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] -16-02-2020 17:20:17.156 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' -16-02-2020 17:20:17.158 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.143 seconds (JVM running for 2.603) -16-02-2020 17:20:17.550 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' -16-02-2020 17:20:17.551 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' -16-02-2020 17:20:17.555 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms -16-02-2020 17:21:19.525 [http-nio-9090-exec-6] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-6] Exception processing template "materialType/edit": An error happened during template parsing (template: "class path resource [templates/materialType/edit.html]") -org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/materialType/edit.html]") - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "materialType.materialTypeName" (template: "materialType/edit" - line 5, col 13) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - ... 52 common frames omitted -Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "materialType.materialTypeName" (template: "materialType/edit" - line 5, col 13) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) - at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpressionParameters(FragmentExpression.java:529) - at org.thymeleaf.standard.expression.FragmentExpression.doCreateExecutedFragmentExpression(FragmentExpression.java:471) - at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpression(FragmentExpression.java:426) - at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.computeFragment(AbstractStandardFragmentInsertionTagProcessor.java:359) - at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:110) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) - at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) - at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) - at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) - at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - ... 54 common frames omitted -Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeName' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? - at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) - at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) - at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) - at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) - at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - ... 81 common frames omitted -16-02-2020 17:21:19.527 [http-nio-9090-exec-6] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/materialType/edit.html]")] with root cause -org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeName' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? - at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) - at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) - at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) - at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) - at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) - at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) - at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) - at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256) - at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) - at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) - at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpressionParameters(FragmentExpression.java:529) - at org.thymeleaf.standard.expression.FragmentExpression.doCreateExecutedFragmentExpression(FragmentExpression.java:471) - at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpression(FragmentExpression.java:426) - at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.computeFragment(AbstractStandardFragmentInsertionTagProcessor.java:359) - at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:110) - at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) - at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) - at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) - at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) - at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) - at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) - at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) - at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) - at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) - at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) - at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) - at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) - at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) - at org.attoparser.MarkupParser.parse(MarkupParser.java:257) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) - at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) - at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) - at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) - at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) - at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) - at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) - at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:24:51.269 [http-nio-9090-exec-7] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 -16-02-2020 17:24:51.269 [http-nio-9090-exec-7] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 4"; SQL statement: -insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] -16-02-2020 17:24:51.275 [http-nio-9090-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 4"; SQL statement: -insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 4"; SQL statement: -insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] +24-02-2020 10:17:30.533 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:17:30.536 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:17:30.780 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:17:30.995 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:17:32.729 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:17:32.810 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:17:34.041 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:17:34.424 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:17:34.493 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:17:34.734 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:17:34.981 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:17:35.012 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:17:35.021 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.839 seconds (JVM running for 13.748) +24-02-2020 10:17:35.159 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:17:42.532 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:17:42.536 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:17:42.554 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 17 ms +24-02-2020 10:31:42.522 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:31:42.530 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:31:42.539 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:31:42.554 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:31:55.179 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 26975 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:31:55.207 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:31:55.509 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:31:55.511 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:31:59.228 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:31:59.455 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 214ms. Found 8 repository interfaces. +24-02-2020 10:32:00.301 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$bd62ecfd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:32:01.186 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:32:01.215 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:32:01.237 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:32:01.238 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:32:01.426 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:32:01.427 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 5911 ms +24-02-2020 10:32:01.703 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:32:01.969 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:32:02.048 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 10:32:02.128 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:32:02.131 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:32:02.377 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:32:02.606 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:32:04.611 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:32:04.691 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:32:06.032 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:32:06.611 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:32:06.703 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:32:06.959 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:32:07.179 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:32:07.214 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:32:07.223 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 13.386 seconds (JVM running for 16.461) +24-02-2020 10:32:07.327 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:32:09.415 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:32:09.417 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:32:09.435 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 17 ms +24-02-2020 10:40:23.001 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:40:23.008 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:40:23.018 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:40:23.027 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:40:34.891 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 27350 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:40:34.908 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:40:35.141 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:40:35.143 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:40:37.025 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:40:37.236 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 198ms. Found 8 repository interfaces. +24-02-2020 10:40:38.055 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$7f888398] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:40:38.895 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:40:38.925 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:40:38.944 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:40:38.945 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:40:39.114 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:40:39.114 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3969 ms +24-02-2020 10:40:39.402 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:40:39.637 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:40:39.715 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 10:40:39.796 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:40:39.799 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:40:40.054 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:40:40.272 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:40:41.963 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:40:42.090 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:40:43.291 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:40:43.678 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:40:43.745 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:40:43.983 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:40:44.258 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:40:44.288 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:40:44.298 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.664 seconds (JVM running for 14.049) +24-02-2020 10:40:44.344 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:42:11.255 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:42:11.257 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:42:11.275 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 17 ms +24-02-2020 10:42:20.991 [http-nio-9090-exec-4] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 10:42:20.993 [http-nio-9090-exec-4] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 10:42:21.024 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) at org.h2.message.DbException.get(DbException.java:205) @@ -3783,8 +695,8 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) - at org.h2.command.dml.Insert.insertRows(Insert.java:180) - at org.h2.command.dml.Insert.update(Insert.java:132) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) at org.h2.command.CommandContainer.update(CommandContainer.java:133) at org.h2.command.Command.executeUpdate(Command.java:267) at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) @@ -3792,9 +704,10 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3174) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3688) - at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:90) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) @@ -3803,17 +716,13 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) - at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.hibernate.query.Query.getResultList(Query.java:132) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:74) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$ExistsExecution.doExecute(JpaQueryExecution.java:309) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) @@ -3831,12 +740,19 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy106.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.create(MixService.java:85) + at com.sun.proxy.$Proxy100.existsByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.existsByName(MaterialService.java:63) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$824c6027.existsByName() + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService.update(MixTypeService.java:75) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$FastClassBySpringCGLIB$$2d477517.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$EnhancerBySpringCGLIB$$7e958d4a.update() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.withDto(MixBuilder.java:45) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:95) at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) @@ -3845,12 +761,12 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$6e92959.create() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:105) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$eb5c9d58.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:65) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) @@ -3900,14 +816,53 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:30:39.940 [http-nio-9090-exec-3] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 -16-02-2020 17:30:39.940 [http-nio-9090-exec-3] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 26"; SQL statement: -insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] -16-02-2020 17:30:39.941 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 26"; SQL statement: -insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause -org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 26"; SQL statement: -insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 10:43:03.207 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:43:03.216 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:43:03.227 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:43:03.239 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:43:14.425 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 27561 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:43:14.439 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:43:14.707 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:43:14.709 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:43:16.646 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:43:16.864 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 204ms. Found 8 repository interfaces. +24-02-2020 10:43:17.685 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f27ba60d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:43:18.485 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:43:18.514 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:43:18.537 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:43:18.538 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:43:18.722 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:43:18.722 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4011 ms +24-02-2020 10:43:18.997 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:43:19.269 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:43:19.352 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 10:43:19.435 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:43:19.438 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:43:19.657 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:43:19.911 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:43:21.650 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:43:21.725 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:43:22.937 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:43:23.334 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:43:23.405 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:43:23.650 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:43:23.879 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:43:23.967 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:43:23.975 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.808 seconds (JVM running for 13.882) +24-02-2020 10:43:24.045 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:43:46.107 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:43:46.109 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:43:46.135 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 25 ms +24-02-2020 10:43:46.467 [http-nio-9090-exec-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 10:43:46.468 [http-nio-9090-exec-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 10:43:46.501 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) at org.h2.message.DbException.get(DbException.java:205) @@ -3916,8 +871,8 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) - at org.h2.command.dml.Insert.insertRows(Insert.java:180) - at org.h2.command.dml.Insert.update(Insert.java:132) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) at org.h2.command.CommandContainer.update(CommandContainer.java:133) at org.h2.command.Command.executeUpdate(Command.java:267) at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) @@ -3925,9 +880,10 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3174) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3688) - at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:90) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) @@ -3936,17 +892,13 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) - at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.hibernate.query.Query.getResultList(Query.java:132) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:74) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$ExistsExecution.doExecute(JpaQueryExecution.java:309) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) @@ -3964,12 +916,19 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy106.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.create(MixService.java:85) + at com.sun.proxy.$Proxy100.existsByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.existsByName(MaterialService.java:63) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$93779afc.existsByName() + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService.update(MixTypeService.java:75) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$FastClassBySpringCGLIB$$2d477517.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$EnhancerBySpringCGLIB$$8fc0c81f.update() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.withDto(MixBuilder.java:45) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:95) at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) @@ -3978,12 +937,12 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$6e92959.create() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:105) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$fc87d82d.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) @@ -4033,11 +992,1558 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:31:04.519 [http-nio-9090-exec-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 -16-02-2020 17:31:04.520 [http-nio-9090-exec-5] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 10:43:57.039 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:43:57.068 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:43:57.096 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:43:57.125 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:44:09.149 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 27795 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:44:09.159 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:44:09.375 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:44:09.376 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:44:11.255 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:44:11.451 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 182ms. Found 8 repository interfaces. +24-02-2020 10:44:12.279 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b622e333] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:44:13.014 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:44:13.043 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:44:13.063 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:44:13.064 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:44:13.234 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:44:13.235 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3855 ms +24-02-2020 10:44:13.503 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:44:13.747 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:44:13.854 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 10:44:13.930 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:44:13.933 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:44:14.154 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:44:14.396 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:44:16.097 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:44:16.180 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:44:17.328 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:44:17.697 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:44:17.765 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:44:18.019 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:44:18.300 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:44:18.327 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:44:18.336 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.772 seconds (JVM running for 16.742) +24-02-2020 10:44:18.381 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:44:26.940 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:44:26.941 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:44:26.955 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 14 ms +24-02-2020 10:44:27.627 [http-nio-9090-exec-2] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 10:44:27.632 [http-nio-9090-exec-2] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 10:44:27.662 [http-nio-9090-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.Query.getResultList(Query.java:132) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:74) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$ExistsExecution.doExecute(JpaQueryExecution.java:309) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.existsByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.existsByName(MaterialService.java:63) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$9b01974f.existsByName() + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService.update(MixTypeService.java:75) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$FastClassBySpringCGLIB$$2d477517.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$EnhancerBySpringCGLIB$$974ac472.update() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.withDto(MixBuilder.java:45) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$411d480.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 10:47:27.963 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 10:47:27.972 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:47:27.979 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 10:47:27.994 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 10:47:38.851 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 27993 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 10:47:38.865 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 10:47:39.068 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 10:47:39.072 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 10:47:40.963 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 10:47:41.152 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 174ms. Found 8 repository interfaces. +24-02-2020 10:47:41.971 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$aef902e0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 10:47:42.757 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 10:47:42.789 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 10:47:42.812 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 10:47:42.813 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 10:47:42.985 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 10:47:42.986 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3910 ms +24-02-2020 10:47:43.262 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 10:47:43.506 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 10:47:43.611 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 10:47:43.695 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 10:47:43.698 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 10:47:43.921 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 10:47:44.174 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 10:47:45.861 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 10:47:45.937 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 10:47:47.155 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 10:47:47.548 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 10:47:47.620 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 10:47:47.870 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 10:47:48.169 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 10:47:48.200 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 10:47:48.208 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.58 seconds (JVM running for 13.417) +24-02-2020 10:47:48.258 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 10:48:03.896 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 10:48:03.898 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 10:48:03.931 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 32 ms +24-02-2020 10:48:17.555 [http-nio-9090-exec-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 10:48:17.557 [http-nio-9090-exec-5] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 10:48:17.595 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.Query.getResultList(Query.java:132) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:74) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$ExistsExecution.doExecute(JpaQueryExecution.java:309) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.existsByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.existsByName(MaterialService.java:63) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$2bf4b5db.existsByName() + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService.update(MixTypeService.java:75) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$FastClassBySpringCGLIB$$2d477517.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$EnhancerBySpringCGLIB$$283de2fe.update() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.withDto(MixBuilder.java:45) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$9504f30c.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 12:53:28.461 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 12:53:28.469 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 12:53:28.487 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 12:53:28.497 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:01:34.080 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 5377 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:01:34.100 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:01:34.319 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:01:34.320 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:01:36.256 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:01:36.481 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 196ms. Found 8 repository interfaces. +24-02-2020 13:01:37.273 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$4aeefed4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:01:38.052 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:01:38.084 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:01:38.108 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:01:38.109 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:01:38.296 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:01:38.296 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3975 ms +24-02-2020 13:01:38.587 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:01:38.837 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:01:38.953 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:01:39.044 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:01:39.046 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:01:39.276 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:01:39.531 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:01:41.160 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:01:41.238 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:01:42.427 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:01:42.820 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:01:42.891 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:01:43.134 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:01:43.345 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:01:43.517 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:01:43.525 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.593 seconds (JVM running for 13.951) +24-02-2020 13:01:43.572 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:02:41.492 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:02:41.498 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:02:41.510 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:02:41.529 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:02:48.021 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 5492 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:02:48.043 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:02:48.197 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:02:48.198 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:02:50.100 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:02:50.280 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 167ms. Found 8 repository interfaces. +24-02-2020 13:02:51.074 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$4f074820] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:02:51.822 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:02:51.852 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:02:51.878 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:02:51.879 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:02:52.053 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:02:52.054 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3855 ms +24-02-2020 13:02:52.321 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:02:52.578 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:02:52.655 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:02:52.737 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:02:52.740 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:02:52.973 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:02:53.198 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:02:54.854 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:02:54.933 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:02:56.043 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:02:56.417 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:02:56.482 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:02:56.711 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:02:56.972 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:02:57.005 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:02:57.013 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.077 seconds (JVM running for 14.263) +24-02-2020 13:02:57.060 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:03:44.755 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:03:44.757 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:03:44.846 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 89 ms +24-02-2020 13:04:03.738 [http-nio-9090-exec-6] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:04:03.739 [http-nio-9090-exec-6] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 13:04:03.775 [http-nio-9090-exec-6] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy105.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:41) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:77) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService.update(MixTypeService.java:73) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$FastClassBySpringCGLIB$$2d477517.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$EnhancerBySpringCGLIB$$a247e2bf.update() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.withDto(MixBuilder.java:46) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:98) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$f0ef2cd.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 13:04:51.787 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:04:51.795 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:04:51.805 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:04:51.825 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:05:02.706 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 5702 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:05:02.717 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:05:02.936 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:05:02.937 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:05:04.821 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:05:05.005 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 170ms. Found 8 repository interfaces. +24-02-2020 13:05:05.746 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e434198c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:05:06.516 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:05:06.544 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:05:06.568 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:05:06.569 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:05:06.729 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:05:06.731 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3793 ms +24-02-2020 13:05:06.990 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:05:07.251 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:05:07.336 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:05:07.412 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:05:07.415 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:05:07.620 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:05:07.867 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:05:09.485 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:05:09.557 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:05:10.711 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:05:11.104 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:05:11.171 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:05:11.417 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:05:11.634 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:05:11.676 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:05:11.685 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.041 seconds (JVM running for 13.091) +24-02-2020 13:05:11.806 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:06:19.714 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:06:19.716 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:06:19.731 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 14 ms +24-02-2020 13:06:20.045 [http-nio-9090-exec-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:06:20.046 [http-nio-9090-exec-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 13:06:20.150 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$da01708a.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:101) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:88) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:99) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$4311adbb.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 13:10:24.843 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:10:24.850 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:10:24.858 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:10:24.867 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:10:36.578 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 6114 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:10:36.589 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:10:36.760 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:10:36.763 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:10:38.884 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:10:39.085 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 186ms. Found 8 repository interfaces. +24-02-2020 13:10:39.884 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8d692f5a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:10:40.608 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:10:40.636 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:10:40.658 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:10:40.659 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:10:40.845 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:10:40.846 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4081 ms +24-02-2020 13:10:41.106 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:10:41.366 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:10:41.446 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:10:41.524 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:10:41.527 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:10:41.728 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:10:41.964 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:10:43.548 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:10:43.628 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:10:44.694 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:10:45.063 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:10:45.126 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:10:45.347 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:10:45.562 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:10:45.593 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:10:45.601 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.291 seconds (JVM running for 13.575) +24-02-2020 13:10:45.646 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:10:53.115 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:10:53.117 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:10:53.131 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 13 ms +24-02-2020 13:11:38.729 [http-nio-9090-exec-4] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:11:38.730 [http-nio-9090-exec-4] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 13:11:38.766 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$1d431e1c.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:101) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:88) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:99) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$86535b4d.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 13:13:19.032 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:13:19.040 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:13:19.049 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:13:19.061 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:13:26.846 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 6370 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:13:26.856 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:13:27.062 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:13:27.063 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:13:28.925 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:13:29.117 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 179ms. Found 8 repository interfaces. +24-02-2020 13:13:29.916 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$aa888923] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:13:30.650 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:13:30.680 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:13:30.707 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:13:30.709 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:13:30.862 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:13:30.863 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3799 ms +24-02-2020 13:13:31.129 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:13:31.387 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:13:31.464 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:13:31.541 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:13:31.545 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:13:31.781 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:13:31.987 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:13:33.666 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:13:33.800 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:13:35.201 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:13:35.625 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:13:35.698 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:13:35.988 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:13:36.353 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:13:36.382 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:13:36.390 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.479 seconds (JVM running for 13.761) +24-02-2020 13:13:36.439 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:13:48.970 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:13:48.971 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:13:48.986 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 14 ms +24-02-2020 13:13:49.404 [http-nio-9090-exec-2] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:13:49.405 [http-nio-9090-exec-2] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 13:13:49.436 [http-nio-9090-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$fe7f01a0.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:101) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:88) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:99) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$678f3ed1.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 13:14:08.020 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:14:08.089 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:14:08.195 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:14:08.238 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:30:13.844 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 10470 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:30:13.852 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:30:14.013 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:30:14.016 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:30:15.772 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:30:15.954 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 168ms. Found 8 repository interfaces. +24-02-2020 13:30:16.751 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$7c9bdcd5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:30:17.540 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:30:17.571 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:30:17.592 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:30:17.593 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:30:17.751 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:30:17.752 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3733 ms +24-02-2020 13:30:18.056 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:30:18.352 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:30:18.434 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:30:18.523 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:30:18.526 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:30:18.789 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:30:19.042 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:30:20.678 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:30:20.758 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:30:22.149 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:30:22.734 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:30:22.851 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:30:23.195 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:30:23.488 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:30:23.535 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:30:23.558 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.431 seconds (JVM running for 16.33) +24-02-2020 13:30:23.689 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:31:06.705 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:31:06.707 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:31:06.727 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 19 ms +24-02-2020 13:32:33.271 [http-nio-9090-exec-3] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:32:33.272 [http-nio-9090-exec-3] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 13:32:33.308 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$d3830239.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:101) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:88) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:99) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$3c933f6a.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 13:34:08.114 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:34:08.125 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:34:08.134 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:34:08.157 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:34:23.743 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 12184 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:34:23.765 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:34:23.997 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:34:23.998 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:34:26.070 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:34:26.249 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 165ms. Found 8 repository interfaces. +24-02-2020 13:34:27.073 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$aa577069] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:34:27.888 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:34:27.918 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:34:27.939 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:34:27.939 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:34:28.119 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:34:28.120 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4120 ms +24-02-2020 13:34:28.415 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:34:28.715 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:34:28.843 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:34:28.961 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:34:28.964 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:34:29.247 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:34:29.551 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:34:31.359 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:34:31.436 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:34:32.874 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:34:33.324 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:34:33.401 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:34:33.702 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:34:34.077 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:34:34.129 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:34:34.144 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 11.583 seconds (JVM running for 16.288) +24-02-2020 13:34:34.398 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:34:42.298 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:34:42.299 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:34:42.316 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 16 ms +24-02-2020 13:35:52.121 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool.run - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m23s305ms373µs813ns). +24-02-2020 13:35:52.159 [http-nio-9090-exec-3] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] +24-02-2020 13:41:44.719 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:41:44.727 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:41:44.737 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:41:44.965 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:41:45.628 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 12184 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:41:45.632 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:41:46.782 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:41:47.184 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 400ms. Found 8 repository interfaces. +24-02-2020 13:41:47.644 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$aa577069] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:41:48.027 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:41:48.045 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:41:48.052 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:41:48.055 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:41:48.114 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:41:48.115 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 2472 ms +24-02-2020 13:41:48.472 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... +24-02-2020 13:41:48.750 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. +24-02-2020 13:41:48.780 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:41:48.889 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:41:50.045 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:41:50.088 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:41:50.510 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext.refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xlsService' defined in file [/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes/dev/fyloz/trial/colorrecipesexplorer/core/services/files/XlsService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'recipeService' defined in file [/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes/dev/fyloz/trial/colorrecipesexplorer/core/services/model/RecipeService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} +24-02-2020 13:41:50.511 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:41:50.513 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... +24-02-2020 13:41:50.740 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. +24-02-2020 13:41:50.744 [restartedMain] INFO o.a.catalina.core.StandardService.log - Stopping service [Tomcat] +24-02-2020 13:41:50.769 [restartedMain] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener.logMessage - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +24-02-2020 13:41:51.275 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter.report - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 2 of constructor in dev.fyloz.trial.colorrecipesexplorer.core.services.model.RecipeService required a bean of type 'dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService' that could not be found. + + +Action: + +Consider defining a bean of type 'dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService' in your configuration. + +24-02-2020 13:42:19.606 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 12764 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:42:19.658 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:42:19.852 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:42:19.854 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:42:21.845 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:42:22.021 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 161ms. Found 8 repository interfaces. +24-02-2020 13:42:22.773 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d430cf24] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:42:23.598 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:42:23.626 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:42:23.647 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:42:23.648 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:42:23.797 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:42:23.798 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3942 ms +24-02-2020 13:42:24.063 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:42:24.318 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:42:24.399 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:42:24.477 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:42:24.481 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:42:24.716 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:42:24.949 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:42:26.534 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:42:26.606 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:42:27.650 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:42:28.014 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:42:28.080 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:42:28.318 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:42:28.593 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:42:28.623 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:42:28.632 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.131 seconds (JVM running for 14.534) +24-02-2020 13:42:28.682 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:42:38.334 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:42:38.335 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:42:38.350 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 14 ms +24-02-2020 13:43:23.666 [http-nio-9090-exec-4] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:43:23.667 [http-nio-9090-exec-4] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] -16-02-2020 17:31:04.521 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: +24-02-2020 13:43:23.698 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.command.dml.Insert.insertRows(Insert.java:180) + at org.h2.command.dml.Insert.update(Insert.java:132) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3174) + at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3688) + at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:90) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$832bebc4.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:101) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:88) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.save(MixService.java:83) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$ec3c28f5.save() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:69) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 13:46:09.038 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 13:46:09.044 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:46:09.051 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 13:46:09.064 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 13:46:21.313 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 13027 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 13:46:21.323 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 13:46:21.466 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 13:46:21.467 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 13:46:23.146 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 13:46:23.342 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 181ms. Found 8 repository interfaces. +24-02-2020 13:46:24.098 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f129bdac] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 13:46:24.873 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 13:46:24.906 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 13:46:24.926 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 13:46:24.926 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 13:46:25.095 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 13:46:25.096 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3628 ms +24-02-2020 13:46:25.368 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 13:46:25.611 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 13:46:25.717 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 13:46:25.797 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 13:46:25.800 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 13:46:26.010 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 13:46:26.233 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 13:46:27.904 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 13:46:27.976 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 13:46:29.107 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 13:46:29.491 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 13:46:29.556 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 13:46:29.811 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 13:46:30.079 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 13:46:30.109 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 13:46:30.118 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 9.878 seconds (JVM running for 13.482) +24-02-2020 13:46:30.165 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 13:46:46.026 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 13:46:46.027 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 13:46:46.042 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 14 ms +24-02-2020 13:47:14.351 [http-nio-9090-exec-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 13:47:14.353 [http-nio-9090-exec-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] +24-02-2020 13:47:14.360 [http-nio-9090-exec-1] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] +24-02-2020 13:47:14.386 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] @@ -4064,27 +2570,21 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) - at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) - at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) - at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) - at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) - at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) - at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) - at jdk.internal.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) + at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) + at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) + at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) + at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) + at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) + at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) + at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) + at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) @@ -4096,26 +2596,24 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy106.existsById(Unknown Source) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) - at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.create(MixService.java:85) + at com.sun.proxy.$Proxy105.save(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.save(GenericService.java:62) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService.save(MixTypeService.java:67) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$FastClassBySpringCGLIB$$2d477517.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService$$EnhancerBySpringCGLIB$$e829b654.save() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.withDto(MixBuilder.java:41) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.save(MixService.java:81) at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) - at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$6e92959.create() - at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:105) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$54f0c662.save() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:69) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) @@ -4165,8 +2663,725 @@ insert into material (inventory_quantity, is_mix_type, material_type_id, name, i at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:834) -16-02-2020 17:31:43.282 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' -16-02-2020 17:31:43.284 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' -16-02-2020 17:31:43.286 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... -16-02-2020 17:31:43.288 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 14:10:13.850 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 14:10:13.856 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 14:10:13.864 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 14:10:13.877 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 14:10:25.333 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 14865 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 14:10:25.349 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 14:10:25.519 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 14:10:25.521 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 14:10:27.350 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 14:10:27.547 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 184ms. Found 8 repository interfaces. +24-02-2020 14:10:28.308 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$aa08e50] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 14:10:29.072 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 14:10:29.102 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 14:10:29.123 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 14:10:29.123 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 14:10:29.303 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 14:10:29.304 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3781 ms +24-02-2020 14:10:29.588 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 14:10:29.842 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 14:10:29.942 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 14:10:30.050 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 14:10:30.053 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 14:10:30.257 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 14:10:30.480 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 14:10:32.137 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 14:10:32.212 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 14:10:33.332 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 14:10:33.720 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 14:10:33.786 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 14:10:34.036 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 14:10:34.303 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 14:10:34.334 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 14:10:34.342 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.18 seconds (JVM running for 13.747) +24-02-2020 14:10:34.387 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 14:13:30.030 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 14:13:30.032 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 14:13:30.050 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 17 ms +24-02-2020 14:15:50.172 [http-nio-9090-exec-4] WARN o.h.a.i.UnresolvedEntityInsertActions.logCannotResolveNonNullableTransientDependencies - HHH000437: Attempting to save one or more entities that have a non-nullable association with an unsaved transient entity. The unsaved transient entity must be saved in an operation prior to saving these dependent entities. + Unsaved transient entity: ([dev.fyloz.trial.colorrecipesexplorer.core.model.MixType#]) + Dependent entities: ([[dev.fyloz.trial.colorrecipesexplorer.core.model.Mix#194]]) + Non-nullable association(s): ([dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixType]) +24-02-2020 14:15:50.173 [http-nio-9090-exec-4] WARN o.h.a.i.UnresolvedEntityInsertActions.logCannotResolveNonNullableTransientDependencies - HHH000437: Attempting to save one or more entities that have a non-nullable association with an unsaved transient entity. The unsaved transient entity must be saved in an operation prior to saving these dependent entities. + Unsaved transient entity: ([dev.fyloz.trial.colorrecipesexplorer.core.model.Mix#194]) + Dependent entities: ([[dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity#195]]) + Non-nullable association(s): ([dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix]) +24-02-2020 14:15:50.201 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix -> dev.fyloz.trial.colorrecipesexplorer.core.model.Mix; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix -> dev.fyloz.trial.colorrecipesexplorer.core.model.Mix] with root cause +org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix -> dev.fyloz.trial.colorrecipesexplorer.core.model.Mix + at org.hibernate.action.internal.UnresolvedEntityInsertActions.checkNoUnresolvedActionsAfterOperation(UnresolvedEntityInsertActions.java:122) + at org.hibernate.engine.spi.ActionQueue.checkNoUnresolvedActionsAfterOperation(ActionQueue.java:436) + at org.hibernate.internal.SessionImpl.checkNoUnresolvedActionsAfterOperation(SessionImpl.java:647) + at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:810) + at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:784) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:350) + at com.sun.proxy.$Proxy96.persist(Unknown Source) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:308) + at com.sun.proxy.$Proxy96.persist(Unknown Source) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:489) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy104.save(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.save(GenericService.java:62) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.save(MixService.java:90) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$aa4c95af.save() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:69) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 14:16:23.507 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 14:16:23.515 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 14:16:23.523 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 14:16:23.533 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 14:16:34.979 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 15280 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 14:16:34.995 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 14:16:35.249 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 14:16:35.251 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 14:16:37.392 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 14:16:37.652 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 243ms. Found 8 repository interfaces. +24-02-2020 14:16:38.406 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f332c010] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 14:16:39.268 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 14:16:39.300 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 14:16:39.325 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 14:16:39.326 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 14:16:39.514 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 14:16:39.515 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 4263 ms +24-02-2020 14:16:39.800 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 14:16:40.082 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 14:16:40.166 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 14:16:40.250 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 14:16:40.253 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 14:16:40.659 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 14:16:40.897 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 14:16:42.663 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 14:16:42.739 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 14:16:44.064 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 14:16:44.474 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 14:16:44.548 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 14:16:44.798 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 14:16:45.084 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 14:16:45.138 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 14:16:45.149 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 11.157 seconds (JVM running for 14.599) +24-02-2020 14:16:45.220 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 14:16:45.263 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 14:16:45.267 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 14:16:45.312 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 43 ms +24-02-2020 14:16:45.783 [http-nio-9090-exec-1] WARN o.h.a.i.UnresolvedEntityInsertActions.logCannotResolveNonNullableTransientDependencies - HHH000437: Attempting to save one or more entities that have a non-nullable association with an unsaved transient entity. The unsaved transient entity must be saved in an operation prior to saving these dependent entities. + Unsaved transient entity: ([dev.fyloz.trial.colorrecipesexplorer.core.model.MixType#]) + Dependent entities: ([[dev.fyloz.trial.colorrecipesexplorer.core.model.Mix#196]]) + Non-nullable association(s): ([dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixType]) +24-02-2020 14:16:45.787 [http-nio-9090-exec-1] WARN o.h.a.i.UnresolvedEntityInsertActions.logCannotResolveNonNullableTransientDependencies - HHH000437: Attempting to save one or more entities that have a non-nullable association with an unsaved transient entity. The unsaved transient entity must be saved in an operation prior to saving these dependent entities. + Unsaved transient entity: ([dev.fyloz.trial.colorrecipesexplorer.core.model.Mix#196]) + Dependent entities: ([[dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity#197]]) + Non-nullable association(s): ([dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix]) +24-02-2020 14:16:45.867 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix -> dev.fyloz.trial.colorrecipesexplorer.core.model.Mix; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix -> dev.fyloz.trial.colorrecipesexplorer.core.model.Mix] with root cause +org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : dev.fyloz.trial.colorrecipesexplorer.core.model.MixQuantity.mix -> dev.fyloz.trial.colorrecipesexplorer.core.model.Mix + at org.hibernate.action.internal.UnresolvedEntityInsertActions.checkNoUnresolvedActionsAfterOperation(UnresolvedEntityInsertActions.java:122) + at org.hibernate.engine.spi.ActionQueue.checkNoUnresolvedActionsAfterOperation(ActionQueue.java:436) + at org.hibernate.internal.SessionImpl.checkNoUnresolvedActionsAfterOperation(SessionImpl.java:647) + at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:810) + at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:784) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:350) + at com.sun.proxy.$Proxy96.persist(Unknown Source) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:308) + at com.sun.proxy.$Proxy96.persist(Unknown Source) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:489) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy104.save(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.save(GenericService.java:62) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.save(MixService.java:91) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$f5c179af.save() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:69) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 14:17:14.892 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 14:17:14.898 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 14:17:14.906 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 14:17:14.917 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 14:17:27.338 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 15528 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 14:17:27.352 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 14:17:27.513 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 14:17:27.515 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 14:17:29.367 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 14:17:29.564 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 183ms. Found 8 repository interfaces. +24-02-2020 14:17:30.347 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2212e72a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 14:17:31.139 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 14:17:31.168 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 14:17:31.192 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 14:17:31.194 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 14:17:31.380 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 14:17:31.380 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3864 ms +24-02-2020 14:17:31.671 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 14:17:31.927 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 14:17:32.007 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 14:17:32.089 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 14:17:32.092 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 14:17:32.328 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 14:17:32.550 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 14:17:34.244 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 14:17:34.362 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 14:17:35.566 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 14:17:35.955 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 14:17:36.020 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 14:17:36.270 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 14:17:36.557 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 14:17:36.589 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 14:17:36.597 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.458 seconds (JVM running for 13.891) +24-02-2020 14:17:36.645 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 14:17:53.664 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 14:17:53.665 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 14:17:53.682 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 16 ms +24-02-2020 15:14:07.142 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 15:14:07.160 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 15:14:07.168 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 15:14:07.202 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 15:14:20.140 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 16163 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 15:14:20.152 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 15:14:20.415 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 15:14:20.416 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 15:14:22.346 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 15:14:22.543 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 182ms. Found 8 repository interfaces. +24-02-2020 15:14:23.357 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e8096dcc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 15:14:24.153 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 15:14:24.181 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 15:14:24.202 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 15:14:24.202 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 15:14:24.368 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 15:14:24.369 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3952 ms +24-02-2020 15:14:24.673 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 15:14:24.909 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 15:14:24.990 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 15:14:25.077 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 15:14:25.080 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 15:14:25.330 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 15:14:25.547 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 15:14:27.338 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 15:14:27.435 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 15:14:29.086 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 15:14:29.573 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 15:14:29.640 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 15:14:29.895 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 15:14:30.115 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 15:14:30.198 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 15:14:30.207 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 11.23 seconds (JVM running for 14.648) +24-02-2020 15:14:30.253 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 15:14:31.465 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 15:14:31.467 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 15:14:31.488 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 20 ms +24-02-2020 15:14:42.062 [http-nio-9090-exec-6] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 15:14:42.063 [http-nio-9090-exec-6] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 15:14:42.101 [http-nio-9090-exec-6] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 7"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:109) + at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) + at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) + at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy100.findByName(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService.getByName(MaterialService.java:95) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$FastClassBySpringCGLIB$$7a8fe396.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService$$EnhancerBySpringCGLIB$$2b10624c.getByName() + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.createMixQuantities(MixBuilder.java:102) + at dev.fyloz.trial.colorrecipesexplorer.core.utils.MixBuilder.build(MixBuilder.java:89) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:101) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$94209f7d.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 15:14:56.051 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 15:14:56.058 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 15:14:56.070 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 15:14:56.086 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 15:15:09.517 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 16292 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 15:15:09.533 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 15:15:09.702 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 15:15:09.703 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 15:15:11.576 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 15:15:11.793 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 203ms. Found 8 repository interfaces. +24-02-2020 15:15:12.576 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$51437327] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 15:15:13.349 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 15:15:13.382 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 15:15:13.406 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 15:15:13.407 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 15:15:13.588 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 15:15:13.589 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 3885 ms +24-02-2020 15:15:13.840 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 15:15:14.098 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 15:15:14.175 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 15:15:14.261 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 15:15:14.264 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 15:15:14.515 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 15:15:14.735 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 15:15:16.415 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 15:15:16.494 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 15:15:17.706 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 15:15:18.097 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 15:15:18.168 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 15:15:18.401 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 15:15:18.617 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 15:15:19.008 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 15:15:19.017 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 10.639 seconds (JVM running for 14.496) +24-02-2020 15:15:19.065 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +24-02-2020 15:15:25.598 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-02-2020 15:15:25.599 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +24-02-2020 15:15:25.618 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 18 ms +24-02-2020 15:16:30.678 [http-nio-9090-exec-2] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +24-02-2020 15:16:30.681 [http-nio-9090-exec-2] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 199"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] +24-02-2020 15:16:30.687 [http-nio-9090-exec-2] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] +24-02-2020 15:16:30.715 [http-nio-9090-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 199"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 199"; SQL statement: +update material set inventory_quantity=?, is_mix_type=?, material_type_id=?, name=? where id=? [23505-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:103) + at org.h2.mvstore.db.MVSecondaryIndex.checkUnique(MVSecondaryIndex.java:220) + at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:196) + at org.h2.mvstore.db.MVTable.addRow(MVTable.java:546) + at org.h2.table.Table.updateRows(Table.java:526) + at org.h2.command.dml.Update.update(Update.java:203) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3358) + at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3231) + at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3632) + at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:146) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) + at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) + at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) + at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) + at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) + at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) + at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) + at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) + at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy104.save(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:80) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.update(MixService.java:105) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$a447445b.update() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.updateMix(MixEditorController.java:66) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:567) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:835) +24-02-2020 16:43:26.273 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +24-02-2020 16:43:26.283 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 16:43:26.292 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +24-02-2020 16:43:26.305 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +24-02-2020 16:43:47.451 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on william-Aspire-E5-553G with PID 19706 (/home/william/Dev/Java/Spring/website/color-recipes-explorer/target/classes started by william in /home/william/Dev/Java/Spring/website/color-recipes-explorer) +24-02-2020 16:43:47.478 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +24-02-2020 16:43:48.338 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +24-02-2020 16:43:48.347 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +24-02-2020 16:43:55.335 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +24-02-2020 16:43:56.258 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 893ms. Found 8 repository interfaces. +24-02-2020 16:43:59.286 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8cdcf3a5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +24-02-2020 16:44:01.754 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +24-02-2020 16:44:01.807 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +24-02-2020 16:44:01.849 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +24-02-2020 16:44:01.851 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +24-02-2020 16:44:02.153 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +24-02-2020 16:44:02.154 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 13806 ms +24-02-2020 16:44:02.673 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +24-02-2020 16:44:03.037 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +24-02-2020 16:44:03.168 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +24-02-2020 16:44:03.357 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +24-02-2020 16:44:03.362 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +24-02-2020 16:44:03.748 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +24-02-2020 16:44:04.729 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +24-02-2020 16:44:09.549 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-02-2020 16:44:09.760 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +24-02-2020 16:44:12.130 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.initializePasswords - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/website/color-recipes-explorer/./workdir/passwords.txt +24-02-2020 16:44:12.657 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +24-02-2020 16:44:12.811 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +24-02-2020 16:44:13.488 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +24-02-2020 16:44:13.919 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +24-02-2020 16:44:13.962 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +24-02-2020 16:44:13.975 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 29.226 seconds (JVM running for 34.654) +24-02-2020 16:44:14.029 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/io/response/ResponseCode.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/io/response/ResponseCode.java index 451c251..1207786 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/io/response/ResponseCode.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/io/response/ResponseCode.java @@ -38,6 +38,7 @@ public enum ResponseCode { RECIPE_ALREADY_EXIST(35, ResponseCodeType.ERROR, 1), CANNOT_REMOVE_DEFAULT_MATERIAL_TYPE(36, ResponseCodeType.ERROR, 0), CANNOT_EDIT_DEFAULT_MATERIAL_TYPE(37, ResponseCodeType.ERROR, 0), + MATERIAL_AND_MIX_TYPE_CANNOT_HAVE_SAME_NAME(38, ResponseCodeType.ERROR, 0), // HTTP Errors _500(100, ResponseCodeType.ERROR, 0), diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/MixType.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/MixType.java index 50910e0..204c964 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/MixType.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/MixType.java @@ -26,4 +26,9 @@ public class MixType implements IModel { @NotNull @OneToOne(cascade = CascadeType.ALL) private Material material; + + public void setName(String name) { + this.name = name; + this.material.setName(name); + } } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/Recipe.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/Recipe.java index 10f37d7..c30c840 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/Recipe.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/Recipe.java @@ -79,6 +79,7 @@ public class Recipe implements IModel { } /** + * Vérifie si la recette contient un type de mélange. * * @param mixType Le type de mélange diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/config/MaterialTypeProperties.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/config/MaterialTypeProperties.java index 2e175f4..e789506 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/config/MaterialTypeProperties.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/config/MaterialTypeProperties.java @@ -14,10 +14,6 @@ import java.util.List; @Setter public class MaterialTypeProperties { - public MaterialTypeProperties() { - System.out.println("TEST"); - } - private List defaults; } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/dto/MixFormDto.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/dto/MixFormDto.java index bbdf555..94ebcc9 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/dto/MixFormDto.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/model/dto/MixFormDto.java @@ -11,6 +11,8 @@ public class MixFormDto { private Recipe recipe; + private String oldMixTypeName; + private String mixTypeName; private MaterialType materialType; diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialService.java index 0f33be7..84398ab 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialService.java @@ -53,6 +53,16 @@ public class MaterialService extends GenericService { .collect(Collectors.toList()); } + /** + * Vérifie si un produit correspondant à un nom existe. + * + * @param name Le nom du produit + * @return Si un produit correspondant au nom existe + */ + public boolean existsByName(String name) { + return dao.existsByName(name); + } + /** * Vérifie si des produits sont d'un type de produit * @@ -89,14 +99,14 @@ public class MaterialService extends GenericService { } @Override - public Material save(@NotNull Material entity) { - throw new UnsupportedOperationException("Cette méthode n'est pas supportée pour les produits. Utiliser MaterialService::save(Material, MultipartFile)"); + public Material save(@NotNull Material material) { + return super.save(material); } public Material save(@NotNull Material material, MultipartFile file) { simdutService.write(material, file); - return super.save(material); + return save(material); } @Override @@ -127,4 +137,5 @@ public class MaterialService extends GenericService { delete(material); } } + } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialTypeService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialTypeService.java index f210370..98a6fcf 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialTypeService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MaterialTypeService.java @@ -123,7 +123,7 @@ public class MaterialTypeService extends GenericService { .withDto(formDto) .build(); + if (materialService.existsByName(formDto.getMixTypeName())) + throw new EntityAlreadyExistsException(type, ModelException.IdentifierType.OTHER, "materialName", formDto.getMixTypeName()); + if (mix.getRecipe().hasMixType(mix.getMixType())) throw new EntityAlreadyExistsException(type, ModelException.IdentifierType.OTHER, "mixType", mix.getMixType()); + mixTypeService.save(mix.getMixType()); save(mix); } - @Transactional public void update(Mix mix, MixFormDto formDto) { mix = new MixBuilder(mixTypeService, materialService) .withMix(mix) .withDto(formDto) .build(); + MixType mixType = mix.getMixType(); + if (materialService.existsByName(mixType.getName()) && !materialService.getByName(mixType.getName()).equals(mixType.getMaterial())) + throw new EntityAlreadyExistsException(type, ModelException.IdentifierType.OTHER, "materialName", mixType.getName()); + if (!formDto.getOldMixTypeName().equals(mixType.getName()) && mix.getRecipe().hasMixType(mix.getMixType())) + throw new EntityAlreadyExistsException(type, ModelException.IdentifierType.OTHER, "mixType", mix.getMixType()); + update(mix); } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixTypeService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixTypeService.java index 77cae0c..a66386b 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixTypeService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixTypeService.java @@ -1,5 +1,6 @@ package dev.fyloz.trial.colorrecipesexplorer.core.services.model; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityAlreadyExistsException; import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityNotFoundException; import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.ModelException; import dev.fyloz.trial.colorrecipesexplorer.core.model.Material; @@ -11,13 +12,18 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Optional; +import java.util.stream.Collectors; +import java.util.stream.Stream; @Service public class MixTypeService extends GenericService { + private MaterialService materialService; + @Autowired - public MixTypeService(MixTypeDao mixTypeDao) { + public MixTypeService(MixTypeDao mixTypeDao, MaterialService materialService) { super(mixTypeDao, MixType.class); + this.materialService = materialService; } /** @@ -54,10 +60,14 @@ public class MixTypeService extends GenericService { * @param materialType Le type de produit du type de mélange * @return Le type de mélange créé */ - public MixType save(String name, MaterialType materialType) { + public MixType create(String name, MaterialType materialType) { Material mixTypeMaterial = new Material(name, 0f, true, materialType); - MixType mixType = new MixType(name, mixTypeMaterial); + return new MixType(name, mixTypeMaterial); + } - return save(mixType); + @Override + public MixType update(MixType mixType) { + + return super.update(mixType); } } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/MixBuilder.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/MixBuilder.java index 9679eb7..34429d1 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/MixBuilder.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/MixBuilder.java @@ -6,6 +6,7 @@ import dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService; import dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService; import java.util.*; +import java.util.stream.Stream; public class MixBuilder { @@ -37,7 +38,8 @@ public class MixBuilder { public MixBuilder withDto(MixFormDto dto) { if (this.mixType == null) { - this.mixType = mixTypeService.save(dto.getMixTypeName(), dto.getMaterialType()); +// this.mixType = mixTypeService.save(dto.getMixTypeName(), dto.getMaterialType()); + this.mixType = mixTypeService.create(dto.getMixTypeName(), dto.getMaterialType()); } else { this.mixType.setName(dto.getMixTypeName()); this.mixType.getMaterial().setMaterialType(dto.getMaterialType()); diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/dao/MaterialDao.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/dao/MaterialDao.java index d16a3b7..130ff81 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/dao/MaterialDao.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/dao/MaterialDao.java @@ -14,6 +14,8 @@ public interface MaterialDao extends JpaRepository { List findAllByMaterialType(MaterialType materialType); + boolean existsByName(String name); + boolean existsByMaterialType(MaterialType materialType); } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/MixCreatorController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/MixCreatorController.java index 15f44d1..c09561d 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/MixCreatorController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/MixCreatorController.java @@ -2,6 +2,7 @@ package dev.fyloz.trial.colorrecipesexplorer.web.controller.creators; import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityAlreadyExistsException; import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityNotFoundException; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.ModelException; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ModelResponseBuilder; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseCode; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseDataType; @@ -73,7 +74,10 @@ public class MixCreatorController { } catch (EntityNotFoundException ex) { modelResponseBuilder.addResponseCode(ResponseCode.MATERIAL_NOT_FOUND, ex.getRequestedId()); } catch (EntityAlreadyExistsException ex) { - modelResponseBuilder.addResponseCode(ResponseCode.MIX_TYPE_ALREADY_USED, formDto.getMixTypeName()); + if (ex.getIdentifierName().equals(ModelException.IdentifierType.NAME.getName())) + modelResponseBuilder.addResponseCode(ResponseCode.MIX_TYPE_ALREADY_USED, ex.getRequestedId()); + else if (ex.getIdentifierName().equals("materialName")) + modelResponseBuilder.addResponseCode(ResponseCode.MATERIAL_AND_MIX_TYPE_CANNOT_HAVE_SAME_NAME); } return getPage(modelResponseBuilder.build(), formDto.getRecipe().getId()); diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/editors/MixEditorController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/editors/MixEditorController.java index 17ac905..68bd2b8 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/editors/MixEditorController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/editors/MixEditorController.java @@ -1,5 +1,6 @@ package dev.fyloz.trial.colorrecipesexplorer.web.controller.editors; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityAlreadyExistsException; import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityNotFoundException; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ModelResponseBuilder; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseCode; @@ -65,6 +66,11 @@ public class MixEditorController { mixService.update(mix, formDto); } catch (EntityNotFoundException ex) { return getPage(modelResponseBuilder.addResponseCode(ResponseCode.MIX_NOT_FOUND, id).build(), id); + } catch (EntityAlreadyExistsException ex) { + if (ex.getIdentifierName().equals("materialName")) + return getPage(modelResponseBuilder.addResponseCode(ResponseCode.MATERIAL_AND_MIX_TYPE_CANNOT_HAVE_SAME_NAME).build(), id); + if (ex.getIdentifierName().equals("mixType")) + modelResponseBuilder.addResponseCode(ResponseCode.MIX_TYPE_ALREADY_USED, ex.getRequestedId()); } return modelResponseBuilder.build(); diff --git a/src/main/resources/lang/responses_en.properties b/src/main/resources/lang/responses_en.properties index e7caded..ef6c90d 100644 --- a/src/main/resources/lang/responses_en.properties +++ b/src/main/resources/lang/responses_en.properties @@ -38,3 +38,4 @@ response.34=The material type {0} has been deleted response.35=There is already a recipe with the ID {0} response.36=You can't remove a default material type response.37=You can't edit a default material type +response.38=A mix can't have the same name as a material diff --git a/src/main/resources/lang/responses_fr.properties b/src/main/resources/lang/responses_fr.properties index 244d270..e008bcf 100644 --- a/src/main/resources/lang/responses_fr.properties +++ b/src/main/resources/lang/responses_fr.properties @@ -38,3 +38,4 @@ response.34=Le type de produit {0} a bien été supprimé response.35=Il y a déjà une recette avec l''ID {0} response.37=Vous ne pouvez pas modifier un type de produit par défaut response.36=Vous ne pouvez pas supprimer un type de produit par défaut +response.38=Un mélange ne peut pas avoir le même nom qu''un produit diff --git a/workdir/recipes.mv.db b/workdir/recipes.mv.db index 9c27de5c730525c467467a7d022e431f0390bc7c..851231defb6312ab888d12dddf46e717c6703371 100644 GIT binary patch delta 4585 zcmd5CEEdaADJSNf}M$2Nuvr+|(HzgMlaD(f3J z)L(TQH4`c4 z-DMS5%(1B>Pt2|6m;I&X3d%PrF4#+6jr|ogXy%>?-W}H)#qDo*qzM$jg3l@G-2w#y z2caD=ECL3vPq&E%SvoTu1zsGkOxN=ay4%;%Bsp9%6}>rNV5` zH8JvZRr+1`76Knr_=Lhbg$vxl$8=gj?9#Y6t@4X?I$h=$7wELcup~RB|MZ}8s+neG zTqNXm>EyO-@SBOk@z#)1&6pSFR-p%M0f3FQ$%FBDL|-N4YHCRy6!GcM7wvz#t>cw5sDDw<=XJ z@DFBep7TAWuO48=anB1#4NRyM%V7=*)5w<^xgA`ioolpnjrK(0wbGk?IkcdG%*Yrc z6O3F&-x?-3qnk)|C^1rHT9i~uPbM~ViJVkAhJCuGbVG8Pyz<`@|>j*P{LjKzVB`zr9Tv6L`m zq@$eT`@!d1Sh2D={#3l(&*H#JX9S}lEC|A4AS?vJA|N~f!u=EOo^bDkJ10NPH$NvL z4A0H=G%6!s479PW=z(seeXs-RAPgXt;2=^H5O>T3R#MI1wvk5$Sx#fB^R)vbUAwk0 zEA3bzoP83q^^jq;M8AoVS&|A5?d+p{WIH>(J6?K{pWYo`{9||jU{IgjJ-8`#k=-Qg zo?5BDSo9pdd1VIgO&$+Arw(+tVQ(o~Uda4FpW4^I#PzXd=&cPZP>$~U^>?))@6K(= z(1kXnug2ER;O|o-Da#LrP7LkG9>!XjEUSjw(!)$mc-Y+dqw^{alw+^&&DU-0b1QXk z@yO!Iq9VCxe0$k{I&OECn-4m@p|odt!42=PZP*Ro8vfVD{^>VpTWWaUO)?nBhfi2q zhIP=QqDQ28Pmf zZjM>i9rhFdlhGlpA}g|}C1(`*_w%N0S>)D*#rsmB??f-re<#X&G> zPL?qW9z=9A3L=uCAYv&DB9zQ1h)9Zph@>cpNMb>(+po|!@@*sH%qC1$!Z7HRZQFO8 zV10Hb`0s4CpN)#)l&AA4Pl;x^V8-D|@5Zm#lJt%*Bt0`WHq1t~iLJZBs{b1y##>>r zf4k_fX1^4R-f9-T{T)T$_-$O4_jxLPDfEj&vmHEql%EGPNBh`$VBT?SY(>}_`^TOK z8^Q2vnP{keAytasJ;5qLR~+?Std+9k3h25Kx|LRR!y~Q6-{4zEnyU)0z>LM{KFHBs zM5OPI?v3pEJEQCTKcX8Q_MJi*1P71qVW<8ND1aZ0@;k$4?|^cGS%R{g)UaMdlq(6! z&v}j)p=^jK*ZB9CrO8s=UtO-6(N|eH{wS;Q1M3^;J0`Zb#H}ZwKNO-r*^2(+B%y2A z&sP1s(|mRQf%4+&!f~QmT|x>>VWHpk z3|y(NEcqV)m~~7~90Z)^6ydf`5%*Mb&3xMPJyQfG0S*s1oTYNv_sIZ`3t>o?SPgPMlYx zz=2re20{uMAt40fSR}+DvN(dGiW?FV;#xrw5;p|B@(|2E#_OWA1PKXC_I#elH{br> z|Nq-)h>csqPF_Uj+l3Ryk*QQ`?gm+K*UB2Qu;!FXJ$v?tN%}{!@Xvd)-6GQI=c|KH zYA%9GZE@3`v#+@8WmQ#{?3J=g*sxVbx&@V$U;!y>_4-EHf!+tJ8a9-T#U;0FTaH>$ zHr=)L#riTkLHB0I3OxXT3~0s#0f0V+i#Po-HvR2TMj8enF`xLMc_a5iBKAw>o90My zK@uLOZ)&9;WTiSf3b}k=m45xmFnt9L)9+AEvlqpCN997N01!xt=;HL2yR=esml*Yy ze7P$Qbil;$q-|qh?+0W>Ylcz3a ze?1msj8ke#JpbtAQyLr2O+Iag8z0R6+#hGls?NS1q3V&TQaUASMoKiTh%lRj!!c@4 z_2Y2vXiiRhVv*G4&z#9k0x<}0*T}Pec)Mrjg7K5DchGETG38#MP!AC)hB zEEZmGetBV6hzsXWegRUHJTc#0>h#idT(#*3nEvu$AuW4>S;Sm(HcB1}}wFR%zf~x!i&9RH+NoXAU< ze>tQ#!XP-*ek|`*^NW`U@{Vu0XI1n@Ky9Hl4p+_B>FpEg=3Aq?o#8uyh)Q^E6#FQq zZGKhsN=dV+y>goF&kh83S)o$%Z+5Zn;~da^n7u7(tIe+6z^?s!+4X+M+Cg@i|DRpF o>9*p=?K)Jp9@eh!@9)3Uu3~6c6#FQqZFUjEDIvSc%S-6_3#eROS^xk5