From ddcb5c9629a342e969d9c86b53ed8cb5984b495a Mon Sep 17 00:00:00 2001 From: FyloZ Date: Mon, 17 Feb 2020 23:09:37 -0500 Subject: [PATCH] Continue transition vers exceptions + DTO --- logs/cre.log | 4172 +++++++++++++++++ .../model/EntityLinkedException.java | 13 + .../core/services/GenericService.java | 11 +- .../core/services/IGenericService.java | 7 + .../core/services/files/FilesService.java | 50 + .../services/files/MarkdownFilesService.java | 35 + .../core/services/model/CompanyService.java | 30 +- .../core/services/model/MixService.java | 42 +- .../core/services/model/RecipeService.java | 31 + .../core/utils/FileUtils.java | 1 + .../web/controller/InventoryController.java | 11 - .../web/controller/OthersController.java | 60 +- .../controller/RecipeExplorerController.java | 51 +- .../creators/CompanyCreatorController.java | 36 +- .../removers/CompanyRemoverController.java | 46 +- workdir/recipes.mv.db | Bin 0 -> 28672 bytes 16 files changed, 4419 insertions(+), 177 deletions(-) create mode 100644 logs/cre.log create mode 100644 src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/exception/model/EntityLinkedException.java create mode 100644 src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/FilesService.java create mode 100644 src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/MarkdownFilesService.java create mode 100644 workdir/recipes.mv.db diff --git a/logs/cre.log b/logs/cre.log new file mode 100644 index 0000000..6c04fd4 --- /dev/null +++ b/logs/cre.log @@ -0,0 +1,4172 @@ +16-02-2020 15:08:15.138 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 6965 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 15:08:15.140 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 15:08:15.165 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 15:08:15.165 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 15:08:15.515 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 15:08:15.560 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 43ms. Found 8 repository interfaces. +16-02-2020 15:08:15.738 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e085bf5f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 15:08:15.921 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 15:08:15.929 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 15:08:15.935 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 15:08:15.935 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 15:08:15.974 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 15:08:15.974 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 809 ms +16-02-2020 15:08:16.041 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 15:08:16.085 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 15:08:16.107 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 15:08:16.126 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 15:08:16.127 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 15:08:16.186 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 15:08:16.237 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 15:08:16.608 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:08:16.627 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 15:08:16.629 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 15:08:16.630 [restartedMain] WARN d.f.t.c.ColorRecipesExplorerApplication.loadPasswords - Aucun mot de passe trouvé. Il sera impossible d'utiliser certaines fonctionnalitées de l'application. +16-02-2020 15:08:16.848 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 15:08:17.003 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 15:08:17.019 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 15:08:17.078 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 15:08:17.132 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 15:08:17.139 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 15:08:17.142 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.162 seconds (JVM running for 2.627) +16-02-2020 15:08:23.524 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 15:08:23.524 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 15:08:23.528 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 15:12:34.495 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 15:12:34.498 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:12:34.499 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 15:12:34.502 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 15:12:36.330 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7313 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 15:12:36.332 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 15:12:36.350 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 15:12:36.350 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 15:12:36.688 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 15:12:36.732 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 15:12:36.904 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d1413a40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 15:12:37.090 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 15:12:37.098 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 15:12:37.104 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 15:12:37.104 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 15:12:37.142 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 15:12:37.142 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 792 ms +16-02-2020 15:12:37.208 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 15:12:37.266 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 15:12:37.287 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 15:12:37.306 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 15:12:37.306 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 15:12:37.352 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 15:12:37.418 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 15:12:37.829 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:12:37.847 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 15:12:37.849 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 15:12:38.063 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 15:12:38.215 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 15:12:38.230 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 15:12:38.288 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 15:12:38.340 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 15:12:38.347 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 15:12:38.349 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.188 seconds (JVM running for 2.646) +16-02-2020 15:12:40.046 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 15:12:40.046 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 15:12:40.050 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms +16-02-2020 15:12:45.277 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause +java.lang.IllegalArgumentException: The given id must not be null! + at org.springframework.util.Assert.notNull(Assert.java:198) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:264) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy101.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForCreation(GenericService.java:98) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService.isValidForCreation(CompanyService.java:23) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService$$FastClassBySpringCGLIB$$f43d3670.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService$$EnhancerBySpringCGLIB$$8383e689.isValidForCreation() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.CompanyCreatorController.createCompany(CompanyCreatorController.java:61) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:14:56.044 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 15:14:56.046 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:14:56.048 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 15:14:56.263 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 15:14:56.339 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7313 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 15:14:56.339 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 15:14:56.482 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 15:14:56.499 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 17ms. Found 8 repository interfaces. +16-02-2020 15:14:56.531 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d1413a40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 15:14:56.569 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 15:14:56.569 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 15:14:56.570 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 15:14:56.570 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 15:14:56.574 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 15:14:56.574 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 233 ms +16-02-2020 15:14:56.608 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... +16-02-2020 15:14:56.615 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. +16-02-2020 15:14:56.620 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 15:14:56.626 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 15:14:56.760 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:14:56.768 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 15:14:56.769 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 15:14:56.826 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 15:14:56.902 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 15:14:56.905 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 15:14:56.928 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 15:14:56.952 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 15:14:56.953 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 15:14:56.953 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.634 seconds (JVM running for 141.25) +16-02-2020 15:14:56.965 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 15:15:00.509 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 15:15:00.510 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 15:15:00.512 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 15:18:22.404 [http-nio-9090-exec-5] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-5] Exception processing template "material/creator": An error happened during template parsing (template: "class path resource [templates/material/creator.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +Caused by: org.attoparser.ParseException: Cannot resolve fragment. Signature "header (showPrinterIcon)" declares parameters, but fragment selection did not specify any parameters. (template: "material/creator" - line 9, col 9) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Cannot resolve fragment. Signature "header (showPrinterIcon)" declares parameters, but fragment selection did not specify any parameters. (template: "material/creator" - line 9, col 9) + at org.thymeleaf.standard.expression.FragmentSignatureUtils.processParameters(FragmentSignatureUtils.java:165) + at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:175) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +16-02-2020 15:18:22.405 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]")] with root cause +org.thymeleaf.exceptions.TemplateProcessingException: Cannot resolve fragment. Signature "header (showPrinterIcon)" declares parameters, but fragment selection did not specify any parameters. (template: "material/creator" - line 9, col 9) + at org.thymeleaf.standard.expression.FragmentSignatureUtils.processParameters(FragmentSignatureUtils.java:165) + at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:175) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:19:11.605 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 15:19:11.606 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:19:11.606 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... +16-02-2020 15:19:11.607 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. +16-02-2020 15:19:11.914 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7313 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 15:19:11.915 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 15:19:12.044 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 15:19:12.060 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. +16-02-2020 15:19:12.098 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d1413a40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 15:19:12.130 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 15:19:12.131 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 15:19:12.131 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 15:19:12.131 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 15:19:12.135 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 15:19:12.135 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 219 ms +16-02-2020 15:19:12.160 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... +16-02-2020 15:19:12.168 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. +16-02-2020 15:19:12.172 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 15:19:12.178 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 15:19:12.285 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:19:12.292 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 15:19:12.293 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 15:19:12.349 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 15:19:12.429 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 15:19:12.433 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 15:19:12.454 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 15:19:12.478 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 15:19:12.479 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 15:19:12.479 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.579 seconds (JVM running for 396.776) +16-02-2020 15:19:12.491 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 15:19:13.205 [Thread-21] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 15:19:13.206 [Thread-21] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:19:13.207 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... +16-02-2020 15:19:13.208 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. +16-02-2020 15:19:14.582 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 7946 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 15:19:14.583 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 15:19:14.605 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 15:19:14.605 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 15:19:14.968 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 15:19:15.013 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 42ms. Found 8 repository interfaces. +16-02-2020 15:19:15.187 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d5d727bd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 15:19:15.369 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 15:19:15.376 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 15:19:15.382 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 15:19:15.382 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 15:19:15.420 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 15:19:15.420 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 814 ms +16-02-2020 15:19:15.486 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 15:19:15.543 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 15:19:15.565 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 15:19:15.584 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 15:19:15.584 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 15:19:15.641 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 15:19:15.691 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 15:19:16.105 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:19:16.124 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 15:19:16.125 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 15:19:16.341 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 15:19:16.493 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 15:19:16.509 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 15:19:16.569 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 15:19:16.622 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 15:19:16.629 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 15:19:16.632 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.274 seconds (JVM running for 2.771) +16-02-2020 15:19:18.103 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 15:19:18.104 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 15:19:18.107 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 15:19:18.342 [http-nio-9090-exec-1] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-1] Exception processing template "material/creator": An error happened during template parsing (template: "class path resource [templates/material/creator.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +Caused by: org.attoparser.ParseException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "material/creator" - line 39, col 32) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "material/creator" - line 39, col 32) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:117) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) + at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) + at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) + at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) + at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'materialCode' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Material]: Bean property 'materialCode' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) + at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) + at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) + at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) + at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) + at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) + at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + ... 67 common frames omitted +16-02-2020 15:19:18.344 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]")] with root cause +org.springframework.beans.NotReadablePropertyException: Invalid property 'materialCode' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Material]: Bean property 'materialCode' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) + at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) + at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) + at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) + at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) + at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) + at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) + at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) + at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) + at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) + at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:19:51.697 [http-nio-9090-exec-4] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-4] Exception processing template "material/creator": An error happened during template parsing (template: "class path resource [templates/material/creator.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "materialType.materialTypeID" (template: "material/creator" - line 69, col 79) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "materialType.materialTypeID" (template: "material/creator" - line 69, col 79) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) + at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) + at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) + at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) + at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeID' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + ... 79 common frames omitted +16-02-2020 15:19:51.698 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/material/creator.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeID' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) + at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) + at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) + at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) + at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:22:23.507 [http-nio-9090-exec-2] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-2] Exception processing template "inventory": An error happened during template parsing (template: "class path resource [templates/inventory.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/inventory.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "material.materialId" (template: "inventory" - line 96, col 21) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "material.materialId" (template: "inventory" - line 96, col 21) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.processDefaultAttribute(StandardDefaultAttributesTagProcessor.java:165) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.process(StandardDefaultAttributesTagProcessor.java:98) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) + at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) + at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) + at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) + at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialId' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.Material' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + ... 78 common frames omitted +16-02-2020 15:22:23.507 [http-nio-9090-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/inventory.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialId' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.Material' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.processDefaultAttribute(StandardDefaultAttributesTagProcessor.java:165) + at org.thymeleaf.standard.processor.StandardDefaultAttributesTagProcessor.process(StandardDefaultAttributesTagProcessor.java:98) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:367) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:221) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCloseElementEnd(TemplateHandlerAdapterMarkupHandler.java:388) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:322) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleCloseElementEnd(OutputExpressionInlinePreProcessorHandler.java:220) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleCloseElementEnd(InlinedOutputExpressionMarkupHandler.java:164) + at org.attoparser.HtmlElement.handleCloseElementEnd(HtmlElement.java:169) + at org.attoparser.HtmlMarkupHandler.handleCloseElementEnd(HtmlMarkupHandler.java:412) + at org.attoparser.MarkupEventProcessorHandler.handleCloseElementEnd(MarkupEventProcessorHandler.java:473) + at org.attoparser.ParsingElementMarkupUtil.parseCloseElement(ParsingElementMarkupUtil.java:201) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:725) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:24:41.243 [http-nio-9090-exec-1] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-1] Exception processing template "recipe/edit": An error happened during template parsing (template: "class path resource [templates/recipe/edit.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/edit.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +Caused by: org.attoparser.ParseException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "recipe/edit" - line 58, col 38) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "recipe/edit" - line 58, col 38) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:117) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) + at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) + at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) + at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) + at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'recipeId' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Recipe]: Bean property 'recipeId' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) + at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) + at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) + at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) + at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) + at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) + at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + ... 67 common frames omitted +16-02-2020 15:24:41.243 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/edit.html]")] with root cause +org.springframework.beans.NotReadablePropertyException: Invalid property 'recipeId' of bean class [dev.fyloz.trial.colorrecipesexplorer.core.model.Recipe]: Bean property 'recipeId' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:622) + at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:612) + at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:104) + at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:228) + at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:129) + at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903) + at org.thymeleaf.spring5.context.webmvc.SpringWebMvcThymeleafRequestContext.getBindStatus(SpringWebMvcThymeleafRequestContext.java:227) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:253) + at org.thymeleaf.spring5.util.FieldUtils.getBindStatus(FieldUtils.java:227) + at org.thymeleaf.spring5.processor.AbstractSpringFieldTagProcessor.doProcess(AbstractSpringFieldTagProcessor.java:174) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleStandaloneElementEnd(TemplateHandlerAdapterMarkupHandler.java:260) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:256) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleStandaloneElementEnd(OutputExpressionInlinePreProcessorHandler.java:169) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleStandaloneElementEnd(InlinedOutputExpressionMarkupHandler.java:104) + at org.attoparser.HtmlElement.handleStandaloneElementEnd(HtmlElement.java:79) + at org.attoparser.HtmlMarkupHandler.handleStandaloneElementEnd(HtmlMarkupHandler.java:241) + at org.attoparser.MarkupEventProcessorHandler.handleStandaloneElementEnd(MarkupEventProcessorHandler.java:327) + at org.attoparser.ParsingElementMarkupUtil.parseStandaloneElement(ParsingElementMarkupUtil.java:96) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:706) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:26:29.052 [http-nio-9090-exec-8] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-8] Exception processing template "recipe/explore": An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]") +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:834) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "T(dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType).BASE_MATERIAL_TYPE_NAME" (template: "recipe/explore" - line 471, col 86) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "T(dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType).BASE_MATERIAL_TYPE_NAME" (template: "recipe/explore" - line 471, col 86) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.inline.AbstractStandardInliner.processExpression(AbstractStandardInliner.java:528) + at org.thymeleaf.standard.inline.AbstractStandardInliner.performInlining(AbstractStandardInliner.java:389) + at org.thymeleaf.standard.inline.AbstractStandardInliner.inline(AbstractStandardInliner.java:210) + at org.thymeleaf.standard.processor.StandardInliningCDATASectionProcessor.doProcess(StandardInliningCDATASectionProcessor.java:55) + at org.thymeleaf.processor.cdatasection.AbstractCDATASectionProcessor.process(AbstractCDATASectionProcessor.java:57) + at org.thymeleaf.util.ProcessorConfigurationUtils$CDATASectionProcessorWrapper.process(ProcessorConfigurationUtils.java:665) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCDATASection(ProcessorTemplateHandler.java:770) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCDATASection(TemplateHandlerAdapterMarkupHandler.java:186) + at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) + at org.attoparser.HtmlMarkupHandler.handleCDATASection(HtmlMarkupHandler.java:181) + at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) + at org.attoparser.ParsingCDATASectionMarkupUtil.parseCDATASection(ParsingCDATASectionMarkupUtil.java:57) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:780) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'BASE_MATERIAL_TYPE_NAME' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + 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) + ... 73 common frames omitted +16-02-2020 15:26:29.052 [http-nio-9090-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/recipe/explore.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'BASE_MATERIAL_TYPE_NAME' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.inline.AbstractStandardInliner.processExpression(AbstractStandardInliner.java:528) + at org.thymeleaf.standard.inline.AbstractStandardInliner.performInlining(AbstractStandardInliner.java:389) + at org.thymeleaf.standard.inline.AbstractStandardInliner.inline(AbstractStandardInliner.java:210) + at org.thymeleaf.standard.processor.StandardInliningCDATASectionProcessor.doProcess(StandardInliningCDATASectionProcessor.java:55) + at org.thymeleaf.processor.cdatasection.AbstractCDATASectionProcessor.process(AbstractCDATASectionProcessor.java:57) + at org.thymeleaf.util.ProcessorConfigurationUtils$CDATASectionProcessorWrapper.process(ProcessorConfigurationUtils.java:665) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCDATASection(ProcessorTemplateHandler.java:770) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleCDATASection(TemplateHandlerAdapterMarkupHandler.java:186) + at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) + at org.attoparser.HtmlMarkupHandler.handleCDATASection(HtmlMarkupHandler.java:181) + at org.attoparser.AbstractChainedMarkupHandler.handleCDATASection(AbstractChainedMarkupHandler.java:182) + at org.attoparser.ParsingCDATASectionMarkupUtil.parseCDATASection(ParsingCDATASectionMarkupUtil.java:57) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:780) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:40:31.305 [http-nio-9090-exec-10] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] +16-02-2020 15:40:39.780 [http-nio-9090-exec-5] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] +16-02-2020 15:42:55.749 [http-nio-9090-exec-10] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] +16-02-2020 15:44:55.586 [http-nio-9090-exec-2] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] +16-02-2020 15:45:27.888 [http-nio-9090-exec-7] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"] +16-02-2020 15:51:25.719 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool.run - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m10s63ms711µs679ns). +16-02-2020 15:56:03.590 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 15:56:03.592 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:56:03.594 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 15:56:03.595 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 15:56:06.511 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 15:56:06.512 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 15:56:06.538 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 15:56:06.538 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 15:56:06.877 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 15:56:06.922 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 15:56:07.094 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 15:56:07.284 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 15:56:07.291 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 15:56:07.297 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 15:56:07.297 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 15:56:07.334 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 15:56:07.334 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 796 ms +16-02-2020 15:56:07.399 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 15:56:07.456 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 15:56:07.477 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 15:56:07.507 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 15:56:07.508 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 15:56:07.553 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 15:56:07.603 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 15:56:07.977 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 15:56:07.996 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 15:56:07.998 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 15:56:08.215 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 15:56:08.372 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 15:56:08.388 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 15:56:08.444 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 15:56:08.497 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 15:56:08.504 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 15:56:08.506 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.169 seconds (JVM running for 2.609) +16-02-2020 15:56:12.836 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 15:56:12.836 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 15:56:12.840 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 15:59:20.005 [http-nio-9090-exec-3] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-3] Exception processing template "mix/editor/{id}": Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers + at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 15:59:20.006 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers] with root cause +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mix/editor/{id}], template might not exist or might not be accessible by any of the configured Template Resolvers + at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:00:11.264 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:00:11.266 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:00:11.268 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 16:00:11.513 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 16:00:11.585 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:00:11.585 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:00:11.721 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:00:11.739 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 17ms. Found 8 repository interfaces. +16-02-2020 16:00:11.783 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:00:11.818 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:00:11.819 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:00:11.819 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:00:11.819 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:00:11.824 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:00:11.824 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 238 ms +16-02-2020 16:00:11.854 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... +16-02-2020 16:00:11.870 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. +16-02-2020 16:00:11.874 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:00:11.882 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:00:11.987 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:00:11.995 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:00:11.996 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:00:12.054 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:00:12.140 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:00:12.143 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:00:12.165 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:00:12.190 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:00:12.191 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:00:12.191 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.622 seconds (JVM running for 246.294) +16-02-2020 16:00:12.203 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:00:12.670 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:00:12.671 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:00:12.672 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 1 ms +16-02-2020 16:39:11.036 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:39:11.037 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:39:11.038 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... +16-02-2020 16:39:11.040 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. +16-02-2020 16:39:11.137 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:39:11.137 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:39:11.278 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:39:11.294 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. +16-02-2020 16:39:11.326 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:39:11.361 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:39:11.362 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:39:11.362 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:39:11.362 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:39:11.367 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:39:11.367 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 229 ms +16-02-2020 16:39:11.400 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... +16-02-2020 16:39:11.403 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. +16-02-2020 16:39:11.407 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:39:11.414 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:39:11.501 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:39:11.517 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:39:11.519 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:39:11.573 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:39:11.645 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:39:11.649 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:39:11.670 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:39:11.694 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:39:11.695 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:39:11.695 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.573 seconds (JVM running for 2585.798) +16-02-2020 16:39:11.706 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:39:17.054 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:39:17.054 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:39:17.057 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 16:40:23.062 [Thread-16] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:40:23.063 [Thread-16] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:40:23.064 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... +16-02-2020 16:40:23.292 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. +16-02-2020 16:40:23.363 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:40:23.364 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:40:23.489 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:40:23.512 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 23ms. Found 8 repository interfaces. +16-02-2020 16:40:23.545 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:40:23.588 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:40:23.589 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:40:23.589 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:40:23.589 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:40:23.594 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:40:23.594 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 229 ms +16-02-2020 16:40:23.618 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Starting... +16-02-2020 16:40:23.624 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Start completed. +16-02-2020 16:40:23.628 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:40:23.634 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:40:23.716 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:40:23.732 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:40:23.733 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:40:23.784 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:40:23.847 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:40:23.850 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:40:23.874 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:40:23.897 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:40:23.898 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:40:23.899 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.55 seconds (JVM running for 2658.001) +16-02-2020 16:40:23.910 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:40:24.184 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:40:24.185 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:40:24.187 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 16:42:28.466 [http-nio-9090-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause +java.lang.IllegalArgumentException: The given id must not be null! + at org.springframework.util.Assert.notNull(Assert.java:198) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:222) + at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy152.findById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.getById(GenericService.java:26) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.getById() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:96) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:43:20.746 [Thread-22] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:43:20.747 [Thread-22] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:43:20.753 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown initiated... +16-02-2020 16:43:20.962 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown completed. +16-02-2020 16:43:21.056 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:43:21.056 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:43:21.188 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:43:21.204 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. +16-02-2020 16:43:21.246 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:43:21.278 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:43:21.278 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:43:21.279 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:43:21.279 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:43:21.283 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:43:21.283 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 224 ms +16-02-2020 16:43:21.308 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Starting... +16-02-2020 16:43:21.325 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Start completed. +16-02-2020 16:43:21.330 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:43:21.336 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:43:21.414 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:43:21.421 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:43:21.423 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:43:21.475 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:43:21.550 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:43:21.553 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:43:21.574 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:43:21.597 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:43:21.598 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:43:21.599 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.561 seconds (JVM running for 2835.701) +16-02-2020 16:43:21.610 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:43:33.084 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:43:33.084 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:43:33.086 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 16:43:33.099 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause +java.lang.IllegalArgumentException: The given id must not be null! + at org.springframework.util.Assert.notNull(Assert.java:198) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:222) + at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy170.findById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.getById(GenericService.java:26) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.getById() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:96) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:43:45.404 [http-nio-9090-exec-9] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!] with root cause +java.lang.IllegalArgumentException: The given id must not be null! + at org.springframework.util.Assert.notNull(Assert.java:198) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.findById(SimpleJpaRepository.java:222) + at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy170.findById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.getById(GenericService.java:26) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.getById() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:96) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:45:18.262 [Thread-28] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:45:18.263 [Thread-28] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:45:18.264 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown initiated... +16-02-2020 16:45:18.469 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown completed. +16-02-2020 16:45:18.545 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:45:18.546 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:45:18.670 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:45:18.719 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 49ms. Found 8 repository interfaces. +16-02-2020 16:45:18.757 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:45:18.792 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:45:18.793 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:45:18.793 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:45:18.793 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:45:18.797 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:45:18.797 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 249 ms +16-02-2020 16:45:18.830 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Starting... +16-02-2020 16:45:18.835 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Start completed. +16-02-2020 16:45:18.839 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:45:18.845 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:45:18.918 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:45:18.925 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:45:18.927 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:45:19.020 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:45:19.085 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:45:19.090 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:45:19.111 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:45:19.138 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:45:19.139 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:45:19.139 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.608 seconds (JVM running for 2953.242) +16-02-2020 16:45:19.168 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:45:19.773 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:45:19.773 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:45:19.775 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 16:45:28.593 [http-nio-9090-exec-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 16:45:28.593 [http-nio-9090-exec-5] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] +16-02-2020 16:45:28.594 [http-nio-9090-exec-5] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 16:45:28.597 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy183.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:48:38.538 [http-nio-9090-exec-8] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 16:48:38.538 [http-nio-9090-exec-8] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] +16-02-2020 16:48:38.538 [http-nio-9090-exec-8] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 16:48:38.539 [http-nio-9090-exec-8] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy183.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$45a8088.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:51:07.219 [Thread-34] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:51:07.220 [Thread-34] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:51:07.220 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown initiated... +16-02-2020 16:51:07.453 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown completed. +16-02-2020 16:51:07.548 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 9919 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:51:07.548 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:51:07.701 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:51:07.725 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 24ms. Found 8 repository interfaces. +16-02-2020 16:51:07.756 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$216232d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:51:07.792 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:51:07.793 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:51:07.793 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:51:07.793 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:51:07.797 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:51:07.798 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 248 ms +16-02-2020 16:51:07.823 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Starting... +16-02-2020 16:51:07.837 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Start completed. +16-02-2020 16:51:07.842 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:51:07.854 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:51:07.945 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:51:07.954 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:51:07.955 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:51:08.027 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:51:08.092 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:51:08.095 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:51:08.115 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:51:08.139 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:51:08.140 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:51:08.140 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.608 seconds (JVM running for 3302.243) +16-02-2020 16:51:08.158 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:51:09.123 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:51:09.123 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:51:09.125 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 16:54:30.657 [HikariPool-7 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool.run - HikariPool-7 - Thread starvation or clock leap detected (housekeeper delta=52s718ms495µs218ns). +16-02-2020 16:55:07.008 [Thread-45] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:55:07.008 [Thread-45] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:55:07.009 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown initiated... +16-02-2020 16:55:07.010 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown completed. +16-02-2020 16:55:09.783 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13316 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:55:09.785 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:55:09.803 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 16:55:09.803 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 16:55:10.151 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:55:10.195 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 16:55:10.394 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f4b43c51] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:55:10.601 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:55:10.609 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:55:10.615 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:55:10.616 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:55:10.655 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:55:10.655 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 852 ms +16-02-2020 16:55:10.723 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 16:55:10.792 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 16:55:10.813 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:55:10.832 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 16:55:10.833 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 16:55:10.881 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 16:55:10.932 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:55:11.332 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:55:11.352 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:55:11.354 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:55:11.571 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:55:11.728 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:55:11.744 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:55:11.802 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:55:11.863 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:55:11.871 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:55:11.873 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.265 seconds (JVM running for 2.759) +16-02-2020 16:55:12.475 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:55:12.476 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:55:12.479 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 16:56:48.451 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:56:48.453 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:56:48.455 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 16:56:48.670 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 16:56:48.751 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13316 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:56:48.752 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:56:48.976 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:56:49.001 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 24ms. Found 8 repository interfaces. +16-02-2020 16:56:49.045 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f4b43c51] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:56:49.095 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:56:49.096 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:56:49.096 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:56:49.096 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:56:49.104 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:56:49.104 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 350 ms +16-02-2020 16:56:49.147 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... +16-02-2020 16:56:49.155 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. +16-02-2020 16:56:49.160 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:56:49.170 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:56:49.292 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:56:49.302 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:56:49.304 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:56:49.374 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:56:49.446 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:56:49.449 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:56:49.471 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:56:49.496 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:56:49.497 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:56:49.498 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.769 seconds (JVM running for 100.384) +16-02-2020 16:56:49.510 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:56:49.542 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:56:49.543 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:56:49.545 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 16:58:33.204 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:58:33.206 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:58:33.206 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... +16-02-2020 16:58:33.424 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. +16-02-2020 16:58:33.504 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13316 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:58:33.504 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:58:33.648 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:58:33.673 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 24ms. Found 8 repository interfaces. +16-02-2020 16:58:33.708 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f4b43c51] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:58:33.746 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:58:33.747 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:58:33.747 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:58:33.747 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:58:33.752 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:58:33.752 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 246 ms +16-02-2020 16:58:33.787 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... +16-02-2020 16:58:33.794 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. +16-02-2020 16:58:33.798 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:58:33.804 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:58:33.893 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:58:33.904 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:58:33.905 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:58:33.969 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:58:34.037 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:58:34.041 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:58:34.062 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:58:34.086 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:58:34.088 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:58:34.088 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.601 seconds (JVM running for 204.974) +16-02-2020 16:58:34.096 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:58:34.097 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:58:34.100 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 16:58:34.103 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 16:58:41.163 [http-nio-9090-exec-4] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 16:58:41.163 [http-nio-9090-exec-4] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] +16-02-2020 16:58:41.164 [http-nio-9090-exec-4] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 16:58:41.170 [http-nio-9090-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy146.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$4703d2fa.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 16:59:39.458 [Thread-21] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 16:59:39.459 [Thread-21] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:59:39.459 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... +16-02-2020 16:59:39.460 [Thread-21] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. +16-02-2020 16:59:42.260 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 16:59:42.261 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 16:59:42.280 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 16:59:42.280 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 16:59:42.619 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 16:59:42.664 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 16:59:42.840 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 16:59:43.028 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 16:59:43.035 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 16:59:43.041 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 16:59:43.041 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 16:59:43.079 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 16:59:43.079 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 798 ms +16-02-2020 16:59:43.144 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 16:59:43.201 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 16:59:43.233 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 16:59:43.253 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 16:59:43.253 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 16:59:43.298 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 16:59:43.347 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 16:59:43.720 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 16:59:43.739 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 16:59:43.741 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 16:59:43.956 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 16:59:44.111 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 16:59:44.126 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 16:59:44.182 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 16:59:44.234 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 16:59:44.241 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 16:59:44.243 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.156 seconds (JVM running for 2.636) +16-02-2020 16:59:45.479 [http-nio-9090-exec-4] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 16:59:45.479 [http-nio-9090-exec-4] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 16:59:45.483 [http-nio-9090-exec-4] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms +16-02-2020 17:01:19.833 [Thread-5] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:01:19.835 [Thread-5] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:01:19.837 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 17:01:20.056 [Thread-5] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 17:01:20.124 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:01:20.125 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:01:20.262 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:01:20.280 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 18ms. Found 8 repository interfaces. +16-02-2020 17:01:20.314 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:01:20.351 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:01:20.352 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:01:20.352 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:01:20.352 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:01:20.357 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:01:20.357 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 231 ms +16-02-2020 17:01:20.391 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Starting... +16-02-2020 17:01:20.398 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-2 - Start completed. +16-02-2020 17:01:20.402 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:01:20.409 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:01:20.523 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:01:20.531 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:01:20.533 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:01:20.593 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:01:20.679 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:01:20.682 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:01:20.706 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:01:20.733 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:01:20.739 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:01:20.739 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.631 seconds (JVM running for 99.132) +16-02-2020 17:01:20.760 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 17:01:21.645 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:01:21.645 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:01:21.647 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 17:02:07.662 [Thread-10] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:02:07.663 [Thread-10] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:02:07.663 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown initiated... +16-02-2020 17:02:07.877 [Thread-10] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-2 - Shutdown completed. +16-02-2020 17:02:07.953 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:02:07.953 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:02:08.089 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:02:08.106 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 17ms. Found 8 repository interfaces. +16-02-2020 17:02:08.141 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:02:08.183 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:02:08.184 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:02:08.184 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:02:08.184 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:02:08.189 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:02:08.189 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 234 ms +16-02-2020 17:02:08.215 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Starting... +16-02-2020 17:02:08.221 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-3 - Start completed. +16-02-2020 17:02:08.225 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:02:08.234 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:02:08.331 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:02:08.340 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:02:08.342 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:02:08.402 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:02:08.476 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:02:08.480 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:02:08.501 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:02:08.525 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:02:08.526 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:02:08.527 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.593 seconds (JVM running for 146.919) +16-02-2020 17:02:08.538 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 17:02:09.037 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:02:09.038 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:02:09.040 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 17:02:16.927 [http-nio-9090-exec-3] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 17:02:16.928 [http-nio-9090-exec-3] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] +16-02-2020 17:02:16.928 [http-nio-9090-exec-3] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 17:02:16.929 [http-nio-9090-exec-3] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] +16-02-2020 17:02:16.934 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) + at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) + at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) + at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) + at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) + at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) + at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) + at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) + at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixQuantityService$$EnhancerBySpringCGLIB$$93026e0.deleteAll() + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:115) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:02:59.147 [Thread-16] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:02:59.148 [Thread-16] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:02:59.148 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown initiated... +16-02-2020 17:02:59.392 [Thread-16] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-3 - Shutdown completed. +16-02-2020 17:02:59.461 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:02:59.462 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:02:59.586 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:02:59.602 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. +16-02-2020 17:02:59.642 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:02:59.675 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:02:59.676 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:02:59.676 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:02:59.676 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:02:59.680 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:02:59.680 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 217 ms +16-02-2020 17:02:59.711 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Starting... +16-02-2020 17:02:59.724 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-4 - Start completed. +16-02-2020 17:02:59.728 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:02:59.735 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:02:59.814 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:02:59.821 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:02:59.823 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:02:59.876 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:02:59.951 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:02:59.954 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:02:59.975 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:02:59.998 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:03:00.000 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:03:00.000 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.553 seconds (JVM running for 198.393) +16-02-2020 17:03:00.012 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 17:03:01.154 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:03:01.155 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:03:01.157 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 17:03:09.746 [http-nio-9090-exec-9] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 17:03:09.746 [http-nio-9090-exec-9] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] +16-02-2020 17:03:09.746 [http-nio-9090-exec-9] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 17:03:09.748 [http-nio-9090-exec-9] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at jdk.internal.reflect.GeneratedMethodAccessor171.invoke(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy159.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:120) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:04:20.435 [Thread-22] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:04:20.436 [Thread-22] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:04:20.437 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown initiated... +16-02-2020 17:04:20.691 [Thread-22] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-4 - Shutdown completed. +16-02-2020 17:04:20.763 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:04:20.763 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:04:20.882 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:04:20.907 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 25ms. Found 8 repository interfaces. +16-02-2020 17:04:20.936 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:04:20.970 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:04:20.970 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:04:20.970 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:04:20.970 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:04:20.974 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:04:20.974 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 209 ms +16-02-2020 17:04:20.997 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Starting... +16-02-2020 17:04:21.009 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-5 - Start completed. +16-02-2020 17:04:21.013 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:04:21.018 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:04:21.089 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:04:21.096 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:04:21.098 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:04:21.159 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:04:21.220 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:04:21.223 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:04:21.242 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:04:21.265 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:04:21.266 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:04:21.266 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.517 seconds (JVM running for 279.659) +16-02-2020 17:04:21.279 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 17:04:22.028 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:04:22.028 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:04:22.030 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 17:05:50.983 [Thread-28] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:05:50.984 [Thread-28] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:05:50.984 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown initiated... +16-02-2020 17:05:51.216 [Thread-28] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-5 - Shutdown completed. +16-02-2020 17:05:51.303 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:05:51.303 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:05:51.451 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:05:51.482 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 31ms. Found 8 repository interfaces. +16-02-2020 17:05:51.511 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:05:51.545 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:05:51.546 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:05:51.546 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:05:51.546 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:05:51.550 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:05:51.550 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 244 ms +16-02-2020 17:05:51.582 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Starting... +16-02-2020 17:05:51.587 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-6 - Start completed. +16-02-2020 17:05:51.591 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:05:51.597 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:05:51.695 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:05:51.706 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:05:51.707 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:05:51.765 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:05:51.828 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:05:51.831 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:05:51.850 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:05:51.875 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:05:51.877 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:05:51.877 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.589 seconds (JVM running for 370.27) +16-02-2020 17:05:51.890 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 17:05:52.677 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:05:52.677 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:05:52.679 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 17:06:05.654 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session] with root cause +org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session + at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:602) + at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:217) + at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:581) + at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:148) + at org.hibernate.collection.internal.PersistentBag.iterator(PersistentBag.java:303) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.deleteAll(GenericService.java:83) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService$$FastClassBySpringCGLIB$$12a51cb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixQuantityService$$EnhancerBySpringCGLIB$$93026e0.deleteAll() + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.edit(MixService.java:118) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:09:30.267 [Thread-34] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:09:30.268 [Thread-34] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:09:30.269 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown initiated... +16-02-2020 17:09:30.515 [Thread-34] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-6 - Shutdown completed. +16-02-2020 17:09:30.603 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 13847 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:09:30.603 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:09:30.764 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:09:30.780 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 16ms. Found 8 repository interfaces. +16-02-2020 17:09:30.808 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c30e102c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:09:30.842 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:09:30.842 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:09:30.842 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:09:30.842 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:09:30.847 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:09:30.847 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 242 ms +16-02-2020 17:09:30.870 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Starting... +16-02-2020 17:09:30.881 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-7 - Start completed. +16-02-2020 17:09:30.885 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:09:30.901 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:09:30.992 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:09:30.999 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:09:31.001 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:09:31.060 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:09:31.120 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:09:31.123 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:09:31.142 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:09:31.164 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:09:31.168 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:09:31.169 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 0.581 seconds (JVM running for 589.562) +16-02-2020 17:09:31.214 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener.onApplicationEvent - Condition evaluation unchanged +16-02-2020 17:09:41.495 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:09:41.495 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:09:41.497 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 2 ms +16-02-2020 17:09:41.498 [http-nio-9090-exec-1] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] +16-02-2020 17:09:43.353 [http-nio-9090-exec-5] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] +16-02-2020 17:09:44.449 [http-nio-9090-exec-3] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver.logException - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] +16-02-2020 17:09:54.645 [http-nio-9090-exec-7] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 17:09:54.645 [http-nio-9090-exec-7] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] +16-02-2020 17:09:54.645 [http-nio-9090-exec-7] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 17:09:54.645 [http-nio-9090-exec-7] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] +16-02-2020 17:09:54.646 [http-nio-9090-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK5YEDOHA3OQDRQ4W0YWKVKIU3W: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_QUANTITIES_ID) REFERENCES PUBLIC.MIX_QUANTITY(ID) (14)"; SQL statement: +delete from mix_quantity where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) + at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) + at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) + at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) + at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) + at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) + at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) + at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) + at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$5c0e6e1.edit() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.saveMix(MixEditorController.java:103) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:15:59.461 [Thread-45] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:15:59.462 [Thread-45] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:15:59.462 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown initiated... +16-02-2020 17:15:59.463 [Thread-45] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-7 - Shutdown completed. +16-02-2020 17:16:02.047 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15215 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:16:02.049 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:16:02.074 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 17:16:02.075 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 17:16:02.420 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:16:02.463 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 17:16:02.631 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$298066f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:16:02.815 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:16:02.822 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:16:02.828 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:16:02.828 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:16:02.865 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:16:02.865 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 790 ms +16-02-2020 17:16:02.938 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 17:16:02.996 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 17:16:03.016 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:16:03.035 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 17:16:03.036 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 17:16:03.080 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 17:16:03.130 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:16:03.187 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext.refresh - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixQuantities +16-02-2020 17:16:03.188 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 17:16:03.404 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 17:16:03.405 [restartedMain] INFO o.a.catalina.core.StandardService.log - Stopping service [Tomcat] +16-02-2020 17:16:03.413 [restartedMain] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener.logMessage - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +16-02-2020 17:16:03.416 [restartedMain] ERROR o.s.boot.SpringApplication.reportFailure - Application run failed +org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixQuantities + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) + at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) + at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) + at dev.fyloz.trial.colorrecipesexplorer.ColorRecipesExplorerApplication.main(ColorRecipesExplorerApplication.java:32) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) +Caused by: org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: dev.fyloz.trial.colorrecipesexplorer.core.model.Mix.mixQuantities + at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:484) + at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:2149) + at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:969) + at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:796) + at org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.processEntityHierarchies(AnnotationMetadataSourceProcessorImpl.java:250) + at org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.processEntityHierarchies(MetadataBuildingProcess.java:231) + at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:274) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:904) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:935) + at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:57) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) + ... 21 common frames omitted +16-02-2020 17:16:32.365 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15339 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:16:32.367 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:16:32.386 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 17:16:32.386 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 17:16:32.724 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:16:32.768 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 17:16:32.940 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b56eddaf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:16:33.125 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:16:33.132 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:16:33.138 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:16:33.138 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:16:33.176 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:16:33.176 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 790 ms +16-02-2020 17:16:33.242 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 17:16:33.314 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 17:16:33.335 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:16:33.354 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 17:16:33.355 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 17:16:33.401 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 17:16:33.453 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:16:33.847 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:16:33.866 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:16:33.868 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:16:34.085 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:16:34.237 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:16:34.253 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:16:34.310 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:16:34.362 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:16:34.369 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:16:34.371 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.162 seconds (JVM running for 2.633) +16-02-2020 17:16:35.485 [http-nio-9090-exec-2] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:16:35.486 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:16:35.490 [http-nio-9090-exec-2] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 3 ms +16-02-2020 17:17:17.386 [http-nio-9090-exec-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 17:17:17.386 [http-nio-9090-exec-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: +delete from mix where id=? [23503-199] +16-02-2020 17:17:17.387 [http-nio-9090-exec-1] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 17:17:17.388 [http-nio-9090-exec-1] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] +16-02-2020 17:17:17.393 [http-nio-9090-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: +delete from mix where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: +delete from mix where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) + at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) + at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) + at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) + at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) + at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) + at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) + at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) + at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy106.delete(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.delete(GenericService.java:72) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.deleteMix(MixService.java:130) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$55d700.deleteMix() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.deleteMix(MixEditorController.java:130) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:18:36.974 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:18:36.976 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:18:36.978 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 17:18:36.980 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 17:18:39.753 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15555 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:18:39.754 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:18:39.779 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 17:18:39.779 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 17:18:40.131 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:18:40.176 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 42ms. Found 8 repository interfaces. +16-02-2020 17:18:40.347 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ad7eb256] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:18:40.531 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:18:40.539 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:18:40.544 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:18:40.545 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:18:40.582 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:18:40.582 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 802 ms +16-02-2020 17:18:40.648 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 17:18:40.706 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 17:18:40.726 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:18:40.746 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 17:18:40.746 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 17:18:40.792 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 17:18:40.854 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:18:41.237 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:18:41.256 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:18:41.257 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:18:41.476 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:18:41.629 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:18:41.645 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:18:41.701 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:18:41.754 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:18:41.761 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:18:41.763 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.16 seconds (JVM running for 2.611) +16-02-2020 17:18:42.287 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:18:42.287 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:18:42.291 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms +16-02-2020 17:19:45.303 [http-nio-9090-exec-7] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23503, SQLState: 23503 +16-02-2020 17:19:45.303 [http-nio-9090-exec-7] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: +delete from mix where id=? [23503-199] +16-02-2020 17:19:45.304 [http-nio-9090-exec-7] INFO o.h.e.j.b.internal.AbstractBatchImpl.release - HHH000010: On release of batch it still contained JDBC statements +16-02-2020 17:19:45.305 [http-nio-9090-exec-7] ERROR o.h.i.ExceptionMapperStandardImpl.mapManagedFlushFailure - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement] +16-02-2020 17:19:45.311 [http-nio-9090-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: +delete from mix where id=? [23503-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK7I5LVFU5VVG7CKMIIX4VFOT5R: PUBLIC.MIX_MIX_QUANTITIES FOREIGN KEY(MIX_ID) REFERENCES PUBLIC.MIX(ID) (13)"; SQL statement: +delete from mix where id=? [23503-199] + at org.h2.message.DbException.getJdbcSQLException(DbException.java:457) + at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) + at org.h2.message.DbException.get(DbException.java:205) + at org.h2.message.DbException.get(DbException.java:181) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:373) + at org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:390) + at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:265) + at org.h2.table.Table.fireConstraints(Table.java:1020) + at org.h2.table.Table.fireAfterRow(Table.java:1038) + at org.h2.command.dml.Delete.update(Delete.java:129) + at org.h2.command.CommandContainer.update(CommandContainer.java:133) + at org.h2.command.Command.executeUpdate(Command.java:267) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:200) + at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:154) + at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) + at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) + at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175) + at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3480) + at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3737) + at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:99) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) + at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) + at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:356) + at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) + at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1453) + at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:510) + at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3282) + at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2478) + at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:178) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:39) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:271) + at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104) + at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:532) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) + at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) + at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:533) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy106.delete(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.delete(GenericService.java:72) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.deleteMix(MixService.java:130) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$8a616de2.deleteMix() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.editors.MixEditorController.deleteMix(MixEditorController.java:130) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:20:04.493 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:20:04.495 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:20:04.496 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 17:20:04.498 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. +16-02-2020 17:20:15.173 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarting - Starting ColorRecipesExplorerApplication on William-PC-Arch with PID 15804 (/home/william/Dev/Java/Spring/ColorRecipesExplorer/target/classes started by william in /home/william/Dev/Java/Spring/ColorRecipesExplorer) +16-02-2020 17:20:15.181 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStartupProfileInfo - No active profile set, falling back to default profiles: default +16-02-2020 17:20:15.200 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +16-02-2020 17:20:15.201 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor.logTo - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +16-02-2020 17:20:15.546 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Bootstrapping Spring Data repositories in DEFAULT mode. +16-02-2020 17:20:15.590 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate.registerRepositoriesIn - Finished Spring Data repository scanning in 41ms. Found 8 repository interfaces. +16-02-2020 17:20:15.762 [restartedMain] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$43430b91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +16-02-2020 17:20:15.946 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 9090 (http) +16-02-2020 17:20:15.953 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Initializing ProtocolHandler ["http-nio-9090"] +16-02-2020 17:20:15.959 [restartedMain] INFO o.a.catalina.core.StandardService.log - Starting service [Tomcat] +16-02-2020 17:20:15.959 [restartedMain] INFO o.a.catalina.core.StandardEngine.log - Starting Servlet engine: [Apache Tomcat/9.0.17] +16-02-2020 17:20:15.998 [restartedMain] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring embedded WebApplicationContext +16-02-2020 17:20:15.998 [restartedMain] INFO o.s.web.context.ContextLoader.prepareWebApplicationContext - Root WebApplicationContext: initialization completed in 797 ms +16-02-2020 17:20:16.065 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Starting... +16-02-2020 17:20:16.120 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource.getConnection - HikariPool-1 - Start completed. +16-02-2020 17:20:16.141 [restartedMain] INFO o.h.jpa.internal.util.LogHelper.logPersistenceUnitInformation - HHH000204: Processing PersistenceUnitInfo [ + name: default + ...] +16-02-2020 17:20:16.161 [restartedMain] INFO org.hibernate.Version.logVersion - HHH000412: Hibernate Core {5.3.9.Final} +16-02-2020 17:20:16.161 [restartedMain] INFO org.hibernate.cfg.Environment. - HHH000206: hibernate.properties not found +16-02-2020 17:20:16.207 [restartedMain] INFO o.h.annotations.common.Version. - HCANN000001: Hibernate Commons Annotations {5.0.4.Final} +16-02-2020 17:20:16.259 [restartedMain] INFO org.hibernate.dialect.Dialect. - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +16-02-2020 17:20:16.624 [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.buildNativeEntityManagerFactory - Initialized JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:20:16.643 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer.startServer - LiveReload server is running on port 35729 +16-02-2020 17:20:16.645 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication. - Le fichier des utilisateurs se situe à: /home/william/Dev/Java/Spring/ColorRecipesExplorer/./workdir/passwords +16-02-2020 17:20:16.864 [restartedMain] INFO o.h.h.i.QueryTranslatorFactoryInitiator.initiateService - HHH000397: Using ASTQueryTranslatorFactory +16-02-2020 17:20:17.022 [restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor.initialize - Initializing ExecutorService 'applicationTaskExecutor' +16-02-2020 17:20:17.038 [restartedMain] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration.openEntityManagerInViewInterceptor - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +16-02-2020 17:20:17.095 [restartedMain] INFO o.s.b.a.w.s.WelcomePageHandlerMapping. - Adding welcome page template: index +16-02-2020 17:20:17.148 [restartedMain] INFO o.a.coyote.http11.Http11NioProtocol.log - Starting ProtocolHandler ["http-nio-9090"] +16-02-2020 17:20:17.156 [restartedMain] INFO o.s.b.w.e.tomcat.TomcatWebServer.start - Tomcat started on port(s): 9090 (http) with context path '' +16-02-2020 17:20:17.158 [restartedMain] INFO d.f.t.c.ColorRecipesExplorerApplication.logStarted - Started ColorRecipesExplorerApplication in 2.143 seconds (JVM running for 2.603) +16-02-2020 17:20:17.550 [http-nio-9090-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/].log - Initializing Spring DispatcherServlet 'dispatcherServlet' +16-02-2020 17:20:17.551 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Initializing Servlet 'dispatcherServlet' +16-02-2020 17:20:17.555 [http-nio-9090-exec-1] INFO o.s.web.servlet.DispatcherServlet.initServletBean - Completed initialization in 4 ms +16-02-2020 17:21:19.525 [http-nio-9090-exec-6] ERROR org.thymeleaf.TemplateEngine.process - [THYMELEAF][http-nio-9090-exec-6] Exception processing template "materialType/edit": An error happened during template parsing (template: "class path resource [templates/materialType/edit.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/materialType/edit.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "materialType.materialTypeName" (template: "materialType/edit" - line 5, col 13) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 52 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "materialType.materialTypeName" (template: "materialType/edit" - line 5, col 13) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:290) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpressionParameters(FragmentExpression.java:529) + at org.thymeleaf.standard.expression.FragmentExpression.doCreateExecutedFragmentExpression(FragmentExpression.java:471) + at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpression(FragmentExpression.java:426) + at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.computeFragment(AbstractStandardFragmentInsertionTagProcessor.java:359) + at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:110) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 54 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeName' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + ... 81 common frames omitted +16-02-2020 17:21:19.527 [http-nio-9090-exec-6] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/materialType/edit.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'materialTypeName' cannot be found on object of type 'dev.fyloz.trial.colorrecipesexplorer.core.model.MaterialType' - maybe not public or not valid? + at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:217) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) + at org.springframework.expression.spel.ast.PropertyOrFieldReference.access$000(PropertyOrFieldReference.java:51) + at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:406) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:90) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:109) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:328) + at org.thymeleaf.spring5.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:263) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpressionParameters(FragmentExpression.java:529) + at org.thymeleaf.standard.expression.FragmentExpression.doCreateExecutedFragmentExpression(FragmentExpression.java:471) + at org.thymeleaf.standard.expression.FragmentExpression.createExecutedFragmentExpression(FragmentExpression.java:426) + at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.computeFragment(AbstractStandardFragmentInsertionTagProcessor.java:359) + at org.thymeleaf.standard.processor.AbstractStandardFragmentInsertionTagProcessor.doProcess(AbstractStandardFragmentInsertionTagProcessor.java:110) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:24:51.269 [http-nio-9090-exec-7] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +16-02-2020 17:24:51.269 [http-nio-9090-exec-7] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 4"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] +16-02-2020 17:24:51.275 [http-nio-9090-exec-7] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 4"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 4"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] + 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.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy106.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.create(MixService.java:85) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$6e92959.create() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:105) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:30:39.940 [http-nio-9090-exec-3] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +16-02-2020 17:30:39.940 [http-nio-9090-exec-3] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 26"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] +16-02-2020 17:30:39.941 [http-nio-9090-exec-3] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 26"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause +org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 26"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] + at 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.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy106.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.create(MixService.java:85) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$6e92959.create() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:105) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:31:04.519 [http-nio-9090-exec-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - SQL Error: 23505, SQLState: 23505 +16-02-2020 17:31:04.520 [http-nio-9090-exec-5] ERROR o.h.e.jdbc.spi.SqlExceptionHelper.logExceptions - Unique index or primary key violation: "PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: +insert into material (inventory_quantity, is_mix_type, material_type_id, name, id) values (?, ?, ?, ?, ?) [23505-199] +16-02-2020 17:31:04.521 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet].log - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint ["PUBLIC.UK_J8LH9456BUIW3BL8PG6KBUWLN_INDEX_4 ON PUBLIC.MATERIAL(NAME) VALUES 22"; SQL statement: +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.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:50) + at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1414) + at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1500) + at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) + at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) + at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1553) + at org.springframework.data.jpa.repository.support.SimpleJpaRepository.existsById(SimpleJpaRepository.java:279) + at jdk.internal.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359) + at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) + at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) + at com.sun.proxy.$Proxy106.existsById(Unknown Source) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.existsById(GenericService.java:124) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.exists(GenericService.java:119) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.isValidForUpdate(GenericService.java:108) + at dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService.update(GenericService.java:60) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService.create(MixService.java:85) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$FastClassBySpringCGLIB$$9b6cffb1.invoke() + at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) + at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) + at dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService$$EnhancerBySpringCGLIB$$6e92959.create() + at dev.fyloz.trial.colorrecipesexplorer.web.controller.creators.MixCreatorController.createMix(MixCreatorController.java:105) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:566) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:834) +16-02-2020 17:31:43.282 [Thread-9] INFO o.s.s.c.ThreadPoolTaskExecutor.shutdown - Shutting down ExecutorService 'applicationTaskExecutor' +16-02-2020 17:31:43.284 [Thread-9] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean.destroy - Closing JPA EntityManagerFactory for persistence unit 'default' +16-02-2020 17:31:43.286 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown initiated... +16-02-2020 17:31:43.288 [Thread-9] INFO com.zaxxer.hikari.HikariDataSource.close - HikariPool-1 - Shutdown completed. diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/exception/model/EntityLinkedException.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/exception/model/EntityLinkedException.java new file mode 100644 index 0000000..b6c1f98 --- /dev/null +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/exception/model/EntityLinkedException.java @@ -0,0 +1,13 @@ +package dev.fyloz.trial.colorrecipesexplorer.core.exception.model; + +import dev.fyloz.trial.colorrecipesexplorer.core.model.IModel; + +/** + * Représente une exception qui sera lancée lorsqu'un objet du modèle qui est lié à un autre entité doit être supprimé + */ +public class EntityLinkedException extends ModelException { + + public EntityLinkedException(Class type) { + super(type); + } +} diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/GenericService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/GenericService.java index 95c7e6f..8370ba6 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/GenericService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/GenericService.java @@ -23,8 +23,7 @@ public class GenericService> protected Logger logger = ColorRecipesExplorerApplication.LOGGER; protected R dao; - - private Class type; + protected Class type; public GenericService(R dao, Class type) { this.dao = dao; @@ -79,6 +78,14 @@ public class GenericService> dao.delete(entity); } + @Override + public void deleteById(Long id) { + if (!existsById(id)) + throw new EntityNotFoundException(type, ModelException.IdentifierType.ID, id); + + delete(getById(id)); + } + @Override @Transactional public void deleteAll(@NonNull List entities) { diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/IGenericService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/IGenericService.java index 3141c54..5864586 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/IGenericService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/IGenericService.java @@ -53,6 +53,13 @@ public interface IGenericService { */ void delete(T entity); + /** + * Supprime une entité correspondant à l'identifiant. + * + * @param id L'identifiant de l'entité à supprimer + */ + void deleteById(Long id); + /** * Supprime plusieurs entités. * diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/FilesService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/FilesService.java new file mode 100644 index 0000000..016b034 --- /dev/null +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/FilesService.java @@ -0,0 +1,50 @@ +package dev.fyloz.trial.colorrecipesexplorer.core.services.files; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.core.io.ResourceLoader; +import org.springframework.stereotype.Service; +import org.springframework.util.FileCopyUtils; + +import java.io.IOException; +import java.io.InputStream; +import java.nio.charset.StandardCharsets; + +@Service +public class FilesService { + + private ResourceLoader resources; + + @Autowired + public FilesService(ResourceLoader resources) { + this.resources = resources; + } + + /** + * Lit un fichier dans le dossier resources. + * + * @param path Le chemin vers la fichier (sans classpath:, depuis le dossier resources) + * @return Le contenu du fichier + */ + public String readResourceFile(String path) { + String fullPath = String.format("classpath:%s", path); + try (InputStream stream = resources.getResource(fullPath).getInputStream()) { + return readInputStreamAsString(stream); + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } + + /** + * Lit un InputStream et le transforme en String + * + * @param input L'InputStream + * @return Le InputStream transformé en String + * @throws IOException Si la transformation vers un String échoue + */ + public String readInputStreamAsString(InputStream input) throws IOException { + byte[] data = FileCopyUtils.copyToByteArray(input); + return new String(data, StandardCharsets.UTF_8); + } + +} diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/MarkdownFilesService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/MarkdownFilesService.java new file mode 100644 index 0000000..e38aee8 --- /dev/null +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/files/MarkdownFilesService.java @@ -0,0 +1,35 @@ +package dev.fyloz.trial.colorrecipesexplorer.core.services.files; + +import org.commonmark.node.Node; +import org.commonmark.parser.Parser; +import org.commonmark.renderer.html.HtmlRenderer; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +public class MarkdownFilesService { + + private FilesService filesService; + + @Autowired + public MarkdownFilesService(FilesService filesService) { + this.filesService = filesService; + } + + /** + * Lit et fait le rendu en HTML d'un fichier MarkDown. + * + * @param path Le chemin vers la fichier (sans classpath:, depuis le dossier resources) + * @return Le MarkDown rendu en HTML + */ + public String renderMarkdown(String path) { + String fileContent = filesService.readResourceFile(path); + + Parser parser = Parser.builder().build(); + Node document = parser.parse(fileContent); + HtmlRenderer renderer = HtmlRenderer.builder().build(); + + return renderer.render(document); + } + +} diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/CompanyService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/CompanyService.java index 1a963ff..fe8ed13 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/CompanyService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/CompanyService.java @@ -1,5 +1,6 @@ package dev.fyloz.trial.colorrecipesexplorer.core.services.model; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityLinkedException; import dev.fyloz.trial.colorrecipesexplorer.core.model.Company; import dev.fyloz.trial.colorrecipesexplorer.core.services.GenericService; import dev.fyloz.trial.colorrecipesexplorer.dao.CompanyDao; @@ -14,27 +15,44 @@ public class CompanyService extends GenericService { @Autowired public CompanyService(CompanyDao companyDao, RecipeDao recipeDao) { - super(companyDao); + super(companyDao, Company.class); this.recipeDao = recipeDao; } + @Override + public void delete(Company entity) { + if (isLinkedToRecipes(entity)) throw new EntityLinkedException(type); + + super.delete(entity); + } + @Override public boolean isValidForCreation(Company entity) { return super.isValidForCreation(entity) && !existsByName(entity.getName()); } + /** + * Vérifie si une bannière correspondant à un nom existe. + * + * @param name Le nom de la bannière + * @return Si une bannière correspondant au nome existe + */ public boolean existsByName(String name) { return dao.existsByName(name); } + /** + * Vérifie si une bannière est liée à une recette. + * + * @param company La bannière + * @return Si la bannière est liée à une recette + */ public boolean isLinkedToRecipes(Company company) { return !recipeDao.findAllByCompany(company).isEmpty(); } - public boolean deleteIfNotLinked(Company company) { - if (company == null) return false; - if (isLinkedToRecipes(company)) return false; - - return delete(company); + @Deprecated(since = "1.3.0", forRemoval = true) + public void deleteIfNotLinked(Company company) { + if (!isLinkedToRecipes(company)) delete(company); } } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixService.java index 4404afe..ce872e5 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/MixService.java @@ -14,6 +14,8 @@ import javax.validation.constraints.NotNull; import java.util.*; import java.util.stream.Collectors; +import static dev.fyloz.trial.colorrecipesexplorer.web.StringBank.MATERIALS; + @Service public class MixService extends GenericService { @@ -31,6 +33,39 @@ public class MixService extends GenericService { this.recipeService = recipeService; } + /** + * Récupère les produits disponibles pour un mélange. + * Le mélange peut ne pas exister. + * + * @param recipeId L'identifiant de la recette dans laquelle se trouve le mélange + * @param mixId L'identifiant du mélange (-1 si le mélange n'existe pas) + * @return Les produits disponibles pour ce mélange + */ + public Collection getAvailableMaterialsForMixId(Long recipeId, Long mixId) { + Recipe recipe = recipeService.getById(recipeId); + return existsById(mixId) ? getAvailableMaterialsForMix(recipe, getById(mixId)) : getAvailableMaterialsForNewMix(recipe); + } + + /** + * Récupère les produits disponibles pour un mélange existant. + * + * @param recipe La recette dans laquelle se trouve le mélange + * @param mix Le mélange + * @return Les produits disponibles pour ce mélange + */ + public Collection getAvailableMaterialsForMix(Recipe recipe, Mix mix) { + return getAvailableMaterialsForNewMix(recipe) + .stream() + .filter(m -> !m.equals(mix.getMixType().getMaterial())) + .collect(Collectors.toList()); + } + + /** + * Récupère les produits disponibles pour un mélange inexistant. + * + * @param recipe La recette dans laquelle se trouve le mélange + * @return Les produits disponibles pour le nouveau mélange + */ public Collection getAvailableMaterialsForNewMix(Recipe recipe) { Collection recipeMixTypes = recipeService.getAssociatedMixesTypes(recipe); @@ -43,13 +78,6 @@ public class MixService extends GenericService { .collect(Collectors.toList()); } - public Collection getAvailableMaterialsForMix(Recipe recipe, Mix mix) { - return getAvailableMaterialsForNewMix(recipe) - .stream() - .filter(m -> !m.equals(mix.getMixType().getMaterial())) - .collect(Collectors.toList()); - } - @Transactional public ModelResponseBuilder create(MixCreationFormDto formDto, @NotNull Recipe recipe) { ModelResponseBuilder modelResponseBuilder = new ModelResponseBuilder(); diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/RecipeService.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/RecipeService.java index 43e8c89..4dac948 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/RecipeService.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/services/model/RecipeService.java @@ -73,6 +73,12 @@ public class RecipeService extends GenericService { return convertAndCreateSteps(storedRecipe, form); } + /** + * Met à jour les informations d'une recette trouvées dans l'explorateur de recette. + * + * @param form Le formulaire contenant les données mises à jour + */ + @Transactional public void updateRecipeExplorerInfos(RecipeExplorerFormDto form) { long recipeId = form.getRecipeId(); Map locations = form.getLocations(); @@ -117,6 +123,31 @@ public class RecipeService extends GenericService { return Arrays.stream(result).map(File::getName).collect(Collectors.toList()); } + /** + * Récupère les mélanges d'une recette triés selon leur identifiant. + * + * @param recipe La recette + * @return Les mélanges de la recette triés selon leur identifiant + */ + public Collection getMixesSortedById(Recipe recipe) { + return getMixesSorted(recipe, Comparator.comparing(Mix::getId)); + } + + /** + * Récupère les mélanges d'une recette triés selon un comparateur. + * + * @param recipe La recette + * @param comparator Le comparateur, ou la méthode de triage + * @return Les mélanges de la recette triés selon le comparateur + */ + public Collection getMixesSorted(Recipe recipe, Comparator comparator) { + return recipe + .getMixes() + .parallelStream() + .sorted(comparator) + .collect(Collectors.toList()); + } + /** * Récupère les types de mélanges associés à la recette. * diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/FileUtils.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/FileUtils.java index be7277a..dda22ef 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/FileUtils.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/core/utils/FileUtils.java @@ -7,6 +7,7 @@ import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; +@Deprecated(since = "1.3.0", forRemoval = true) public class FileUtils { public static String readClasspathFile(ResourceLoader loader, String path) { diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/InventoryController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/InventoryController.java index f03ead1..115ec9c 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/InventoryController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/InventoryController.java @@ -137,15 +137,4 @@ public class InventoryController { .addResponseCode(ResponseCode.SUCCESS_USING_MATERIALS) .build(); } - - // @GetMapping(value = SEARCH_INVENTORY, produces = MediaType.APPLICATION_JSON_VALUE) - // @ResponseBody - public Map searchWordInventory(@RequestParam String searchString) { - List searchResult = materialService.getAllBySearchString(searchString); - List outputResult = searchResult.stream().map(Material::getId).collect(Collectors.toList()); - - return new JSONResponseBuilder() - .addAttribute("result", outputResult) - .build(); - } } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/OthersController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/OthersController.java index 610a001..7cc0d99 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/OthersController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/OthersController.java @@ -1,19 +1,11 @@ package dev.fyloz.trial.colorrecipesexplorer.web.controller; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityNotFoundException; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ModelResponseBuilder; -import dev.fyloz.trial.colorrecipesexplorer.core.model.Material; -import dev.fyloz.trial.colorrecipesexplorer.core.model.Mix; -import dev.fyloz.trial.colorrecipesexplorer.core.model.Recipe; -import dev.fyloz.trial.colorrecipesexplorer.core.services.model.MaterialService; +import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseCode; +import dev.fyloz.trial.colorrecipesexplorer.core.services.files.MarkdownFilesService; import dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService; -import dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixTypeService; -import dev.fyloz.trial.colorrecipesexplorer.core.services.model.RecipeService; -import dev.fyloz.trial.colorrecipesexplorer.core.utils.FileUtils; -import org.commonmark.node.Node; -import org.commonmark.parser.Parser; -import org.commonmark.renderer.html.HtmlRenderer; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.core.io.ResourceLoader; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; @@ -23,32 +15,23 @@ import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.servlet.ModelAndView; -import java.util.Collection; -import java.util.Optional; - import static dev.fyloz.trial.colorrecipesexplorer.web.StringBank.MATERIALS; import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.*; @Controller public class OthersController { - private RecipeService recipeService; - private MaterialService materialService; - private MixTypeService mixTypeService; private MixService mixService; - private ResourceLoader resourceLoader; + private MarkdownFilesService markdownService; @Autowired - public OthersController(RecipeService recipeService, MaterialService materialService, MixTypeService mixTypeService, MixService mixService, ResourceLoader resourceLoader) { - this.recipeService = recipeService; - this.materialService = materialService; - this.mixTypeService = mixTypeService; + public OthersController(MixService mixService, MarkdownFilesService markdownService) { this.mixService = mixService; - this.resourceLoader = resourceLoader; + this.markdownService = markdownService; } @GetMapping(CLOSE_TAB) - public ModelAndView closeTab() { + public ModelAndView getCloseTab() { return new ModelResponseBuilder(CLOSE_TAB).build(); } @@ -56,38 +39,23 @@ public class OthersController { public ModelAndView getMaterialSelectorFragment(@PathVariable Long recipeId, @PathVariable Long mixId) { ModelResponseBuilder modelResponseBuilder = new ModelResponseBuilder(MATERIAL_SELECTOR_FRAGMENT); - Optional optionalRecipe = recipeService.getById(recipeId); - if (optionalRecipe.isEmpty()) { - return modelResponseBuilder - .withView("") - .build(); + try { + modelResponseBuilder.addAttribute(MATERIALS, mixService.getAvailableMaterialsForMixId(recipeId, mixId)); + } catch (EntityNotFoundException ex) { + modelResponseBuilder.addResponseCode(ResponseCode.RECIPE_NOT_FOUND, recipeId); } - Optional optionalMix = mixService.getById(mixId); - boolean mixExist = optionalMix.isPresent(); - - Collection materials = mixExist ? mixService.getAvailableMaterialsForMix(optionalRecipe.get(), optionalMix.get()) : mixService.getAvailableMaterialsForNewMix(optionalRecipe.get()); - - return modelResponseBuilder - .addAttribute(MATERIALS, materials) - .build(); + return modelResponseBuilder.build(); } @GetMapping(value = UPDATES) - public ModelAndView showUpdates() { + public ModelAndView getUpdatesPage() { return new ModelResponseBuilder(UPDATES).build(); } @GetMapping(value = UPDATES_GET, produces = MediaType.TEXT_HTML_VALUE) @ResponseBody public ResponseEntity getUpdates() { - String fileContent = FileUtils.readClasspathFile(resourceLoader, "classpath:updates.md"); - if (fileContent == null) return ResponseEntity.status(HttpStatus.NOT_FOUND).build(); - - Parser parser = Parser.builder().build(); - Node document = parser.parse(fileContent); - HtmlRenderer renderer = HtmlRenderer.builder().build(); - - return new ResponseEntity<>(renderer.render(document), HttpStatus.OK); + return new ResponseEntity<>(markdownService.renderMarkdown("updates.md"), HttpStatus.OK); } } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/RecipeExplorerController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/RecipeExplorerController.java index b774b7a..b94f0da 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/RecipeExplorerController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/RecipeExplorerController.java @@ -5,18 +5,19 @@ import dev.fyloz.trial.colorrecipesexplorer.core.io.response.JSONResponseBuilder import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ModelResponseBuilder; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseCode; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseDataType; -import dev.fyloz.trial.colorrecipesexplorer.core.model.Mix; import dev.fyloz.trial.colorrecipesexplorer.core.model.Recipe; import dev.fyloz.trial.colorrecipesexplorer.core.model.dto.RecipeExplorerFormDto; -import dev.fyloz.trial.colorrecipesexplorer.core.services.model.MixService; import dev.fyloz.trial.colorrecipesexplorer.core.services.model.RecipeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.*; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.servlet.ModelAndView; -import java.util.*; +import java.util.Map; import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.*; @@ -24,27 +25,12 @@ import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.*; public class RecipeExplorerController { private RecipeService recipeService; - private MixService mixService; @Autowired - public RecipeExplorerController(RecipeService recipeService, MixService mixService) { + public RecipeExplorerController(RecipeService recipeService) { this.recipeService = recipeService; - this.mixService = mixService; } - /** - * Affiche la recette. - * Cette méthode requiert l'identifiant de la recette à affiche dans l'URL. - *

- * Modèle de la page: - * - error: Contient le message d'erreur, s'il y a lieu - * - recipe: Contient la recette - * - mixes: Contient les mélanges associées à la recette - * - images: Contient la liste des noms des images associées à la recette - * - * @param id L'identifiant de la recette - * @return La page à afficher. - */ @GetMapping(EXPLORER_RECIPE_SPECIFIC) public ModelAndView getPage(@PathVariable Long id) { ModelResponseBuilder modelResponseBuilder = new ModelResponseBuilder(EXPLORER_RECIPE); @@ -52,14 +38,9 @@ public class RecipeExplorerController { try { Recipe recipe = recipeService.getById(id); - modelResponseBuilder.addResponseData(ResponseDataType.RECIPE, recipe); - - List mixes = new ArrayList<>(recipe.getMixes()); // Convertit le PersistentBag en ArrayList - mixes.sort(Comparator.comparing(Mix::getId)); - return modelResponseBuilder .addResponseData(ResponseDataType.RECIPE, recipe) - .addResponseData(ResponseDataType.MIXES, mixes) + .addResponseData(ResponseDataType.MIXES, recipeService.getMixesSortedById(recipe)) .addResponseData(ResponseDataType.IMAGES, recipeService.getImageFiles(recipe)) .build(); } catch (EntityNotFoundException e) { @@ -76,20 +57,16 @@ public class RecipeExplorerController { JSONResponseBuilder responseBuilder = new JSONResponseBuilder(); try { + recipeService.updateRecipeExplorerInfos(form); responseBuilder.addResponseCode(ResponseCode.SUCCESS_SAVING_RECIPE_INFORMATIONS); } catch (EntityNotFoundException e) { - ResponseCode responseCode = null; - switch (e.getType().getSimpleName()) { - case "Recipe": - responseCode = ResponseCode.RECIPE_NOT_FOUND; - break; - case "Mix": - responseCode = ResponseCode.MIX_NOT_FOUND; - break; - } - - responseBuilder.addResponseCode(responseCode, e.getRequestedId()); + responseBuilder.addResponseCode( + e.getType().equals(Recipe.class) ? + ResponseCode.RECIPE_NOT_FOUND : + ResponseCode.MIX_NOT_FOUND, + e.getRequestedId() + ); } return responseBuilder.build(); diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/CompanyCreatorController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/CompanyCreatorController.java index 5eeb46a..2a3e92a 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/CompanyCreatorController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/creators/CompanyCreatorController.java @@ -1,5 +1,6 @@ package dev.fyloz.trial.colorrecipesexplorer.web.controller.creators; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityAlreadyExistsException; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ModelResponseBuilder; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseCode; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseDataType; @@ -14,10 +15,8 @@ import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.servlet.ModelAndView; import javax.validation.Valid; -import java.util.Optional; import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.CREATOR_COMPANY; -import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.INDEX; @Controller public class CompanyCreatorController { @@ -37,38 +36,15 @@ public class CompanyCreatorController { .build(); } - /** - * Permet à l'utilisateur de créer un bannière. - *

- * La création échouera si: - * - L'utilisateur n'est pas autorisé à effectuer cette action - * - La bannière existe déjà - * - Une erreur est survenue lors de la sauvegarde dans la base de données - *

- * Modèle de la page: - * - error: Contient le message d'erreur, s'il y a lieu - * - companyName: Contient le nom de la bannière - *

- * REQUIERT UNE AUTORISATION - * - * @param company La bannière à créer - * @return La page à afficher. - */ @PostMapping(value = CREATOR_COMPANY, consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) public ModelAndView createCompany(@ModelAttribute @Valid Company company) { - ModelResponseBuilder modelResponseBuilder = new ModelResponseBuilder().withRedirect(INDEX); + ModelResponseBuilder modelResponseBuilder = new ModelResponseBuilder(); - if (companyService.isValidForCreation(company)) { - Optional savedCompany = companyService.save(company); + try { + company = companyService.save(company); - if (savedCompany.isPresent()) { - return modelResponseBuilder - .addResponseData(ResponseDataType.COMPANY_NAME, savedCompany.get().getName()) - .build(); - } else { - modelResponseBuilder.addResponseCode(ResponseCode.ERROR_SAVING); - } - } else { + modelResponseBuilder.addResponseData(ResponseDataType.COMPANY_NAME, company.getName()); + } catch (EntityAlreadyExistsException ex) { modelResponseBuilder.addResponseCode(ResponseCode.COMPANY_ALREADY_EXIST, company.getName()); } diff --git a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/removers/CompanyRemoverController.java b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/removers/CompanyRemoverController.java index 54ed989..ac2a8c5 100644 --- a/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/removers/CompanyRemoverController.java +++ b/src/main/java/dev/fyloz/trial/colorrecipesexplorer/web/controller/removers/CompanyRemoverController.java @@ -1,9 +1,10 @@ package dev.fyloz.trial.colorrecipesexplorer.web.controller.removers; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityLinkedException; +import dev.fyloz.trial.colorrecipesexplorer.core.exception.model.EntityNotFoundException; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ModelResponseBuilder; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseCode; import dev.fyloz.trial.colorrecipesexplorer.core.io.response.ResponseDataType; -import dev.fyloz.trial.colorrecipesexplorer.core.model.Company; import dev.fyloz.trial.colorrecipesexplorer.core.services.model.CompanyService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -12,8 +13,6 @@ import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.servlet.ModelAndView; -import java.util.Optional; - import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.REMOVER_COMPANY; import static dev.fyloz.trial.colorrecipesexplorer.web.WebsitePaths.REMOVER_COMPANY_SPECIFIC; @@ -27,15 +26,6 @@ public class CompanyRemoverController { this.companyService = companyService; } - /** - * Affiche la page listant toutes les bannières. - *

- * Modèle de la page: - * - companies: Contient la liste de toutes les bannières - * - * @param model Le Model injecté par Thymeleaf - * @return La page à afficher - */ @GetMapping(REMOVER_COMPANY) public ModelAndView getPage(ModelAndView model) { return new ModelResponseBuilder(model) @@ -44,37 +34,17 @@ public class CompanyRemoverController { .build(); } - /** - * Permet à l'utilisateur de supprimer une bannière. - * La méthode requiert l'identifiant de la bannière à supprimer dans l'URL. - *

- * La suppression échouera si: - * - L'utilisateur n'est pas autorisé à exécuter cette action - * - Il n'y a aucune bannière avec cet identifiant - * - La bannière est associée à une ou plusieurs recettes - *

- * Modèle de la page: - * - error: Contient le message d'erreur, s'il y a lieu - * - successCompanyName: Contient le nom de la bannière supprimée - *

- * REQUIERT UNE AUTORISATION - * - * @param id L'identifiant de la bannière - * @return La page à afficher - */ - @PostMapping(REMOVER_COMPANY_SPECIFIC) public ModelAndView removeCompany(@PathVariable Long id) { ModelResponseBuilder modelResponseBuilder = new ModelResponseBuilder(""); - Optional optionalCompany = companyService.getById(id); - if (optionalCompany.isPresent()) { - Company company = optionalCompany.get(); + try { + companyService.deleteById(id); - if (companyService.deleteIfNotLinked(company)) - modelResponseBuilder.addResponseCode(ResponseCode.SUCCESS_DELETING_COMPANY, company.getName()); - else modelResponseBuilder.addResponseCode(ResponseCode.COMPANY_LINKED, company.getName()); - } else { + modelResponseBuilder.addResponseCode(ResponseCode.SUCCESS_DELETING_COMPANY, companyService.getById(id)); + } catch (EntityLinkedException ex) { + modelResponseBuilder.addResponseCode(ResponseCode.COMPANY_LINKED, companyService.getById(id)); + } catch (EntityNotFoundException ex) { modelResponseBuilder.addResponseCode(ResponseCode.COMPANY_NOT_FOUND, id); } diff --git a/workdir/recipes.mv.db b/workdir/recipes.mv.db new file mode 100644 index 0000000000000000000000000000000000000000..9c27de5c730525c467467a7d022e431f0390bc7c GIT binary patch literal 28672 zcmeI5%a7Z}8Ney6Xgjtywvzanc$bzRyH4Z{-=vfPH6>9JSI^aBS6igrP!yH8S?{{L zYu8PCD3Ts}ZqWzQ0xf#zt%stg9tspiP@q5?pe@i-&`bY-7CrXVkDTE{5-Dk81V{?* zK{G=RXTJG;Go1N`AGzf$o9^%K8}DQV6t?fbYi1dmrqjmTkM`cla$?#zF!dvIkYyxV zpczpb2$}S7|KNdslx5P7&4a`H`+HWt;jVdPyloz2Sx%DKK_+vWi2fo15rK$6L?9v% z5r_yx1R??vfrvmvAR-VE_zVyzNA~|`Knsxw5rK$6L?9v%5r_yx1R??vfrvmvAR-VE z_;d;2hx|Nt0$|g-COpee@7{lG*7PS?*5qhA(bV5E53>xDexN_hG6n=svK%kb>4)e9 zmp<6vKgtfkae$^}hLwf%(ftQzR+k1$-*Xb+sd@h_-+^nyuNPu5f>?z3-H+{XLH)<& zYvdJzIQ!<=e=b}m7?$G&Q6f)~&yc6dGvrxvk$jdsN1i8>)8x*x@U{Uf)zN{9gj*_dYRI1s{RkeI- zEtPN7no4~;wR+m3nbHa=DyNmSddHTz-mO;C=uBOysVQnxY30jGYgM4{xEW60NhWSm z*B48;re;g4DXnd)qHg;t!bf-D=#H488g<_}R|u)t9I#>RxhYMU;a_Sl8M^@?LUqJL#Wk2=`BsE&c>$IH`RKl(c0eG z=qmM&*4a)`#cD(8PzAN9bfFv2E=WvTYwy&w-cDz`3BYrWMpaenZtkK|ZL8x~jOvCJ z1W!4*Oh;h5)SUn=TS{C3C6?z_B0r`?r-~HfoJ_2O7QYs(MK|wUYJ{4Or$#=NOxyuA zemJKZ5$j_PfgsGymRi($-Y^Nu1NVfTrrOFww@^xIdzOkV#k>rPsm-kzDMT^2m3WN3 z0^0fJbnW0SIL}CfI*+F!2~?B@75#LUiU8+K#Z()4rK2_Kqu`yckH=C_ug6(hYF=xq zK^ZLicY%I>Zu-nPeX9YO`5G`k2w`q@n|Vk>`Nt#80O?nO^lxU9_U=(Lk&oZatQpQX zTQ~zeh^bF60XHJ=tTPi?I!K%cB~<5D0!*H2P=XWt3*K)yUa5nwzc}|OlgG60fOK?!33UG`czofkbB!#h z=6ITyEzMsB&A&fmWa0aMyQ4N|tG}kU+c05|Vjl;LOY}z9={p2*{@>UBws4IguaH;C z7s;2%YvdBSOj6`^GDY4XZ<4pj+vEzlO5Pz~CSM`bOHvE zO=WJ?6a!VWgIen7=PKyu-D&zk`R7s+RCqik6)h#b2#wNlqq=o%qpMCV&%2eKy4IE3 zMXkz~dfQw1RyU)RxfZYHg&lh>KgFD|Z;00P@e(xkgII7|9qS{!ozrAUQAqIB6sqi# zH2_4s1}yqBS***|at6#)usFB4TvcwC#7eHaRjp$dQ�Jj3t2a;}96m#64v(0yILU zn1@E_#cmUT#xl@&YbFg&ZD)!_Zlgdq%Nw0`PwuE)hVRuiT-2%isyOfD*`Nc3i}S{CYHH{{D&X|pS{99waV8k@JVJ?oeV*p9JA zP728U{OQSrO5~AoDh(Pzp_jW20#R>JHx^&RY}zW^OzL_6R!3ROsja%TUE`dDjhK$o z>QGx+r%Z7Y6k+XS3~>?T8wJHmPGft_Hoa9~nbuajBMWk=uwCu7BrL_0!RL%Co3J(i zT5PR-j*n-soiY%o2n3r9jh3pF>eepIYHG6f3CL3l^I8Yyt=h7%!akO}g)~w)wsl}$ zgzct$1sZu9kiHR$w7S7$=yp+RIag>3Wu?2ZRc_)+gUu;tf5ZW~0wDh!26C!p zRjhz8Zt5g_Yv9B9Iy?b+WfvTP0>FvsSevw_%%> zu1OuKn9uc8mRGkr#U8G0hTZ7)bUc2oJ(RzPu}Ka=f+$l61%4!>>MowJswktxB-)gLH^VOQO z`UUH30vq0saJsqE=@>xw*D0M2ZNG=^OcX1jvW#PM)>c+;59oEFdwdcD+I=vr$w_%+_W*r?NG9J;O1?0}8JdbvjzTI=+BNzKu{`X*SVVx!o>%9?I>`=&ww zC;-5}Oa(a0{w`KRv{c1-~IZb`RJeoPZJdTy5FB&AmADB1$auFTp*wIS4f_NBNy!Y z$cqrYVpj*PB8c?z(qfDtPZ7ye=7Wd?`OSZ)OZE^w1MkE->YH?tbaUTK^=Ura@?{ik( z0%WsDK`x7qbNZF#e?4!B$$)%}RVxE5;OA;G&Vq=dgo}Y-nWC>)C4ugrh2M+h1^B&c zJ$|?U&QnWQEe;%Dv;Mw7DMTDSuRoRAw4c{MQ*NU0mme)%PA=~056rdudjs>y8Y`W( zQ%8D#*IWbP5I*KzwoDt)U6ldf(lZi8Woax8J7#|a2OpJ@^v3|^m4Ps^trl?qHv$W=?o6_6Lx+M1riEm6l73fpkRQ4VN8x?V$d+- z4DyMS1}rZ+aWliSPJGDov>P{Q=eSIZhI3q|P1%Xla8G8O{4(R_kz`4ho#VP7^G>|a zd2xf0o$@8afHGx!W|3?eoVXoNd|akkH;$BzueFu! z#4TmxxX#kN6Nlp6GW)t$z9AU2y-bXLA_5VCh(JVuASV3p-S6q~-uLwM3`=KdU7pu> ze*S!?as47T90hDR`n>$%4v$PkanwW{pgDZRMC5qSL=@+jA}FWj|NjNzduTu5TLd8< ze?Q^-iFbYb3B0qPfXw>O+kV2siJtN)zp3#RTp|80WOi_zJq7eu2;NK>*y|B%9pSwc z!m(aY5u(im_<-if_6R>=So=3mqRj*s7q&V-Cz}c3Z`aIndO}ZKBmaNz-6rqp$oR`o zk^lcV5$vDudeh^#nZ_KA{ZCs%O27^P;b$ZNfAor;{|#Y~;q>9tS=2#SpZ*_{cbjnl literal 0 HcmV?d00001