From ba474457f64eab1555d407319a980f71c5ab51c5 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Mon, 24 Feb 2020 19:40:40 -0500 Subject: [PATCH] =?UTF-8?q?Suppression=20des=20dossiers=20sp=C3=A9cifiques?= =?UTF-8?q?=20=C3=A0=20chaque=20installation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logs/cre.log | 3387 ----------------------------------------- workdir/passwords.txt | 1 - workdir/recipes.mv.db | Bin 32768 -> 0 bytes 3 files changed, 3388 deletions(-) delete mode 100644 logs/cre.log delete mode 100644 workdir/passwords.txt delete mode 100644 workdir/recipes.mv.db diff --git a/logs/cre.log b/logs/cre.log deleted file mode 100644 index 4d05270..0000000 --- a/logs/cre.log +++ /dev/null @@ -1,3387 +0,0 @@ -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 - ...] -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 - ...] -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) - 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: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: "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.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 '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) - 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) - ... 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) - 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.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) - 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: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.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: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.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) - 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$$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: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 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 - ...] -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 - ...] -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. -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 - ...] -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 - ...] -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 - ...] -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) - 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$$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) - 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$$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: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: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) - 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$$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) - 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$$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: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: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] -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] - 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.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.$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$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: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: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/workdir/passwords.txt b/workdir/passwords.txt deleted file mode 100644 index 1f7391f..0000000 --- a/workdir/passwords.txt +++ /dev/null @@ -1 +0,0 @@ -master diff --git a/workdir/recipes.mv.db b/workdir/recipes.mv.db deleted file mode 100644 index 851231defb6312ab888d12dddf46e717c6703371..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32768 zcmeHQON<=HdG4Ow5_c&s$>EAmkyLXiK31Ha?dNp&kPH&w*(|WAVokDAU^06Aom;sIAT*|4b`CP( zUx+}6K!`wyK!`wyK!`wyK!`wyK!`wyK!`wyz;7IZV(9<>#&r-15F!vF5F!vF5F!vF z5F!vF5F!vF5F!vF5F+qZBVfPe*J%`h7{A}!PD%0m_ulAL%qJ;HQF&6Ro3HnFQ-T?P zU_MOgJ;hq=3#%_lLs= z&MjP@VOeHo`xe8joF(~8;ryv{=rqF|`UcyZImHN~Br8c3&7pa85Iv6$p#^jp9YIG? z6dgm0=mm5foj@niDJD95fxEoXG+JD?VWeBeR%WeK&T)dSM`vSPY~fE>>pr*EG#Xqf z&sA$J&e$k5TTL$3Ovkupy4>QfnC)Ii(z;q#kQH8U_pWfobhF4^k@Q}_)9Ln-f(h6p zMZMD(`eNTSI})E1dP=V=C>=qO0VNeE2uWV-bUOW{-tLQn)RwMr>0G5$jm}==xP=ZC zC7aF`jU3lXXUYZ_tFL9srEDw_%hoFObagX!^&rMFR?5Y=OsP<+wusEtwQ@Ob)l}0J zBgWlLH?qZa&{xb+A6g+V_d#mOSib3kx#FI8SoB}6zNiPt5Vw7 zYHij5@Jy{%Hquq6bv|8g8pFRB)QzYpu5u_%TVO(U%SX#tiB~|0#i^Aj4=K@R5wmcP z&RzvAe#c*nPTQ%}2%Pq(MmZLpT>>@!^OS0|u-@ko@PoPDF!H4hcbNFKfoH;2-DqUN zEYby|IZ4G>F|UAPDpM;)4Nwg2B^_heKs$dlUOUtTrx|I$bAKvQK}B&;(O*qc5x_Z7 zG38n|-73|pgTULSPsfs<)zc;oBU`E)eho1C%Yc4%YV?I+^l=9$<_W<3Q2^%HY^FgP z=I~S49{?$*}@*+ewcdn;`1PKYwei`>tOaMD4{&H5@3oQ zm|*bp)REZM#%vVS@rQxxaDOnBUV!EP^pXa>%pL>9e18hXkjY@8QuZ+q_#jVkUfkCl z029;*&X%au;%8qNGYL48+%$F%toDbmf$=>K`2Jml+D*V@ZjJuQPnmSR-l%2BgJvrS z3jp7zP0na$8>RZ_(`f&5HVi3$9t{K5SF674o9Rlu48MXUkx_u<)6lS_3oXA6*nfP{rc;e9V6#8XYgqHAK=Xe*VPw(gezRrNC#%0=G@CGC z55hhSFs0~@u7gVqbMzNSTQlbvbQ+yOFQT*P96FC)LL9n)V(21z8C^n`(G_$REumM? zH55n7D1lZGj|3zl3CTzShhz3MsAhF))#QCuvt{+v*3TKx&v(b^$7(;7l7Qj&Z?>Q=S1rZw}WvRK&IT+cSv^mI{b$VOJ#B5V0E?gV)t;_2fo zboEE9e_w6yBe8oLrUVp{1&i(4{!D{N#rdq@Mssj~wUBkVV2SD}-a0n*FMuuscZ)RvmhW;P5_Hr8AD4a#kTZr^;7wCRpw83!!C5r}2BCP-4TwU%uuqPSU5 z#O!*K&)*hxm*24cxq!eU3Cy0txC}7<>z9QwP@G{HDPJE114+0&@<-6wl%$GOPp@WORujM@6UfT=@$2FpytvJ;2FfyuT+Hvm7x;U( zFVn-u18lZSFggL}nub`qQ>bN}yUmOt zR7#t?j7u72oE?u{>cw%0c@>B<0} z?T3vTU@dpMxWVTdxB1%zBg1c0?}A&JtmRu&S>qjV&r}EiDgfYrj0JF#1D;}Cl}v5z%mjOjYwtVN$1$)+%i(M3HjiR-Kl(wz=CAqewmQ^sT?Vc&ldL?wEVYC_+bWq@7z2 z?mdCuq7ygLMRT{?$Jb}zdat*;hp*!|(pBfzdq5ItH`3+Gy(b)Qfr)*_!VUaW@^g?_ zTU?)?fj7fR*n$yC>BpVN+qqlOS+SS_p$eIF6AH;{*4#7i|G{qW@uLE~h)Bcl632dc zaE5`M93A}&bZ{0eGqANY2Nybn;1x4mz$@u>qfyNPM zykK$+^JnqbkIutwn~NNc3=9k<8gcp!BSMWv2D|6h!r%Z@BHqqMY=9!(E=MC2EFyrN z#N&^nGa!gH2n1+^hkywDT{W07&2hH#xfmV26*wwGC{A3aLNr27>SSA5< z1j!kke8xs2BJ@fG-9(bmpCr<38AyI%a{r6V>;>02lkP(lQ8#uX%llOqN41)}(pFpah6`Z7S@+wZ=AvfPA=|?2}98wh} zaPk^X-X-M^Ncu6PFw(9MNbeSYlsI-0i-EU$Neay18f1bL*g*;;AqCkW#k?WI3?Rdz zLWV_w4D*8wOAZ;93^KxgnREn3ICKKi>m-F9M zVz5vQmWd%EF+?JU2*eP17$OeyE0ZR<^u_7tFiuC%VMtG)ClU_n93XsPLlo1%HFav7^w8`=2DG`Sdl{WnG+;Z=-{{O zR{q7$&!0N8ux&o*CGKr^druOgdWe+v%=Z0W0t|fillUR#JTp%sq7vP<;#_G6VxAJh zb0p=hjFv>JBw3kkWr~$0txUBt&B}BuGp(#mC`%-jNve=ENm7-h7I*7+dYAl8?~xjl zq!x`1x$ctGs_pOEv0e0J7x>a^Ft*DZ*u_tb>+1T)b*YLcu1k4h^VDcOS(5M+oOrT8 zo=KUHZ}*<;rBoVGCOQFSIG&8>MYS^!P^QTq#@cbL%+$`q-gfJexxH(4_TWsK-E-tF zRk%*ivAIhRtP#Amk}$Sb8e5wjTdR$$g-b6~i(_l$v9)8RlE+G=jFn0mk%|nZ zlr@z2=LzWdciI*6p>y5n^{qy5KL?Ahv!s#rixF_Wl_S0IR*tBYBV-?McX!G=uP26e z+SNOQ4Td|?)w`BaSb_<|_0(i&t>O6_8e0|KI#KqLl-Pbm;3I+%5yXff!MZ0RC=nqU5!8sFMFc$} zm=U4PCRv$PSb>#TlWnsdw#)Wdm0=>6UjB?Z!+0qsy#@U+HrIq>u7gGK0FJ0l2t3UN zn%nm!T9#?9&^$?VmF61Fb()(rZ$C%qOID^@nPz3Wm6=vXTXw8c*UEZU)@LFwvm~Khcc+o9s63=@|W=D2Qx+!~Fnxf`uX_}gcW~U>2N`2A8PZyH1OH&u6 zj!Q*{S;Xal=M=%=u4)q4x7`O-(|MPJ+Ez4|rV7EoE)})Y=RJKFOigpBXj0PCQj-M_ z6-}|{H7tWhrdL}AyJX2gOH>A0qB7VeO9rc?Q5k57%0Nq023o>0*z2b-|Meqaub15T zd-ps&IAqT`Pp>VRX0P3zE^L1KRtIhVZRZp~yhaqft3hXFmK<4`b!-bBSednZo|V~` z5*f$;-&}anTGjs}!>B*l_p1KG`Tz2+>UC#TZ>^rccB}gD*cx*!W^h&i6@9VsZJV!2 zEv37kmA&AlKpGCq$i*FI4`~i zB6Gv|fA`xa_vOg&$4_DW|1csnKHrI^r(ZJ-1sXdx2k$%sDA4!+!L{}e!}x#tF<2P? z?|fKD-`WnppQRzl67B$`uKm_t8)Es*Z*&O{QnN@ zVoB}J^q&26Egk>AGxWa3^Oe8j|Bt+x=@Tz*3Cq5p4hcuqL6!FjXiTB@~EWSKbRGKtq5nT{63pN?@{^8(3H^WT^c?4`neh96I8Dg@EQ^MuLyU9y{Xd+R zU4d;0FLmR)( z+SdAO*#mgI{dgDt=_EcrvaNN!(Y|eGGr}D<``wIqw#}??Ga}rKn7kR$?tDF?h$D;h zf6JVnK3