2021-01-04 00:00:49,389 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' 2021-01-04 00:00:49,393 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' 2021-01-04 00:00:49,398 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... 2021-01-04 00:00:49,412 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. 2021-01-04 00:00:51,638 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 35819 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) 2021-01-04 00:00:51,641 INFO [restartedMain] No active profile set, falling back to default profiles: default 2021-01-04 00:00:51,691 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2021-01-04 00:00:51,692 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2021-01-04 00:00:52,103 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2021-01-04 00:00:52,153 INFO [restartedMain] Finished Spring Data repository scanning in 44ms. Found 6 JPA repository interfaces. 2021-01-04 00:00:52,821 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) 2021-01-04 00:00:52,832 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] 2021-01-04 00:00:52,832 INFO [restartedMain] Starting service [Tomcat] 2021-01-04 00:00:52,833 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] 2021-01-04 00:00:52,893 INFO [restartedMain] Initializing Spring embedded WebApplicationContext 2021-01-04 00:00:52,894 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1202 ms 2021-01-04 00:00:53,064 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] 2021-01-04 00:00:53,098 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final 2021-01-04 00:00:53,194 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2021-01-04 00:00:53,266 INFO [restartedMain] HikariPool-1 - Starting... 2021-01-04 00:00:53,643 INFO [restartedMain] HikariPool-1 - Start completed. 2021-01-04 00:00:53,670 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect 2021-01-04 00:00:54,308 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2021-01-04 00:00:54,317 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' 2021-01-04 00:00:54,329 INFO [restartedMain] LiveReload server is running on port 35729 2021-01-04 00:00:54,735 INFO [restartedMain] Program started with arguments: votingPhase=true mottoPhase=false addingPhase=false 2021-01-04 00:00:55,057 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'votingController': Invocation of init method failed; nested exception is org.hibernate.LazyInitializationException: could not initialize proxy [com.github.cato447.AbizeitungVotingSystem.entities.Category#1] - no Session 2021-01-04 00:00:55,059 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' 2021-01-04 00:00:55,064 INFO [restartedMain] HikariPool-1 - Shutdown initiated... 2021-01-04 00:00:55,073 INFO [restartedMain] HikariPool-1 - Shutdown completed. 2021-01-04 00:00:55,077 INFO [restartedMain] Stopping service [Tomcat] 2021-01-04 00:00:55,089 INFO [restartedMain] Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-01-04 00:00:55,092 ERROR [restartedMain] Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'votingController': Invocation of init method failed; nested exception is org.hibernate.LazyInitializationException: could not initialize proxy [com.github.cato447.AbizeitungVotingSystem.entities.Category#1] - no Session at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) at com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplication.main(AbizeitungVotingSystemApplication.java:14) 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.LazyInitializationException: could not initialize proxy [com.github.cato447.AbizeitungVotingSystem.entities.Category#1] - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:170) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:310) at org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor.intercept(ByteBuddyInterceptor.java:45) at org.hibernate.proxy.ProxyConfiguration$InterceptorDispatcher.intercept(ProxyConfiguration.java:95) at com.github.cato447.AbizeitungVotingSystem.entities.Category$HibernateProxy$DGuctNKV.getName(Unknown Source) at com.github.cato447.AbizeitungVotingSystem.table.TableAction.setUpCandidates(TableAction.java:125) at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.init(VotingController.java:90) 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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ... 24 common frames omitted 2021-01-04 00:01:52,580 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 36071 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) 2021-01-04 00:01:52,586 INFO [restartedMain] No active profile set, falling back to default profiles: default 2021-01-04 00:01:52,648 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2021-01-04 00:01:52,648 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2021-01-04 00:01:53,068 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2021-01-04 00:01:53,121 INFO [restartedMain] Finished Spring Data repository scanning in 47ms. Found 6 JPA repository interfaces. 2021-01-04 00:01:53,779 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) 2021-01-04 00:01:53,788 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] 2021-01-04 00:01:53,789 INFO [restartedMain] Starting service [Tomcat] 2021-01-04 00:01:53,789 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] 2021-01-04 00:01:53,856 INFO [restartedMain] Initializing Spring embedded WebApplicationContext 2021-01-04 00:01:53,856 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1207 ms 2021-01-04 00:01:54,032 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] 2021-01-04 00:01:54,065 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final 2021-01-04 00:01:54,169 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2021-01-04 00:01:54,255 INFO [restartedMain] HikariPool-1 - Starting... 2021-01-04 00:01:54,608 INFO [restartedMain] HikariPool-1 - Start completed. 2021-01-04 00:01:54,633 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect 2021-01-04 00:01:55,280 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2021-01-04 00:01:55,288 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' 2021-01-04 00:01:55,302 INFO [restartedMain] LiveReload server is running on port 35729 2021-01-04 00:01:55,714 INFO [restartedMain] Program started with arguments: votingPhase=true mottoPhase=false addingPhase=false 2021-01-04 00:01:58,665 INFO [restartedMain] Candidates successfully set up 2021-01-04 00:01:58,698 WARN [restartedMain] 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 2021-01-04 00:01:58,803 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' 2021-01-04 00:01:58,966 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] 2021-01-04 00:01:58,986 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' 2021-01-04 00:01:58,999 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 6.763 seconds (JVM running for 7.385) 2021-01-04 00:02:54,786 INFO [http-nio-8000-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-01-04 00:02:54,786 INFO [http-nio-8000-exec-2] Initializing Servlet 'dispatcherServlet' 2021-01-04 00:02:54,791 INFO [http-nio-8000-exec-2] Completed initialization in 5 ms 2021-01-04 00:02:58,585 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de 2021-01-04 00:02:58,605 WARN [http-nio-8000-exec-4] no code 2021-01-04 00:03:14,557 WARN [http-nio-8000-exec-7] 980176 2021-01-04 00:03:14,557 WARN [http-nio-8000-exec-7] matched 2021-01-04 00:09:40,113 WARN [http-nio-8000-exec-3] Simon.bussmann@adolfinum.de 2021-01-04 00:09:40,115 WARN [http-nio-8000-exec-3] no code 2021-01-04 00:09:57,679 WARN [http-nio-8000-exec-5] 366680 2021-01-04 00:09:57,680 WARN [http-nio-8000-exec-5] matched 2021-01-04 00:10:45,401 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de 2021-01-04 00:10:45,404 WARN [http-nio-8000-exec-2] no code 2021-01-04 00:11:08,813 WARN [http-nio-8000-exec-3] 045081 2021-01-04 00:11:08,814 WARN [http-nio-8000-exec-3] matched