|
|
|
@ -1487,3 +1487,674 @@ Database is already closed (to disable automatic closing at VM shutdown, add ";D
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
|
|
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
|
|
at java.base/java.lang.Thread.run(Thread.java:835)
|
|
|
|
|
2019-08-21 20:33:15 jdbc[3]: exception
|
|
|
|
|
org.h2.jdbc.JdbcSQLNonTransientConnectionException: La base de données est déjà fermée (pour désactiver la fermeture automatique à l'arrêt de la VM, ajoutez "; DB_CLOSE_ON_EXIT = FALSE" à l'URL db)
|
|
|
|
|
Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199]
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)
|
|
|
|
|
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.message.DbException.get(DbException.java:170)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1571)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.checkClosedForWrite(JdbcConnection.java:1557)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.rollback(JdbcConnection.java:561)
|
|
|
|
|
at com.zaxxer.hikari.pool.ProxyConnection.rollback(ProxyConnection.java:370)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariProxyConnection.rollback(HikariProxyConnection.java)
|
|
|
|
|
at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:116)
|
|
|
|
|
at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.rollback(JdbcResourceLocalTransactionCoordinatorImpl.java:294)
|
|
|
|
|
at org.hibernate.engine.transaction.internal.TransactionImpl.rollback(TransactionImpl.java:145)
|
|
|
|
|
at org.springframework.orm.jpa.JpaTransactionManager.doRollback(JpaTransactionManager.java:559)
|
|
|
|
|
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:838)
|
|
|
|
|
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:812)
|
|
|
|
|
at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:551)
|
|
|
|
|
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:298)
|
|
|
|
|
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.$Proxy99.save(Unknown Source)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService.save(GenericService.java:35)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService$$FastClassBySpringCGLIB$$b820c443.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService$$EnhancerBySpringCGLIB$$5ec775bf.save(<generated>)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.web.controller.creators.MaterialCreatorController.create(MaterialCreatorController.java:66)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
|
|
|
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
|
|
|
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
|
|
|
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
|
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
|
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
|
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
|
|
|
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
|
|
|
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
|
|
|
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
|
|
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
|
|
at java.base/java.lang.Thread.run(Thread.java:835)
|
|
|
|
|
2019-08-21 20:36:16 database: flush
|
|
|
|
|
org.h2.message.DbException: Erreur générale: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]"
|
|
|
|
|
General error: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]" [50000-199]
|
|
|
|
|
at org.h2.message.DbException.get(DbException.java:194)
|
|
|
|
|
at org.h2.message.DbException.convert(DbException.java:347)
|
|
|
|
|
at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:90)
|
|
|
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:2787)
|
|
|
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:441)
|
|
|
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:404)
|
|
|
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343)
|
|
|
|
|
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162)
|
|
|
|
|
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95)
|
|
|
|
|
at org.h2.engine.Database.getPageStore(Database.java:2739)
|
|
|
|
|
at org.h2.engine.Database.open(Database.java:769)
|
|
|
|
|
at org.h2.engine.Database.openDatabase(Database.java:319)
|
|
|
|
|
at org.h2.engine.Database.<init>(Database.java:313)
|
|
|
|
|
at org.h2.engine.Engine.openSession(Engine.java:69)
|
|
|
|
|
at org.h2.engine.Engine.openSession(Engine.java:201)
|
|
|
|
|
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178)
|
|
|
|
|
at org.h2.engine.Engine.createSession(Engine.java:161)
|
|
|
|
|
at org.h2.engine.Engine.createSession(Engine.java:31)
|
|
|
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:169)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:148)
|
|
|
|
|
at org.h2.Driver.connect(Driver.java:69)
|
|
|
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
|
|
|
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
|
|
|
|
|
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:319)
|
|
|
|
|
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:356)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.DatabaseLookup.getDatabase(DatabaseLookup.java:73)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.JpaProperties.determineDatabase(JpaProperties.java:142)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter(JpaBaseConfiguration.java:113)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration$$EnhancerBySpringCGLIB$$404e58d0.CGLIB$jpaVendorAdapter$6(<generated>)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration$$EnhancerBySpringCGLIB$$404e58d0$$FastClassBySpringCGLIB$$e1ab8b8b.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
|
|
|
|
|
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration$$EnhancerBySpringCGLIB$$404e58d0.jpaVendorAdapter(<generated>)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
|
|
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.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:804)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:430)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
|
|
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.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:804)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:430)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
|
|
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.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
|
|
|
|
|
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:340)
|
|
|
|
|
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:168)
|
|
|
|
|
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:150)
|
|
|
|
|
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.$Proxy99.findByMaterialCode(Unknown Source)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService.getByMaterialCode(MaterialService.java:31)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService.exists(MaterialService.java:54)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService$$FastClassBySpringCGLIB$$a49a3cc9.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService$$EnhancerBySpringCGLIB$$e9c79557.exists(<generated>)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.web.controller.creators.MaterialCreatorController.create(MaterialCreatorController.java:65)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
|
|
|
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
|
|
|
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
|
|
|
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
|
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
|
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
|
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
|
|
|
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
|
|
|
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
|
|
|
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
|
|
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
|
|
at java.base/java.lang.Thread.run(Thread.java:835)
|
|
|
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Erreur générale: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]"
|
|
|
|
|
General error: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]" [50000-199]
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:502)
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
|
|
|
|
|
... 159 more
|
|
|
|
|
Caused by: java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]
|
|
|
|
|
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883)
|
|
|
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:166)
|
|
|
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:390)
|
|
|
|
|
... 153 more
|
|
|
|
|
Caused by: java.nio.channels.OverlappingFileLockException
|
|
|
|
|
at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229)
|
|
|
|
|
at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123)
|
|
|
|
|
at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154)
|
|
|
|
|
at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121)
|
|
|
|
|
at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165)
|
|
|
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
|
|
|
... 154 more
|
|
|
|
|
2019-08-21 20:37:27 jdbc[3]: exception
|
|
|
|
|
org.h2.jdbc.JdbcSQLNonTransientConnectionException: La base de données est déjà fermée (pour désactiver la fermeture automatique à l'arrêt de la VM, ajoutez "; DB_CLOSE_ON_EXIT = FALSE" à l'URL db)
|
|
|
|
|
Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199]
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)
|
|
|
|
|
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.message.DbException.get(DbException.java:170)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1571)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1547)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:347)
|
|
|
|
|
at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:311)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
|
|
|
|
|
at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$1.doPrepare(StatementPreparerImpl.java:87)
|
|
|
|
|
at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:172)
|
|
|
|
|
at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:72)
|
|
|
|
|
at org.hibernate.id.enhanced.SequenceStructure$1.getNextValue(SequenceStructure.java:93)
|
|
|
|
|
at org.hibernate.id.enhanced.NoopOptimizer.generate(NoopOptimizer.java:40)
|
|
|
|
|
at org.hibernate.id.enhanced.SequenceStyleGenerator.generate(SequenceStyleGenerator.java:482)
|
|
|
|
|
at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:119)
|
|
|
|
|
at org.hibernate.event.internal.DefaultMergeEventListener.saveTransientEntity(DefaultMergeEventListener.java:255)
|
|
|
|
|
at org.hibernate.event.internal.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:235)
|
|
|
|
|
at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:173)
|
|
|
|
|
at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:69)
|
|
|
|
|
at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:900)
|
|
|
|
|
at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:886)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:350)
|
|
|
|
|
at com.sun.proxy.$Proxy93.merge(Unknown Source)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:308)
|
|
|
|
|
at com.sun.proxy.$Proxy93.merge(Unknown Source)
|
|
|
|
|
at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:492)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:359)
|
|
|
|
|
at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200)
|
|
|
|
|
at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:644)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:608)
|
|
|
|
|
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595)
|
|
|
|
|
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
|
|
|
|
|
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:138)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61)
|
|
|
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
|
|
|
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
|
|
|
|
|
at com.sun.proxy.$Proxy99.save(Unknown Source)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService.save(GenericService.java:35)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService$$FastClassBySpringCGLIB$$b820c443.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService$$EnhancerBySpringCGLIB$$dd5446b.save(<generated>)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.web.controller.creators.MaterialCreatorController.create(MaterialCreatorController.java:66)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
|
|
|
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
|
|
|
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
|
|
|
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
|
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
|
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
|
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
|
|
|
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
|
|
|
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
|
|
|
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
|
|
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
|
|
at java.base/java.lang.Thread.run(Thread.java:835)
|
|
|
|
|
2019-08-21 20:37:27 jdbc[3]: exception
|
|
|
|
|
org.h2.jdbc.JdbcSQLNonTransientConnectionException: La base de données est déjà fermée (pour désactiver la fermeture automatique à l'arrêt de la VM, ajoutez "; DB_CLOSE_ON_EXIT = FALSE" à l'URL db)
|
|
|
|
|
Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199]
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:617)
|
|
|
|
|
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.message.DbException.get(DbException.java:170)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1571)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.checkClosedForWrite(JdbcConnection.java:1557)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.rollback(JdbcConnection.java:561)
|
|
|
|
|
at com.zaxxer.hikari.pool.ProxyConnection.rollback(ProxyConnection.java:370)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariProxyConnection.rollback(HikariProxyConnection.java)
|
|
|
|
|
at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:116)
|
|
|
|
|
at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.rollback(JdbcResourceLocalTransactionCoordinatorImpl.java:294)
|
|
|
|
|
at org.hibernate.engine.transaction.internal.TransactionImpl.rollback(TransactionImpl.java:145)
|
|
|
|
|
at org.springframework.orm.jpa.JpaTransactionManager.doRollback(JpaTransactionManager.java:559)
|
|
|
|
|
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:838)
|
|
|
|
|
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:812)
|
|
|
|
|
at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:551)
|
|
|
|
|
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:298)
|
|
|
|
|
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.$Proxy99.save(Unknown Source)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService.save(GenericService.java:35)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService$$FastClassBySpringCGLIB$$b820c443.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService$$EnhancerBySpringCGLIB$$dd5446b.save(<generated>)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.web.controller.creators.MaterialCreatorController.create(MaterialCreatorController.java:66)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
|
|
|
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
|
|
|
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
|
|
|
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
|
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
|
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
|
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
|
|
|
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
|
|
|
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
|
|
|
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
|
|
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
|
|
at java.base/java.lang.Thread.run(Thread.java:835)
|
|
|
|
|
2019-08-21 20:37:27 database: flush
|
|
|
|
|
org.h2.message.DbException: Erreur générale: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]"
|
|
|
|
|
General error: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]" [50000-199]
|
|
|
|
|
at org.h2.message.DbException.get(DbException.java:194)
|
|
|
|
|
at org.h2.message.DbException.convert(DbException.java:347)
|
|
|
|
|
at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:90)
|
|
|
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:2787)
|
|
|
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:441)
|
|
|
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:404)
|
|
|
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343)
|
|
|
|
|
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162)
|
|
|
|
|
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95)
|
|
|
|
|
at org.h2.engine.Database.getPageStore(Database.java:2739)
|
|
|
|
|
at org.h2.engine.Database.open(Database.java:769)
|
|
|
|
|
at org.h2.engine.Database.openDatabase(Database.java:319)
|
|
|
|
|
at org.h2.engine.Database.<init>(Database.java:313)
|
|
|
|
|
at org.h2.engine.Engine.openSession(Engine.java:69)
|
|
|
|
|
at org.h2.engine.Engine.openSession(Engine.java:201)
|
|
|
|
|
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178)
|
|
|
|
|
at org.h2.engine.Engine.createSession(Engine.java:161)
|
|
|
|
|
at org.h2.engine.Engine.createSession(Engine.java:31)
|
|
|
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:169)
|
|
|
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:148)
|
|
|
|
|
at org.h2.Driver.connect(Driver.java:69)
|
|
|
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
|
|
|
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
|
|
|
|
|
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:319)
|
|
|
|
|
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:356)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.DatabaseLookup.getDatabase(DatabaseLookup.java:73)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.JpaProperties.determineDatabase(JpaProperties.java:142)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter(JpaBaseConfiguration.java:113)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration$$EnhancerBySpringCGLIB$$78fa35fe.CGLIB$jpaVendorAdapter$6(<generated>)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration$$EnhancerBySpringCGLIB$$78fa35fe$$FastClassBySpringCGLIB$$1599e9ac.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
|
|
|
|
|
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)
|
|
|
|
|
at org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration$$EnhancerBySpringCGLIB$$78fa35fe.jpaVendorAdapter(<generated>)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
|
|
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.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:804)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:430)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
|
|
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.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:804)
|
|
|
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:430)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
|
|
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.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:602)
|
|
|
|
|
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:340)
|
|
|
|
|
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:168)
|
|
|
|
|
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:150)
|
|
|
|
|
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.$Proxy99.save(Unknown Source)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService.save(GenericService.java:35)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.GenericService$$FastClassBySpringCGLIB$$b820c443.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.services.MaterialService$$EnhancerBySpringCGLIB$$dd5446b.save(<generated>)
|
|
|
|
|
at fyloz.trial.ColorRecipesExplorer.web.controller.creators.MaterialCreatorController.create(MaterialCreatorController.java:66)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
|
|
|
|
|
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
|
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
|
|
|
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
|
|
|
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
|
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
|
|
|
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
|
|
|
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
|
|
|
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
|
|
|
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
|
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
|
|
|
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
|
|
|
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
|
|
|
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
|
|
|
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
|
|
|
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
|
|
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
|
|
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
|
|
at java.base/java.lang.Thread.run(Thread.java:835)
|
|
|
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Erreur générale: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]"
|
|
|
|
|
General error: "java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]" [50000-199]
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:502)
|
|
|
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
|
|
|
|
|
... 158 more
|
|
|
|
|
Caused by: java.lang.IllegalStateException: The file is locked: nio:C:/Users/William/Desktop/Dev/Java/Spring/ColorRecipesExplorer/workdir/recipes.mv.db [1.4.199/7]
|
|
|
|
|
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883)
|
|
|
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:166)
|
|
|
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:390)
|
|
|
|
|
... 152 more
|
|
|
|
|
Caused by: java.nio.channels.OverlappingFileLockException
|
|
|
|
|
at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229)
|
|
|
|
|
at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123)
|
|
|
|
|
at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154)
|
|
|
|
|
at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121)
|
|
|
|
|
at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165)
|
|
|
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
|
|
|
... 153 more
|
|
|
|
|