From 4dd3468befce65b16f17e9b229c5b43d681c4373 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 10 Dec 2020 23:50:44 +0100 Subject: [PATCH] Have to go to bed now need to write --- logs/Voting.log | 3864 ++++++++++++++++- pom.xml | 26 +- .../AbizeitungVotingSystemApplication.java | 4 +- .../controller/VotingController.java | 132 +- .../entities/Motto.java | 58 + .../entities/Voter.java | 8 + .../repositories/MottoRepository.java | 14 + .../table/TableAction.java | 51 +- src/main/resources/Mottos.txt | 11 + .../resources/static/styles/mottoVoting.css | 66 + ...bmitted.html => alreadyVotedForMotto.html} | 0 .../alreadysubmittedcandidates.html | 0 src/main/resources/templates/mottoVoting.html | 65 + 13 files changed, 4145 insertions(+), 154 deletions(-) create mode 100644 src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Motto.java create mode 100644 src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/MottoRepository.java create mode 100644 src/main/resources/Mottos.txt create mode 100644 src/main/resources/static/styles/mottoVoting.css rename src/main/resources/templates/errors/{alreadySubmitted.html => alreadyVotedForMotto.html} (100%) rename src/main/resources/templates/{ => errors}/alreadysubmittedcandidates.html (100%) create mode 100644 src/main/resources/templates/mottoVoting.html diff --git a/logs/Voting.log b/logs/Voting.log index 4f719de..be743f7 100644 --- a/logs/Voting.log +++ b/logs/Voting.log @@ -1,93 +1,3771 @@ -2020-12-06 00:51:28,174 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-12-06 00:51:28,175 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-12-06 00:51:28,181 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms -2020-12-06 00:51:31,964 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-12-06 00:51:31,990 WARN [http-nio-8000-exec-3] SQL Error: 1146, SQLState: 42S02 -2020-12-06 00:51:31,991 ERROR [http-nio-8000-exec-3] Table 'VotingSystem.voters' doesn't exist -2020-12-06 00:51:31,997 ERROR [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is not allowed to vote -2020-12-06 00:51:44,230 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-12-06 00:51:44,233 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-12-06 00:51:44,238 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-12-06 00:51:44,245 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. -2020-12-06 00:51:47,222 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 38466 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-12-06 00:51:47,225 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-12-06 00:51:47,293 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-12-06 00:51:47,294 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-12-06 00:51:47,754 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-12-06 00:51:47,801 INFO [restartedMain] Finished Spring Data repository scanning in 41ms. Found 5 JPA repository interfaces. -2020-12-06 00:51:48,538 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-12-06 00:51:48,548 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-12-06 00:51:48,548 INFO [restartedMain] Starting service [Tomcat] -2020-12-06 00:51:48,549 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-12-06 00:51:48,616 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-12-06 00:51:48,616 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1322 ms -2020-12-06 00:51:48,771 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-12-06 00:51:48,804 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-12-06 00:51:48,890 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-12-06 00:51:48,955 INFO [restartedMain] HikariPool-1 - Starting... -2020-12-06 00:51:49,307 INFO [restartedMain] HikariPool-1 - Start completed. -2020-12-06 00:51:49,328 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-12-06 00:51:50,068 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-12-06 00:51:50,074 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-12-06 00:51:50,089 INFO [restartedMain] LiveReload server is running on port 35729 -2020-12-06 00:51:50,738 INFO [restartedMain] Voters successfully set up -2020-12-06 00:51:50,784 INFO [restartedMain] Categories successfully set up -2020-12-06 00:51:50,834 INFO [restartedMain] Candidates successfully set up -2020-12-06 00:51:50,869 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 -2020-12-06 00:51:50,985 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-12-06 00:51:51,151 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-12-06 00:51:51,169 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-12-06 00:51:51,181 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.284 seconds (JVM running for 4.786) -2020-12-06 00:51:54,765 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-12-06 00:51:54,766 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-12-06 00:51:54,770 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms -2020-12-06 00:51:57,608 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-12-06 01:12:38,346 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-12-06 01:12:38,348 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-12-06 01:12:38,351 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-12-06 01:12:38,359 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. -2020-12-06 12:41:18,879 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 6506 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-12-06 12:41:18,882 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-12-06 12:41:18,956 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-12-06 12:41:18,957 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-12-06 12:41:19,457 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-12-06 12:41:19,509 INFO [restartedMain] Finished Spring Data repository scanning in 44ms. Found 5 JPA repository interfaces. -2020-12-06 12:41:20,285 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-12-06 12:41:20,294 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-12-06 12:41:20,295 INFO [restartedMain] Starting service [Tomcat] -2020-12-06 12:41:20,296 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-12-06 12:41:20,367 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-12-06 12:41:20,368 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1410 ms -2020-12-06 12:41:20,565 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-12-06 12:41:20,612 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-12-06 12:41:20,733 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-12-06 12:41:20,818 INFO [restartedMain] HikariPool-1 - Starting... -2020-12-06 12:41:21,256 INFO [restartedMain] HikariPool-1 - Start completed. -2020-12-06 12:41:21,287 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-12-06 12:41:21,935 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-12-06 12:41:21,941 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-12-06 12:41:21,961 INFO [restartedMain] LiveReload server is running on port 35729 -2020-12-06 12:41:22,499 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 -2020-12-06 12:41:22,613 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-12-06 12:41:22,788 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-12-06 12:41:22,815 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-12-06 12:41:22,826 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.283 seconds (JVM running for 4.905) -2020-12-06 12:48:39,824 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-12-06 12:48:39,824 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-12-06 12:48:39,833 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms -2020-12-06 12:48:51,666 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-12-06 12:51:08,705 WARN [http-nio-8000-exec-8] simon.bussmann@adolfinum.de -2020-12-06 12:56:51,960 WARN [http-nio-8000-exec-8] simon.bussmann@adolfinum.de -2020-12-06 12:57:36,888 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de -2020-12-06 12:59:15,922 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de -2020-12-06 13:00:22,511 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de -2020-12-06 13:01:29,021 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de -2020-12-06 13:01:43,211 WARN [http-nio-8000-exec-1] matched -2020-12-06 13:01:49,446 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de -2020-12-06 13:02:22,101 WARN [http-nio-8000-exec-9] matched -2020-12-06 16:12:57,054 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de -2020-12-06 16:13:09,363 WARN [http-nio-8000-exec-7] matched -2020-12-06 16:15:48,842 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-12-06 16:15:48,844 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-12-06 16:15:48,847 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-12-06 16:15:48,853 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 00:00:17,752 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 00:00:17,756 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 00:00:17,759 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 00:00:17,767 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 16:54:39,146 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 6818 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 16:54:39,149 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 16:54:39,205 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 16:54:39,205 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 16:54:39,692 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 16:54:39,747 INFO [restartedMain] Finished Spring Data repository scanning in 48ms. Found 5 JPA repository interfaces. +2020-12-10 16:54:40,441 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 16:54:40,451 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 16:54:40,452 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 16:54:40,452 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 16:54:40,518 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 16:54:40,518 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1312 ms +2020-12-10 16:54:40,681 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 16:54:40,725 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 16:54:40,848 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 16:54:40,917 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 16:54:41,335 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 16:54:41,362 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 16:54:41,976 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 16:54:41,983 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 16:54:41,999 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 16:54:42,494 INFO [restartedMain] false +2020-12-10 16:54:42,527 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 +2020-12-10 16:54:42,629 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 16:54:42,827 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 16:54:42,848 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 16:54:42,859 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.061 seconds (JVM running for 4.635) +2020-12-10 16:54:58,133 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 16:54:58,133 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 16:54:58,137 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-10 16:56:59,496 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de +2020-12-10 16:57:16,436 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de +2020-12-10 16:57:24,248 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 16:57:47,594 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 16:57:47,596 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 16:57:47,599 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 16:57:47,608 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 18:53:57,615 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 12716 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 18:53:57,618 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 18:53:57,670 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 18:53:57,671 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 18:53:58,119 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 18:53:58,180 INFO [restartedMain] Finished Spring Data repository scanning in 52ms. Found 5 JPA repository interfaces. +2020-12-10 18:53:58,811 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 18:53:58,822 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 18:53:58,822 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 18:53:58,823 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 18:53:58,887 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 18:53:58,887 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1216 ms +2020-12-10 18:53:59,048 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 18:53:59,079 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 18:53:59,158 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 18:53:59,215 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 18:53:59,523 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 18:53:59,546 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 18:54:00,112 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 18:54:00,119 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 18:54:00,130 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 18:54:00,586 INFO [restartedMain] false +2020-12-10 18:54:00,617 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 +2020-12-10 18:54:00,725 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 18:54:00,887 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 18:54:00,904 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 18:54:00,914 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.564 seconds (JVM running for 4.041) +2020-12-10 18:54:06,944 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 18:54:06,944 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 18:54:06,950 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 18:54:11,351 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 18:54:43,322 WARN [http-nio-8000-exec-6] matched +2020-12-10 18:56:59,533 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 12941 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 18:56:59,536 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 18:56:59,601 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 18:56:59,602 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 18:57:00,018 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 18:57:00,064 INFO [restartedMain] Finished Spring Data repository scanning in 40ms. Found 5 JPA repository interfaces. +2020-12-10 18:57:00,682 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 18:57:00,690 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:00,691 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 18:57:00,691 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 18:57:00,750 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 18:57:00,750 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1148 ms +2020-12-10 18:57:00,903 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 18:57:00,931 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 18:57:01,011 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 18:57:01,075 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 18:57:01,378 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 18:57:01,396 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 18:57:01,944 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 18:57:01,952 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 18:57:01,964 WARN [restartedMain] Unable to start LiveReload server +2020-12-10 18:57:02,440 INFO [restartedMain] false +2020-12-10 18:57:02,472 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 +2020-12-10 18:57:02,586 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 18:57:02,750 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:02,754 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8000 is already in use +2020-12-10 18:57:02,755 INFO [restartedMain] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 18:57:02,756 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 18:57:02,759 INFO [restartedMain] HikariPool-1 - Shutdown initiated... +2020-12-10 18:57:02,767 INFO [restartedMain] HikariPool-1 - Shutdown completed. +2020-12-10 18:57:02,770 INFO [restartedMain] Pausing ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:02,771 INFO [restartedMain] Stopping service [Tomcat] +2020-12-10 18:57:02,775 INFO [restartedMain] Stopping ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:02,776 INFO [restartedMain] Destroying ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:02,786 INFO [restartedMain] + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2020-12-10 18:57:02,788 ERROR [restartedMain] + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Web server failed to start. Port 8000 was already in use. + +Action: + +Identify and stop the process that's listening on port 8000 or configure this application to listen on another port. + +2020-12-10 18:57:05,546 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 18:57:05,550 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 18:57:05,554 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 18:57:05,562 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 18:57:16,748 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 13047 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 18:57:16,750 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 18:57:16,802 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 18:57:16,803 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 18:57:17,234 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 18:57:17,280 INFO [restartedMain] Finished Spring Data repository scanning in 39ms. Found 5 JPA repository interfaces. +2020-12-10 18:57:17,857 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 18:57:17,865 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:17,866 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 18:57:17,866 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 18:57:17,924 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 18:57:17,925 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1121 ms +2020-12-10 18:57:18,078 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 18:57:18,109 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 18:57:18,193 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 18:57:18,256 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 18:57:18,560 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 18:57:18,587 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 18:57:19,130 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 18:57:19,138 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 18:57:19,161 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 18:57:19,668 INFO [restartedMain] false +2020-12-10 18:57:19,700 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 +2020-12-10 18:57:19,804 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 18:57:19,979 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 18:57:19,993 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 18:57:20,003 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.531 seconds (JVM running for 3.999) +2020-12-10 18:57:29,496 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 18:57:29,496 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 18:57:29,500 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-10 18:57:29,533 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 18:57:39,081 WARN [http-nio-8000-exec-3] matched +2020-12-10 18:59:58,042 INFO [http-nio-8000-exec-6] Error parsing HTTP request header + Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level. +java.lang.IllegalArgumentException: Invalid character found in method name [0x010x010xe60x0a0x000x080x000x000x000x010x000x000x000x000x000x000x010x040xe60x0a0x000x000x00...]. HTTP method names must be tokens + at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:413) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:261) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:00:35,940 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de +2020-12-10 19:01:51,075 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:01:51,078 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:01:51,082 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:01:51,089 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:01:55,208 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 13273 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:01:55,211 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:01:55,270 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:01:55,271 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:01:55,707 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:01:55,755 INFO [restartedMain] Finished Spring Data repository scanning in 42ms. Found 5 JPA repository interfaces. +2020-12-10 19:01:56,416 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:01:56,424 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:01:56,425 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:01:56,425 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:01:56,485 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:01:56,486 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1215 ms +2020-12-10 19:01:56,632 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:01:56,663 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:01:56,739 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:01:56,794 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:01:57,118 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:01:57,135 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:01:57,702 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:01:57,709 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:01:57,722 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:01:58,168 INFO [restartedMain] false +2020-12-10 19:01:58,199 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 +2020-12-10 19:01:58,315 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:01:58,488 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:01:58,503 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:01:58,513 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.574 seconds (JVM running for 4.078) +2020-12-10 19:02:05,532 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:02:05,532 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:02:05,540 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 19:02:09,189 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:03:15,747 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 19:03:59,211 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de +2020-12-10 19:04:23,228 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de +2020-12-10 19:04:59,264 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 19:05:51,369 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:05:51,372 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:05:51,376 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:05:51,383 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:06:06,722 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 13515 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:06:06,724 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:06:06,778 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:06:06,778 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:06:07,261 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:06:07,308 INFO [restartedMain] Finished Spring Data repository scanning in 40ms. Found 5 JPA repository interfaces. +2020-12-10 19:06:07,938 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:06:07,945 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:06:07,946 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:06:07,946 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:06:08,005 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:06:08,005 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1226 ms +2020-12-10 19:06:08,156 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:06:08,186 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:06:08,265 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:06:08,339 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:06:08,657 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:06:08,675 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:06:09,244 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:06:09,251 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:06:09,261 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:06:09,693 INFO [restartedMain] false +2020-12-10 19:06:09,726 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 +2020-12-10 19:06:09,842 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:06:09,999 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:06:10,014 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:06:10,027 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.567 seconds (JVM running for 4.036) +2020-12-10 19:06:13,324 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:06:13,324 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:06:13,328 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-10 19:06:16,880 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:07:20,198 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:07:20,201 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:07:20,204 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:07:20,214 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:08:40,213 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 13777 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:08:40,217 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:08:40,276 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:08:40,277 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:08:40,702 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:08:40,755 INFO [restartedMain] Finished Spring Data repository scanning in 46ms. Found 5 JPA repository interfaces. +2020-12-10 19:08:41,376 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:08:41,384 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:08:41,385 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:08:41,385 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:08:41,441 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:08:41,442 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1165 ms +2020-12-10 19:08:41,584 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:08:41,614 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:08:41,703 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:08:41,770 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:08:42,070 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:08:42,093 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:08:42,649 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:08:42,655 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:08:42,666 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:08:43,105 INFO [restartedMain] false +2020-12-10 19:08:43,134 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 +2020-12-10 19:08:43,240 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:08:43,405 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:08:43,419 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:08:43,428 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.488 seconds (JVM running for 4.01) +2020-12-10 19:08:46,616 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:08:46,619 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:08:46,623 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:08:46,632 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:09:47,592 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 13955 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:09:47,594 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:09:47,645 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:09:47,645 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:09:48,074 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:09:48,138 INFO [restartedMain] Finished Spring Data repository scanning in 57ms. Found 5 JPA repository interfaces. +2020-12-10 19:09:48,828 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:09:48,836 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:09:48,836 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:09:48,837 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:09:48,897 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:09:48,897 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1251 ms +2020-12-10 19:09:49,070 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:09:49,104 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:09:49,199 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:09:49,288 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:09:49,629 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:09:49,649 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:09:50,318 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:09:50,327 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:09:50,342 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:10:31,518 INFO [restartedMain] false +2020-12-10 19:10:31,555 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 +2020-12-10 19:10:31,742 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:10:31,923 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:10:31,939 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:10:31,950 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 45.566 seconds (JVM running for 83.915) +2020-12-10 19:10:41,898 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:10:41,898 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:10:41,904 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 19:10:57,909 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:12:29,770 WARN [http-nio-8000-exec-5] matched +2020-12-10 19:12:41,507 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:12:41,510 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:12:41,514 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:12:41,521 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:29:18,214 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15183 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:29:18,217 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:29:18,287 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:29:18,288 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:29:18,770 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:29:18,822 INFO [restartedMain] Finished Spring Data repository scanning in 47ms. Found 6 JPA repository interfaces. +2020-12-10 19:29:19,456 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:29:19,464 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:29:19,464 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:29:19,465 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:29:19,534 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:29:19,535 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1247 ms +2020-12-10 19:29:19,682 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:29:19,710 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:29:19,789 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:29:19,858 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:29:20,166 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:29:20,183 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:29:20,722 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:29:20,727 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:29:20,737 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:29:21,231 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:29:21,238 INFO [restartedMain] false +2020-12-10 19:29:21,275 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 +2020-12-10 19:29:21,379 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:29:21,538 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:29:21,553 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:29:21,562 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.673 seconds (JVM running for 4.211) +2020-12-10 19:29:31,359 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:29:31,359 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:29:31,364 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 19:29:43,458 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 19:29:55,511 WARN [http-nio-8000-exec-6] matched +2020-12-10 19:30:28,081 ERROR [http-nio-8000-exec-8] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.github.cato447.AbizeitungVotingSystem.table.TableAction.checkToken(TableAction.java:50) + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.voting_adding(VotingController.java:151) + 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:564) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:30:34,339 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 19:30:59,899 WARN [http-nio-8000-exec-3] matched +2020-12-10 19:31:02,692 ERROR [http-nio-8000-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.github.cato447.AbizeitungVotingSystem.table.TableAction.checkToken(TableAction.java:50) + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.voting_adding(VotingController.java:151) + 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:564) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:31:14,924 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15512 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:31:14,927 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:31:14,993 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:31:14,994 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:31:15,427 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:31:15,487 INFO [restartedMain] Finished Spring Data repository scanning in 54ms. Found 6 JPA repository interfaces. +2020-12-10 19:31:16,142 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:31:16,150 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:16,151 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:31:16,151 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:31:16,217 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:31:16,217 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1223 ms +2020-12-10 19:31:16,355 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:31:16,384 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:31:16,460 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:31:16,521 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:31:16,842 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:31:16,859 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:31:17,443 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:31:17,449 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:31:17,458 WARN [restartedMain] Unable to start LiveReload server +2020-12-10 19:31:17,945 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:31:17,952 INFO [restartedMain] false +2020-12-10 19:31:17,981 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 +2020-12-10 19:31:18,083 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:31:18,244 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:18,248 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8000 is already in use +2020-12-10 19:31:18,249 INFO [restartedMain] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:31:18,250 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:31:18,253 INFO [restartedMain] HikariPool-1 - Shutdown initiated... +2020-12-10 19:31:18,260 INFO [restartedMain] HikariPool-1 - Shutdown completed. +2020-12-10 19:31:18,262 INFO [restartedMain] Pausing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:18,263 INFO [restartedMain] Stopping service [Tomcat] +2020-12-10 19:31:18,267 INFO [restartedMain] Stopping ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:18,268 INFO [restartedMain] Destroying ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:18,276 INFO [restartedMain] + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2020-12-10 19:31:18,278 ERROR [restartedMain] + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Web server failed to start. Port 8000 was already in use. + +Action: + +Identify and stop the process that's listening on port 8000 or configure this application to listen on another port. + +2020-12-10 19:31:20,750 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:31:20,752 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:31:20,755 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:31:20,762 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:31:23,874 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15598 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:31:23,877 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:31:23,940 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:31:23,941 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:31:24,346 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:31:24,408 INFO [restartedMain] Finished Spring Data repository scanning in 53ms. Found 6 JPA repository interfaces. +2020-12-10 19:31:25,068 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:31:25,077 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:25,077 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:31:25,078 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:31:25,137 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:31:25,138 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1196 ms +2020-12-10 19:31:25,293 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:31:25,324 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:31:25,405 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:31:25,468 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:31:25,793 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:31:25,814 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:31:26,376 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:31:26,383 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:31:26,398 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:31:26,902 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:31:26,909 INFO [restartedMain] false +2020-12-10 19:31:26,939 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 +2020-12-10 19:31:27,034 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:31:27,195 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:31:27,207 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:31:27,220 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.609 seconds (JVM running for 4.086) +2020-12-10 19:31:31,654 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:31:31,654 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:31:31,658 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-10 19:31:34,003 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:31:46,839 WARN [http-nio-8000-exec-5] matched +2020-12-10 19:31:50,981 ERROR [http-nio-8000-exec-7] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.github.cato447.AbizeitungVotingSystem.table.TableAction.checkToken(TableAction.java:50) + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.voting_adding(VotingController.java:151) + 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:564) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:33:23,497 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:33:23,500 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:33:23,504 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:33:23,513 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:33:26,309 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15754 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:33:26,312 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:33:26,365 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:33:26,365 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:33:26,816 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:33:26,865 INFO [restartedMain] Finished Spring Data repository scanning in 44ms. Found 6 JPA repository interfaces. +2020-12-10 19:33:27,506 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:33:27,514 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:33:27,515 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:33:27,515 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:33:27,586 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:33:27,586 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1220 ms +2020-12-10 19:33:27,735 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:33:27,767 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:33:27,848 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:33:27,907 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:33:28,207 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:33:28,224 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:33:28,805 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:33:28,811 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:33:28,821 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:33:29,289 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:33:29,294 INFO [restartedMain] false +2020-12-10 19:33:29,327 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 +2020-12-10 19:33:29,421 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:33:29,608 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:33:29,623 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:33:29,635 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.596 seconds (JVM running for 4.083) +2020-12-10 19:33:32,735 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:33:32,735 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:33:32,740 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 19:33:34,953 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:33:45,827 WARN [http-nio-8000-exec-5] matched +2020-12-10 19:35:29,931 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:35:29,935 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:35:29,939 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:35:29,946 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:35:36,014 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15906 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:35:36,016 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:35:36,065 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:35:36,066 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:35:36,503 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:35:36,549 INFO [restartedMain] Finished Spring Data repository scanning in 40ms. Found 6 JPA repository interfaces. +2020-12-10 19:35:37,209 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:35:37,220 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:35:37,220 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:35:37,221 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:35:37,285 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:35:37,286 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1220 ms +2020-12-10 19:35:37,459 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:35:37,487 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:35:37,565 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:35:37,630 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:35:37,941 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:35:37,961 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:35:38,537 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:35:38,543 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:35:38,560 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:35:39,074 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:35:39,080 INFO [restartedMain] false +2020-12-10 19:35:39,118 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 +2020-12-10 19:35:39,219 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:35:39,386 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:35:39,403 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:35:39,415 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.663 seconds (JVM running for 4.126) +2020-12-10 19:35:40,899 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:35:40,899 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:35:40,904 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 19:35:43,551 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:36:11,296 WARN [http-nio-8000-exec-5] matched +2020-12-10 19:36:11,297 WARN [http-nio-8000-exec-5] expired +2020-12-10 19:36:47,270 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:36:47,271 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:36:47,274 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:36:47,278 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:36:50,112 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 16125 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:36:50,115 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:36:50,180 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:36:50,181 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:36:50,637 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:36:50,683 INFO [restartedMain] Finished Spring Data repository scanning in 41ms. Found 6 JPA repository interfaces. +2020-12-10 19:36:51,308 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:36:51,317 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:36:51,317 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:36:51,318 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:36:51,386 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:36:51,386 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1204 ms +2020-12-10 19:36:51,536 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:36:51,567 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:36:51,643 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:36:51,699 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:36:52,032 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:36:52,049 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:36:52,609 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:36:52,615 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:36:52,627 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:36:53,099 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:36:53,106 INFO [restartedMain] false +2020-12-10 19:36:53,134 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 +2020-12-10 19:36:53,233 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:36:53,406 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:36:53,423 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:36:53,435 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.591 seconds (JVM running for 4.062) +2020-12-10 19:36:58,979 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:36:58,980 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:36:58,988 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 19:37:01,738 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:37:15,859 WARN [http-nio-8000-exec-5] matched +2020-12-10 19:37:15,862 ERROR [http-nio-8000-exec-5] [THYMELEAF][http-nio-8000-exec-5] Exception processing template "fatalError": Error resolving template [fatalError], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:37:15,864 ERROR [http-nio-8000-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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 [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:40:56,244 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:40:56,247 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:40:56,251 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:40:56,258 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:40:59,221 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 16459 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:40:59,223 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:40:59,291 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:40:59,291 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:40:59,737 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:40:59,799 INFO [restartedMain] Finished Spring Data repository scanning in 56ms. Found 6 JPA repository interfaces. +2020-12-10 19:41:00,479 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:41:00,488 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:41:00,488 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:41:00,489 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:41:00,556 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:41:00,556 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1265 ms +2020-12-10 19:41:00,697 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:41:00,724 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:41:00,804 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:41:00,862 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:41:01,174 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:41:01,191 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:41:01,771 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:41:01,780 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:41:01,792 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:41:02,296 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:41:02,302 INFO [restartedMain] false +2020-12-10 19:41:02,330 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 +2020-12-10 19:41:02,442 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:41:02,631 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:41:02,646 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:41:02,654 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.713 seconds (JVM running for 4.21) +2020-12-10 19:41:07,952 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:41:07,953 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:41:07,959 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 19:41:11,003 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 19:42:15,740 WARN [http-nio-8000-exec-6] matched +2020-12-10 19:42:15,742 ERROR [http-nio-8000-exec-6] [THYMELEAF][http-nio-8000-exec-6] Exception processing template "fatalError": Error resolving template [fatalError], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:42:15,743 ERROR [http-nio-8000-exec-6] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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 [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:43:34,186 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:43:34,190 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:43:34,194 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:43:34,201 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:43:37,174 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 16635 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:43:37,177 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:43:37,236 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:43:37,237 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:43:37,682 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:43:37,739 INFO [restartedMain] Finished Spring Data repository scanning in 50ms. Found 6 JPA repository interfaces. +2020-12-10 19:43:38,366 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:43:38,374 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:43:38,375 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:43:38,375 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:43:38,440 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:43:38,440 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1203 ms +2020-12-10 19:43:38,596 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:43:38,626 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:43:38,710 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:43:38,770 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:43:39,101 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:43:39,125 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:43:39,710 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:43:39,717 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:43:39,736 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:43:40,249 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:43:40,256 INFO [restartedMain] false +2020-12-10 19:43:40,289 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 +2020-12-10 19:43:40,399 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:43:40,578 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:43:40,597 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:43:40,606 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.741 seconds (JVM running for 4.231) +2020-12-10 19:43:44,412 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:43:44,413 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:43:44,419 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 19:43:44,448 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 19:43:44,470 WARN [http-nio-8000-exec-1] no code +2020-12-10 19:44:07,309 WARN [http-nio-8000-exec-3] matched +2020-12-10 19:44:07,313 ERROR [http-nio-8000-exec-3] [THYMELEAF][http-nio-8000-exec-3] Exception processing template "fatalError": Error resolving template [fatalError], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:44:07,315 ERROR [http-nio-8000-exec-3] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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 [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 19:47:35,697 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 19:47:35,701 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:47:35,704 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 19:47:35,713 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 19:47:37,806 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 16847 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 19:47:37,809 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 19:47:37,877 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 19:47:37,878 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 19:47:38,432 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 19:47:38,493 INFO [restartedMain] Finished Spring Data repository scanning in 54ms. Found 6 JPA repository interfaces. +2020-12-10 19:47:39,402 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 19:47:39,416 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 19:47:39,418 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 19:47:39,418 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 19:47:39,506 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 19:47:39,507 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1628 ms +2020-12-10 19:47:39,750 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 19:47:39,797 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 19:47:39,896 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 19:47:39,976 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 19:47:40,365 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 19:47:40,386 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 19:47:40,999 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 19:47:41,006 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 19:47:41,022 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 19:47:41,658 INFO [restartedMain] Mottos successfully set up +2020-12-10 19:47:41,668 INFO [restartedMain] false +2020-12-10 19:47:41,714 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 +2020-12-10 19:47:41,832 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 19:47:42,034 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 19:47:42,054 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 19:47:42,064 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.566 seconds (JVM running for 5.12) +2020-12-10 19:47:48,922 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 19:47:48,922 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 19:47:48,931 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 19:47:48,963 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 19:47:48,985 WARN [http-nio-8000-exec-1] no code +2020-12-10 20:04:19,045 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:04:19,048 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:04:19,051 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:04:19,056 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:04:21,126 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 17536 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:04:21,128 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:04:21,207 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:04:21,209 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:04:21,736 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:04:21,811 INFO [restartedMain] Finished Spring Data repository scanning in 67ms. Found 6 JPA repository interfaces. +2020-12-10 20:04:22,551 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:04:22,559 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:04:22,560 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:04:22,560 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:04:22,627 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:04:22,628 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1418 ms +2020-12-10 20:04:22,796 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:04:22,831 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:04:22,916 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:04:22,980 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:04:23,351 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:04:23,372 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:04:23,998 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:04:24,004 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:04:24,016 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:04:24,537 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:04:24,543 INFO [restartedMain] false +2020-12-10 20:04:24,578 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 +2020-12-10 20:04:24,704 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:04:24,907 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:04:24,939 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:04:24,949 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.096 seconds (JVM running for 4.669) +2020-12-10 20:06:38,841 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:06:38,843 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:06:38,847 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:06:38,856 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:06:54,922 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 17685 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:06:54,925 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:06:54,986 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:06:54,987 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:06:55,493 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:06:55,556 INFO [restartedMain] Finished Spring Data repository scanning in 56ms. Found 6 JPA repository interfaces. +2020-12-10 20:06:56,346 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:06:56,355 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:06:56,356 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:06:56,356 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:06:56,427 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:06:56,428 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1440 ms +2020-12-10 20:06:56,632 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:06:56,680 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:06:56,782 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:06:56,877 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:06:57,255 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:06:57,280 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:06:57,972 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:06:57,977 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:06:57,993 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:07:43,171 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:07:43,177 INFO [restartedMain] false +2020-12-10 20:07:43,210 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 +2020-12-10 20:07:43,369 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:07:43,581 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:07:43,599 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:07:43,611 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 54.365 seconds (JVM running for 62.456) +2020-12-10 20:08:03,048 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:08:03,048 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:08:03,056 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 20:08:08,965 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 20:08:55,791 WARN [HikariPool-1 housekeeper] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=57s667ms964µs501ns). +2020-12-10 20:16:20,852 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:16:20,854 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:16:20,856 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:16:20,864 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:16:23,005 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 18540 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:16:23,008 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:16:23,078 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:16:23,078 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:16:23,582 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:16:23,640 INFO [restartedMain] Finished Spring Data repository scanning in 51ms. Found 6 JPA repository interfaces. +2020-12-10 20:16:24,315 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:16:24,326 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:16:24,327 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:16:24,328 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:16:24,416 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:16:24,417 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1338 ms +2020-12-10 20:16:24,575 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:16:24,603 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:16:24,680 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:16:24,741 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:16:25,115 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:16:25,147 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:16:25,746 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:16:25,754 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:16:25,767 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:16:26,266 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:16:26,272 INFO [restartedMain] false +2020-12-10 20:16:26,309 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 +2020-12-10 20:16:26,446 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:16:26,656 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:16:26,675 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:16:26,687 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.002 seconds (JVM running for 4.527) +2020-12-10 20:16:33,587 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:16:33,588 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:16:33,592 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-10 20:16:41,768 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 20:17:14,032 WARN [http-nio-8000-exec-5] expired +2020-12-10 20:17:18,399 WARN [http-nio-8000-exec-7] wrong +2020-12-10 20:18:43,733 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:18:43,737 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:18:43,740 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:18:43,751 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:18:46,769 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 18738 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:18:46,772 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:18:46,850 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:18:46,851 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:18:47,336 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:18:47,410 INFO [restartedMain] Finished Spring Data repository scanning in 66ms. Found 6 JPA repository interfaces. +2020-12-10 20:18:48,178 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:18:48,190 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:18:48,190 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:18:48,190 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:18:48,260 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:18:48,260 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1409 ms +2020-12-10 20:18:48,455 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:18:48,486 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:18:48,580 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:18:48,642 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:18:48,987 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:18:49,010 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:18:49,632 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:18:49,640 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:18:49,652 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:18:50,188 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:18:50,193 INFO [restartedMain] false +2020-12-10 20:18:50,223 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 +2020-12-10 20:18:50,335 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:18:50,517 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:18:50,530 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:18:50,540 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.053 seconds (JVM running for 4.612) +2020-12-10 20:19:07,047 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:19:07,048 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:19:07,056 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 20:19:09,603 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 20:19:09,620 WARN [http-nio-8000-exec-3] no code +2020-12-10 20:19:25,009 WARN [http-nio-8000-exec-5] matched +2020-12-10 20:19:25,012 ERROR [http-nio-8000-exec-5] [THYMELEAF][http-nio-8000-exec-5] Exception processing template "fatalError": Error resolving template [fatalError], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 20:19:25,013 ERROR [http-nio-8000-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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 [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 20:19:51,473 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:19:51,475 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:19:51,479 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:19:51,489 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:19:57,840 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 18970 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:19:57,843 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:19:57,909 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:19:57,910 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:19:58,570 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:19:58,659 INFO [restartedMain] Finished Spring Data repository scanning in 79ms. Found 6 JPA repository interfaces. +2020-12-10 20:19:59,453 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:19:59,461 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:19:59,462 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:19:59,462 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:19:59,537 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:19:59,537 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1627 ms +2020-12-10 20:19:59,725 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:19:59,764 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:19:59,869 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:19:59,967 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:20:00,336 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:20:00,357 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:20:01,031 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:20:01,038 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:20:01,058 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:20:12,480 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:20:12,486 INFO [restartedMain] false +2020-12-10 20:20:12,528 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 +2020-12-10 20:20:12,751 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:20:13,036 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:20:13,057 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:20:13,069 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 15.685 seconds (JVM running for 20.399) +2020-12-10 20:20:23,472 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:20:23,472 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:20:23,479 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 20:20:27,486 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 20:20:27,510 WARN [http-nio-8000-exec-3] no code +2020-12-10 20:23:15,178 WARN [http-nio-8000-exec-5] matched +2020-12-10 20:23:15,179 WARN [HikariPool-1 housekeeper] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m43s140ms957µs319ns). +2020-12-10 20:23:15,185 ERROR [http-nio-8000-exec-5] [THYMELEAF][http-nio-8000-exec-5] Exception processing template "fatalError": Error resolving template [fatalError], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 20:23:15,189 ERROR [http-nio-8000-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fatalError], 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 [fatalError], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.base/java.lang.Thread.run(Thread.java:832) +2020-12-10 20:23:15,258 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:23:15,261 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:23:15,266 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:23:15,273 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:28:20,015 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 19396 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:28:20,018 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:28:20,086 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:28:20,086 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:28:20,525 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:28:20,581 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 20:28:21,393 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:28:21,407 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:28:21,408 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:28:21,408 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:28:21,476 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:28:21,476 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1389 ms +2020-12-10 20:28:21,658 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:28:21,693 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:28:21,804 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:28:21,875 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:28:22,318 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:28:22,349 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:28:23,021 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:28:23,027 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:28:23,041 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:28:23,468 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:28:23,675 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:28:23,683 INFO [restartedMain] false +2020-12-10 20:28:23,735 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 +2020-12-10 20:28:23,861 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:28:24,058 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:28:24,089 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:28:24,099 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.44 seconds (JVM running for 5.23) +2020-12-10 20:29:01,985 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:29:01,988 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:29:01,991 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:29:02,005 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:29:05,328 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 19503 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:29:05,330 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:29:05,400 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:29:05,400 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:29:05,842 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:29:05,897 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 20:29:06,552 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:29:06,562 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:29:06,563 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:29:06,563 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:29:06,626 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:29:06,626 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1225 ms +2020-12-10 20:29:06,803 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:29:06,836 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:29:06,927 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:29:07,000 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:29:07,383 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:29:07,406 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:29:08,025 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:29:08,033 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:29:08,049 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:29:08,510 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:29:08,690 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:29:08,732 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 +2020-12-10 20:29:08,843 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:29:09,047 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:29:09,076 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:29:09,087 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.14 seconds (JVM running for 4.726) +2020-12-10 20:31:02,125 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:31:02,128 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:31:02,132 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:31:02,142 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:31:07,738 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 19709 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:31:07,741 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:31:07,807 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:31:07,807 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:31:08,417 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:31:08,483 INFO [restartedMain] Finished Spring Data repository scanning in 58ms. Found 6 JPA repository interfaces. +2020-12-10 20:31:09,266 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:31:09,276 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:31:09,277 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:31:09,277 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:31:09,347 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:31:09,347 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1540 ms +2020-12-10 20:31:09,539 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:31:09,576 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:31:09,681 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:31:09,771 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:31:10,188 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:31:10,213 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:31:10,972 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:31:10,981 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:31:10,995 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:32:02,291 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:32:02,445 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:32:02,503 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 +2020-12-10 20:32:02,651 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:32:02,866 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:32:02,886 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:32:02,898 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 55.655 seconds (JVM running for 59.502) +2020-12-10 20:34:09,316 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:34:09,320 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:34:09,324 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:34:09,336 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:34:24,696 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 20494 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:34:24,698 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:34:24,764 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:34:24,765 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:34:25,272 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:34:25,342 INFO [restartedMain] Finished Spring Data repository scanning in 62ms. Found 6 JPA repository interfaces. +2020-12-10 20:34:26,115 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:34:26,127 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:34:26,127 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:34:26,128 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:34:26,197 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:34:26,198 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1433 ms +2020-12-10 20:34:26,417 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:34:26,459 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:34:26,578 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:34:26,660 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:34:27,081 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:34:27,104 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:34:27,832 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:34:27,843 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:34:27,859 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:39:01,945 WARN [HikariPool-1 housekeeper] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=4m4s129ms646µs670ns). +2020-12-10 20:39:01,959 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:43:07,367 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 21326 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:43:07,370 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:43:07,433 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:43:07,433 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:43:07,836 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:43:07,888 INFO [restartedMain] Finished Spring Data repository scanning in 46ms. Found 6 JPA repository interfaces. +2020-12-10 20:43:08,523 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:43:08,531 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:43:08,532 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:43:08,532 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:43:08,585 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:43:08,585 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1152 ms +2020-12-10 20:43:08,735 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:43:08,765 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:43:08,848 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:43:08,912 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:43:09,234 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:43:09,253 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:43:09,851 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:43:09,857 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:43:09,872 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:43:10,264 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:43:10,403 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:43:10,441 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 +2020-12-10 20:43:10,543 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:43:10,741 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:43:10,759 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:43:10,771 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.749 seconds (JVM running for 4.31) +2020-12-10 20:43:30,619 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:43:30,622 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:43:30,627 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:43:30,637 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:43:32,548 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 21449 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:43:32,550 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:43:32,618 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:43:32,618 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:43:32,984 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:43:33,034 INFO [restartedMain] Finished Spring Data repository scanning in 44ms. Found 6 JPA repository interfaces. +2020-12-10 20:43:33,659 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:43:33,667 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:43:33,668 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:43:33,668 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:43:33,721 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:43:33,722 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1104 ms +2020-12-10 20:43:33,874 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:43:33,905 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:43:33,987 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:43:34,049 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:43:34,387 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:43:34,407 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:43:35,060 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:43:35,066 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:43:35,078 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:43:35,462 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:43:35,607 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:43:35,643 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 +2020-12-10 20:43:35,734 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:43:35,908 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:43:35,922 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:43:35,931 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.718 seconds (JVM running for 4.246) +2020-12-10 20:45:07,838 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:45:07,841 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:45:07,845 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:45:07,859 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:45:09,890 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 21612 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:45:09,893 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:45:09,954 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:45:09,955 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:45:10,341 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:45:10,395 INFO [restartedMain] Finished Spring Data repository scanning in 48ms. Found 6 JPA repository interfaces. +2020-12-10 20:45:11,045 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:45:11,055 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:45:11,055 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:45:11,056 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:45:11,114 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:45:11,114 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1159 ms +2020-12-10 20:45:11,287 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:45:11,321 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:45:11,409 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:45:11,477 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:45:11,845 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:45:11,873 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:45:12,507 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:45:12,516 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:45:12,530 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:45:12,910 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=false +2020-12-10 20:45:13,069 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:45:13,106 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 +2020-12-10 20:45:13,201 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:45:13,385 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:45:13,399 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:45:13,412 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.885 seconds (JVM running for 4.452) +2020-12-10 20:52:38,685 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:52:38,688 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:52:38,698 INFO [Thread-4] HikariPool-1 - Shutdown initiated... +2020-12-10 20:52:38,713 INFO [Thread-4] HikariPool-1 - Shutdown completed. +2020-12-10 20:52:38,797 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 21612 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:52:38,797 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:52:38,958 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:52:38,978 INFO [restartedMain] Finished Spring Data repository scanning in 19ms. Found 6 JPA repository interfaces. +2020-12-10 20:52:39,133 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:52:39,134 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:52:39,135 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:52:39,135 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:52:39,147 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:52:39,147 INFO [restartedMain] Root WebApplicationContext: initialization completed in 346 ms +2020-12-10 20:52:39,207 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:52:39,212 INFO [restartedMain] HikariPool-2 - Starting... +2020-12-10 20:52:39,301 INFO [restartedMain] HikariPool-2 - Start completed. +2020-12-10 20:52:39,305 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:52:39,564 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:52:39,565 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:52:39,571 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:52:39,576 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'votingController': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'votingPhase' in value "${votingPhase}" +2020-12-10 20:52:39,577 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:52:39,578 INFO [restartedMain] HikariPool-2 - Shutdown initiated... +2020-12-10 20:52:39,610 INFO [restartedMain] HikariPool-2 - Shutdown completed. +2020-12-10 20:52:39,611 INFO [restartedMain] Stopping service [Tomcat] +2020-12-10 20:52:39,618 INFO [restartedMain] + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2020-12-10 20:52:39,625 ERROR [restartedMain] Application run failed +org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'votingController': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'votingPhase' in value "${votingPhase}" + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:405) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) + 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:15) + 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: java.lang.IllegalArgumentException: Could not resolve placeholder 'votingPhase' in value "${votingPhase}" + at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:178) + at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) + at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:239) + at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210) + at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) + at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:918) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1248) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) + ... 23 common frames omitted +2020-12-10 20:52:39,978 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22178 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:52:39,982 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:52:40,054 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:52:40,055 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:52:40,441 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:52:40,490 INFO [restartedMain] Finished Spring Data repository scanning in 42ms. Found 6 JPA repository interfaces. +2020-12-10 20:52:41,112 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:52:41,120 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:52:41,121 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:52:41,122 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:52:41,182 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:52:41,182 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1127 ms +2020-12-10 20:52:41,343 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:52:41,384 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:52:41,466 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:52:41,531 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:52:41,883 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:52:41,905 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:52:42,485 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:52:42,493 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:52:42,504 WARN [restartedMain] Unable to start LiveReload server +2020-12-10 20:52:42,509 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'votingController': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'votingPhase' in value "${votingPhase}" +2020-12-10 20:52:42,509 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:52:42,513 INFO [restartedMain] HikariPool-1 - Shutdown initiated... +2020-12-10 20:52:42,528 INFO [restartedMain] HikariPool-1 - Shutdown completed. +2020-12-10 20:52:42,531 INFO [restartedMain] Stopping service [Tomcat] +2020-12-10 20:52:42,544 INFO [restartedMain] + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2020-12-10 20:52:42,547 ERROR [restartedMain] Application run failed +org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'votingController': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'votingPhase' in value "${votingPhase}" + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:405) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) + 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:15) + 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: java.lang.IllegalArgumentException: Could not resolve placeholder 'votingPhase' in value "${votingPhase}" + at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:178) + at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) + at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:239) + at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210) + at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) + at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:918) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1248) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) + ... 23 common frames omitted +2020-12-10 20:54:53,304 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 21612 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:54:53,304 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:54:53,418 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:54:53,438 INFO [restartedMain] Finished Spring Data repository scanning in 19ms. Found 6 JPA repository interfaces. +2020-12-10 20:54:53,564 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22335 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:54:53,571 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:54:53,579 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:54:53,581 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:53,582 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:54:53,583 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:54:53,593 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:54:53,594 INFO [restartedMain] Root WebApplicationContext: initialization completed in 287 ms +2020-12-10 20:54:53,633 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:54:53,635 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:54:53,641 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:54:53,647 INFO [restartedMain] HikariPool-3 - Starting... +2020-12-10 20:54:53,691 INFO [restartedMain] HikariPool-3 - Start completed. +2020-12-10 20:54:53,693 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:54:53,821 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:54:53,822 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:54:53,826 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:54:53,961 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=true +2020-12-10 20:54:53,992 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:54:54,012 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 +2020-12-10 20:54:54,048 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:54:54,110 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:54,127 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:54:54,131 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.847 seconds (JVM running for 585.171) +2020-12-10 20:54:54,133 INFO [restartedMain] Condition evaluation unchanged +2020-12-10 20:54:54,159 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:54:54,213 INFO [restartedMain] Finished Spring Data repository scanning in 48ms. Found 6 JPA repository interfaces. +2020-12-10 20:54:54,798 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:54:54,808 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:54,809 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:54:54,809 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:54:54,864 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:54:54,864 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1228 ms +2020-12-10 20:54:55,036 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:54:55,074 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:54:55,156 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:54:55,219 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:54:55,547 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:54:55,567 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:54:56,161 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:54:56,167 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:54:56,177 WARN [restartedMain] Unable to start LiveReload server +2020-12-10 20:54:56,560 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=true +2020-12-10 20:54:56,712 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:54:56,756 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 +2020-12-10 20:54:56,860 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:54:57,037 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:57,041 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8000 is already in use +2020-12-10 20:54:57,042 INFO [restartedMain] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:54:57,043 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:54:57,046 INFO [restartedMain] HikariPool-1 - Shutdown initiated... +2020-12-10 20:54:57,060 INFO [restartedMain] HikariPool-1 - Shutdown completed. +2020-12-10 20:54:57,063 INFO [restartedMain] Pausing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:57,063 INFO [restartedMain] Stopping service [Tomcat] +2020-12-10 20:54:57,068 INFO [restartedMain] Stopping ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:57,069 INFO [restartedMain] Destroying ProtocolHandler ["http-nio-8000"] +2020-12-10 20:54:57,076 INFO [restartedMain] + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2020-12-10 20:54:57,078 ERROR [restartedMain] + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Web server failed to start. Port 8000 was already in use. + +Action: + +Identify and stop the process that's listening on port 8000 or configure this application to listen on another port. + +2020-12-10 20:55:14,337 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:55:14,339 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:55:14,340 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown initiated... +2020-12-10 20:55:14,348 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown completed. +2020-12-10 20:55:17,792 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22477 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:55:17,795 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:55:17,860 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:55:17,861 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:55:18,303 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:55:18,367 INFO [restartedMain] Finished Spring Data repository scanning in 58ms. Found 6 JPA repository interfaces. +2020-12-10 20:55:19,067 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:55:19,077 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:55:19,078 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:55:19,078 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:55:19,145 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:55:19,145 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1281 ms +2020-12-10 20:55:19,337 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:55:19,381 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:55:19,486 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:55:19,550 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:55:19,953 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:55:19,981 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:55:20,663 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:55:20,672 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:55:20,686 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:55:21,184 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=true +2020-12-10 20:55:21,326 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:55:21,365 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 +2020-12-10 20:55:21,463 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:55:21,688 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:55:21,706 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:55:21,719 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.306 seconds (JVM running for 4.996) +2020-12-10 20:55:46,689 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:55:46,689 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:55:46,694 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 20:55:49,461 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 20:55:49,484 WARN [http-nio-8000-exec-4] no code +2020-12-10 20:56:01,915 WARN [http-nio-8000-exec-6] matched +2020-12-10 20:56:13,517 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:56:13,519 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:56:13,524 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:56:13,534 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:56:16,800 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22775 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:56:16,802 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:56:16,861 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:56:16,861 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:56:17,277 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:56:17,340 INFO [restartedMain] Finished Spring Data repository scanning in 56ms. Found 6 JPA repository interfaces. +2020-12-10 20:56:18,055 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:56:18,064 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:56:18,065 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:56:18,065 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:56:18,126 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:56:18,127 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1266 ms +2020-12-10 20:56:18,324 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:56:18,362 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:56:18,464 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:56:18,539 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:56:18,935 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:56:18,957 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:56:19,603 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:56:19,611 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:56:19,624 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:56:20,071 INFO [restartedMain] Program started with arguments: votingPhase=true mottoVoting=false addingPhase=false +2020-12-10 20:56:20,223 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:56:20,294 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 +2020-12-10 20:56:20,444 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:56:20,671 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:56:20,692 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:56:20,706 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.29 seconds (JVM running for 4.895) +2020-12-10 20:56:28,249 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:56:28,250 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:56:28,257 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 20:56:30,589 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 20:56:30,612 WARN [http-nio-8000-exec-3] no code +2020-12-10 20:57:14,975 WARN [http-nio-8000-exec-5] matched +2020-12-10 20:58:12,485 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:58:12,487 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:58:12,493 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:58:12,502 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 20:58:15,665 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 23029 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 20:58:15,668 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 20:58:15,729 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 20:58:15,730 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 20:58:16,133 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 20:58:16,188 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 20:58:16,912 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 20:58:16,928 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 20:58:16,929 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 20:58:16,929 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 20:58:16,993 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 20:58:16,993 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1263 ms +2020-12-10 20:58:17,186 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 20:58:17,225 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 20:58:17,331 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 20:58:17,400 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 20:58:17,773 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 20:58:17,795 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 20:58:18,435 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 20:58:18,444 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:58:18,458 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 20:58:18,857 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 20:58:19,009 INFO [restartedMain] Mottos successfully set up +2020-12-10 20:58:19,052 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 +2020-12-10 20:58:19,165 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 20:58:19,373 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 20:58:19,396 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 20:58:19,409 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.114 seconds (JVM running for 4.731) +2020-12-10 20:58:29,419 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 20:58:29,420 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 20:58:29,425 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 20:58:31,682 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 20:58:31,700 WARN [http-nio-8000-exec-4] no code +2020-12-10 20:58:44,364 WARN [http-nio-8000-exec-6] matched +2020-12-10 20:59:59,937 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 20:59:59,939 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 20:59:59,942 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 20:59:59,952 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:00:03,305 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 23187 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:00:03,308 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:00:03,371 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 21:00:03,371 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 21:00:03,808 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:00:03,867 INFO [restartedMain] Finished Spring Data repository scanning in 51ms. Found 6 JPA repository interfaces. +2020-12-10 21:00:04,569 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:00:04,578 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:00:04,579 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:00:04,579 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:00:04,639 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:00:04,639 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1267 ms +2020-12-10 21:00:04,816 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:00:04,853 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:00:04,944 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:00:05,034 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 21:00:05,391 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 21:00:05,416 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:00:06,142 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:00:06,148 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:00:06,168 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:00:06,610 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:00:06,764 INFO [restartedMain] Mottos successfully set up +2020-12-10 21:00:06,803 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 +2020-12-10 21:00:06,919 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:00:07,138 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:00:07,169 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:00:07,180 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.245 seconds (JVM running for 4.848) +2020-12-10 21:00:08,516 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 21:00:08,517 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 21:00:08,524 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 21:00:15,254 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 21:00:15,275 WARN [http-nio-8000-exec-4] no code +2020-12-10 21:00:53,186 WARN [http-nio-8000-exec-6] matched +2020-12-10 21:00:53,192 ERROR [http-nio-8000-exec-6] [THYMELEAF][http-nio-8000-exec-6] Exception processing template "mottoVoting.html": Error resolving template [mottoVoting.html], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mottoVoting.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 21:00:53,193 ERROR [http-nio-8000-exec-6] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mottoVoting.html], 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 [mottoVoting.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 21:01:24,374 WARN [http-nio-8000-exec-10] simon.bussmann@adolfinum.de +2020-12-10 21:01:24,379 WARN [http-nio-8000-exec-10] no code +2020-12-10 21:01:38,655 WARN [http-nio-8000-exec-2] matched +2020-12-10 21:01:38,661 ERROR [http-nio-8000-exec-2] [THYMELEAF][http-nio-8000-exec-2] Exception processing template "mottoVoting.html": Error resolving template [mottoVoting.html], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mottoVoting.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 21:01:38,662 ERROR [http-nio-8000-exec-2] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [mottoVoting.html], 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 [mottoVoting.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 21:05:55,426 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:05:55,429 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:05:55,434 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:05:55,449 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:05:57,956 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 23698 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:05:57,960 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:05:58,018 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 21:05:58,019 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 21:05:58,429 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:05:58,499 INFO [restartedMain] Finished Spring Data repository scanning in 61ms. Found 6 JPA repository interfaces. +2020-12-10 21:05:59,274 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:05:59,284 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:05:59,284 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:05:59,284 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:05:59,348 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:05:59,348 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1328 ms +2020-12-10 21:05:59,564 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:05:59,599 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:05:59,684 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:05:59,747 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 21:06:00,104 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 21:06:00,127 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:06:00,811 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:06:00,818 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:06:00,831 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:06:01,251 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:06:01,471 INFO [restartedMain] Mottos successfully set up +2020-12-10 21:06:01,538 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 +2020-12-10 21:06:01,666 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:06:01,862 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:06:01,879 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:06:01,891 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.28 seconds (JVM running for 4.936) +2020-12-10 21:06:05,910 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 21:06:05,911 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 21:06:05,919 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 21:06:08,471 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 21:06:08,492 WARN [http-nio-8000-exec-3] no code +2020-12-10 21:06:29,834 WARN [http-nio-8000-exec-6] matched +2020-12-10 21:09:14,576 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:09:14,580 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:09:14,584 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:09:14,595 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:09:16,824 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 24214 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:09:16,827 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:09:16,895 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 21:09:16,896 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 21:09:17,332 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:09:17,393 INFO [restartedMain] Finished Spring Data repository scanning in 54ms. Found 6 JPA repository interfaces. +2020-12-10 21:09:18,108 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:09:18,118 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:09:18,118 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:09:18,119 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:09:18,179 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:09:18,179 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1283 ms +2020-12-10 21:09:18,381 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:09:18,420 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:09:18,514 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:09:18,592 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 21:09:19,016 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 21:09:19,038 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:09:19,689 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:09:19,699 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:09:19,717 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:09:20,131 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:09:20,327 INFO [restartedMain] Mottos successfully set up +2020-12-10 21:09:20,377 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 +2020-12-10 21:09:20,482 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:09:20,697 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:09:20,724 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:09:20,735 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.309 seconds (JVM running for 4.893) +2020-12-10 21:09:38,291 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 21:09:38,292 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 21:09:38,300 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 21:09:38,351 WARN [http-nio-8000-exec-1] wrong +2020-12-10 21:09:46,425 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de +2020-12-10 21:09:46,432 WARN [http-nio-8000-exec-5] no code +2020-12-10 21:09:57,301 WARN [http-nio-8000-exec-7] matched +2020-12-10 21:09:59,771 ERROR [http-nio-8000-exec-9] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NumberFormatException: For input string: ""] with root cause +java.lang.NumberFormatException: For input string: "" + at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) + at java.base/java.lang.Long.parseLong(Long.java:702) + at java.base/java.lang.Long.valueOf(Long.java:1144) + at com.github.cato447.AbizeitungVotingSystem.table.TableAction.voteFor(TableAction.java:73) + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.ProcessVote(VotingController.java:229) + 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:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 21:10:39,244 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:10:39,247 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:10:39,251 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:10:39,262 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:10:41,517 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 24390 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:10:41,521 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:10:41,584 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 21:10:41,585 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 21:10:42,004 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:10:42,061 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 21:10:42,817 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:10:42,828 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:10:42,828 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:10:42,829 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:10:42,895 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:10:42,895 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1310 ms +2020-12-10 21:10:43,075 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:10:43,110 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:10:43,217 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:10:43,310 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 21:10:43,734 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 21:10:43,757 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:10:44,399 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:10:44,404 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:10:44,419 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:10:44,913 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:10:45,127 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 +2020-12-10 21:10:45,269 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:10:45,494 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:10:45,515 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:10:45,526 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.387 seconds (JVM running for 5.022) +2020-12-10 21:10:49,117 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 21:10:49,118 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 21:10:49,127 INFO [http-nio-8000-exec-1] Completed initialization in 8 ms +2020-12-10 21:10:51,520 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 21:10:51,548 WARN [http-nio-8000-exec-3] no code +2020-12-10 21:11:05,210 WARN [http-nio-8000-exec-5] matched +2020-12-10 21:11:54,535 WARN [http-nio-8000-exec-7] wrong +2020-12-10 21:14:07,372 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:14:07,375 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:14:07,385 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:14:07,397 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:14:10,726 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 24709 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:14:10,731 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:14:10,804 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 21:14:10,805 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 21:14:11,239 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:14:11,294 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 21:14:12,061 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:14:12,072 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:14:12,073 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:14:12,073 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:14:12,139 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:14:12,139 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1334 ms +2020-12-10 21:14:12,334 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:14:12,369 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:14:12,454 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:14:12,524 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 21:14:12,900 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 21:14:12,920 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:14:13,574 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:14:13,582 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:14:13,595 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:14:14,055 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:14:14,247 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 +2020-12-10 21:14:14,356 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:14:14,549 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:14:14,570 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:14:14,584 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.234 seconds (JVM running for 4.861) +2020-12-10 21:14:19,115 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 21:14:19,116 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 21:14:19,125 INFO [http-nio-8000-exec-1] Completed initialization in 9 ms +2020-12-10 21:14:19,162 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 21:14:19,180 WARN [http-nio-8000-exec-1] no code +2020-12-10 21:14:30,562 WARN [http-nio-8000-exec-3] matched +2020-12-10 21:15:32,045 WARN [http-nio-8000-exec-6] Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'code' is not present] +2020-12-10 21:15:41,293 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de +2020-12-10 21:15:41,300 WARN [http-nio-8000-exec-9] no code +2020-12-10 21:15:57,181 WARN [http-nio-8000-exec-1] matched +2020-12-10 21:16:24,410 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:16:24,413 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:16:24,418 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:16:24,428 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:16:26,657 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 25020 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:16:26,666 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:16:26,741 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 21:16:26,742 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 21:16:27,184 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:16:27,241 INFO [restartedMain] Finished Spring Data repository scanning in 50ms. Found 6 JPA repository interfaces. +2020-12-10 21:16:27,977 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:16:27,987 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:16:27,988 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:16:27,988 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:16:28,061 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:16:28,062 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1320 ms +2020-12-10 21:16:28,266 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:16:28,303 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:16:28,397 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:16:28,483 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 21:16:28,850 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 21:16:28,871 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:16:29,580 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:16:29,590 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:16:29,608 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:16:30,068 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:16:30,291 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 +2020-12-10 21:16:30,400 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:16:30,595 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:16:30,611 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:16:30,620 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.312 seconds (JVM running for 4.958) +2020-12-10 21:16:35,052 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 21:16:35,052 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 21:16:35,060 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 21:16:37,610 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 21:16:37,632 WARN [http-nio-8000-exec-3] no code +2020-12-10 21:16:50,233 WARN [http-nio-8000-exec-5] matched +2020-12-10 21:17:56,284 WARN [http-nio-8000-exec-8] wrong +2020-12-10 21:18:21,065 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de +2020-12-10 21:18:21,070 WARN [http-nio-8000-exec-2] no code +2020-12-10 21:18:32,335 WARN [http-nio-8000-exec-4] matched +2020-12-10 21:36:13,367 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:36:13,370 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:36:13,375 INFO [Thread-4] HikariPool-1 - Shutdown initiated... +2020-12-10 21:36:13,393 INFO [Thread-4] HikariPool-1 - Shutdown completed. +2020-12-10 21:36:13,528 INFO [main] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests], using SpringBootContextLoader +2020-12-10 21:36:13,530 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 25020 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:36:13,531 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:36:13,555 INFO [main] Could not detect default resource locations for test class [com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +2020-12-10 21:36:13,557 INFO [main] Could not detect default configuration classes for test class [com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests]: AbizeitungVotingSystemApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +2020-12-10 21:36:13,707 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:36:13,717 INFO [main] Found @SpringBootConfiguration com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplication for test class com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests +2020-12-10 21:36:13,724 INFO [restartedMain] Finished Spring Data repository scanning in 16ms. Found 6 JPA repository interfaces. +2020-12-10 21:36:13,830 INFO [main] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +2020-12-10 21:36:13,846 INFO [main] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@74960bfa, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@42721fe, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40844aab, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1f6c9cd8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5b619d14, org.springframework.test.context.transaction.TransactionalTestExecutionListener@66746f57, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@447a020, org.springframework.test.context.event.EventPublishingTestExecutionListener@7f36662c, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@28e8dde3, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6d23017e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@54dcfa5a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1817f1eb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@767e20cf, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@3a3e78f] +2020-12-10 21:36:13,887 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:36:13,889 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:36:13,890 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:36:13,890 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:36:13,899 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:36:13,901 INFO [restartedMain] Root WebApplicationContext: initialization completed in 366 ms +2020-12-10 21:36:13,965 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:36:13,971 INFO [restartedMain] HikariPool-2 - Starting... +2020-12-10 21:36:14,008 INFO [restartedMain] HikariPool-2 - Start completed. +2020-12-10 21:36:14,008 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:36:14,182 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:36:14,183 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:36:14,194 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:36:14,338 INFO [main] Starting AbizeitungVotingSystemApplicationTests on bitecoding-System-Product-Name with PID 25874 (started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:36:14,340 INFO [main] No active profile set, falling back to default profiles: default +2020-12-10 21:36:14,412 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:36:14,535 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 +2020-12-10 21:36:14,592 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:36:14,665 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:36:14,679 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:36:14,686 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 1.215 seconds (JVM running for 1189.024) +2020-12-10 21:36:14,688 INFO [restartedMain] Condition evaluation unchanged +2020-12-10 21:36:15,006 INFO [main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:36:15,074 INFO [main] Finished Spring Data repository scanning in 58ms. Found 6 JPA repository interfaces. +2020-12-10 21:36:15,761 INFO [main] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:36:15,794 INFO [main] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:36:15,881 INFO [main] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:36:15,960 INFO [main] HikariPool-1 - Starting... +2020-12-10 21:36:16,315 INFO [main] HikariPool-1 - Start completed. +2020-12-10 21:36:16,336 INFO [main] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:36:16,959 INFO [main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:36:16,963 INFO [main] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:36:17,433 INFO [main] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:36:17,791 WARN [main] 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 +2020-12-10 21:36:17,983 INFO [main] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:36:18,287 INFO [main] Started AbizeitungVotingSystemApplicationTests in 4.374 seconds (JVM running for 5.484) +2020-12-10 21:36:18,470 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:36:18,473 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:36:18,476 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:36:18,485 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 21:39:50,774 INFO [main] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests], using SpringBootContextLoader +2020-12-10 21:39:50,779 INFO [main] Could not detect default resource locations for test class [com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. +2020-12-10 21:39:50,780 INFO [main] Could not detect default configuration classes for test class [com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests]: AbizeitungVotingSystemApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +2020-12-10 21:39:50,873 INFO [main] Found @SpringBootConfiguration com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplication for test class com.github.cato447.AbizeitungVotingSystem.AbizeitungVotingSystemApplicationTests +2020-12-10 21:39:50,962 INFO [main] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +2020-12-10 21:39:50,973 INFO [main] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@74960bfa, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@42721fe, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@40844aab, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1f6c9cd8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5b619d14, org.springframework.test.context.transaction.TransactionalTestExecutionListener@66746f57, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@447a020, org.springframework.test.context.event.EventPublishingTestExecutionListener@7f36662c, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@28e8dde3, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6d23017e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@54dcfa5a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1817f1eb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@767e20cf, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@3a3e78f] +2020-12-10 21:39:51,195 INFO [main] Starting AbizeitungVotingSystemApplicationTests on bitecoding-System-Product-Name with PID 26214 (started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:39:51,196 INFO [main] No active profile set, falling back to default profiles: default +2020-12-10 21:39:51,479 INFO [Thread-9] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:39:51,485 INFO [Thread-9] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:39:51,491 INFO [Thread-9] HikariPool-2 - Shutdown initiated... +2020-12-10 21:39:51,507 INFO [Thread-9] HikariPool-2 - Shutdown completed. +2020-12-10 21:39:51,617 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 25020 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 21:39:51,618 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 21:39:51,763 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:39:51,778 INFO [main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 21:39:51,788 INFO [restartedMain] Finished Spring Data repository scanning in 23ms. Found 6 JPA repository interfaces. +2020-12-10 21:39:51,878 INFO [main] Finished Spring Data repository scanning in 87ms. Found 6 JPA repository interfaces. +2020-12-10 21:39:51,949 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 21:39:51,950 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 21:39:51,951 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 21:39:51,951 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 21:39:51,962 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 21:39:51,963 INFO [restartedMain] Root WebApplicationContext: initialization completed in 341 ms +2020-12-10 21:39:52,014 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:39:52,018 INFO [restartedMain] HikariPool-3 - Starting... +2020-12-10 21:39:52,048 INFO [restartedMain] HikariPool-3 - Start completed. +2020-12-10 21:39:52,049 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:39:52,200 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:39:52,200 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:39:52,208 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 21:39:52,414 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:39:52,478 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 +2020-12-10 21:39:52,527 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:39:52,592 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 21:39:52,603 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 21:39:52,608 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 1.015 seconds (JVM running for 1406.947) +2020-12-10 21:39:52,612 INFO [restartedMain] Condition evaluation unchanged +2020-12-10 21:39:52,878 INFO [main] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 21:39:52,909 INFO [main] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 21:39:53,000 INFO [main] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 21:39:53,063 INFO [main] HikariPool-1 - Starting... +2020-12-10 21:39:53,393 INFO [main] HikariPool-1 - Start completed. +2020-12-10 21:39:53,419 INFO [main] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 21:39:54,073 INFO [main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 21:39:54,080 INFO [main] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:39:54,544 INFO [main] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 21:39:54,879 WARN [main] 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 +2020-12-10 21:39:55,087 INFO [main] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 21:39:55,382 INFO [main] Started AbizeitungVotingSystemApplicationTests in 4.376 seconds (JVM running for 5.263) +2020-12-10 21:39:55,551 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 21:39:55,553 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 21:39:55,556 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 21:39:55,565 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 22:05:12,025 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 22:05:12,027 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 22:05:12,028 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown initiated... +2020-12-10 22:05:12,039 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown completed. +2020-12-10 22:05:15,346 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 26937 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 22:05:15,350 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 22:05:15,412 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 22:05:15,412 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 22:05:15,800 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 22:05:15,851 INFO [restartedMain] Finished Spring Data repository scanning in 45ms. Found 6 JPA repository interfaces. +2020-12-10 22:05:16,589 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 22:05:16,598 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 22:05:16,599 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 22:05:16,600 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 22:05:16,662 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 22:05:16,663 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1250 ms +2020-12-10 22:05:16,833 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 22:05:16,870 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 22:05:16,959 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 22:05:17,023 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 22:05:17,392 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 22:05:17,419 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 22:05:18,046 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 22:05:18,051 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 22:05:18,062 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 22:05:18,443 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 22:05:18,670 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 +2020-12-10 22:05:18,778 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 22:05:18,969 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 22:05:18,987 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 22:05:19,002 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.034 seconds (JVM running for 4.622) +2020-12-10 22:05:30,599 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 22:05:30,600 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 22:05:30,607 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 22:05:30,648 WARN [http-nio-8000-exec-1] wrong +2020-12-10 22:05:38,617 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de +2020-12-10 22:05:38,627 WARN [http-nio-8000-exec-6] no code +2020-12-10 22:05:50,537 WARN [http-nio-8000-exec-8] matched +2020-12-10 22:08:18,088 WARN [http-nio-8000-exec-1] wrong +2020-12-10 22:08:38,315 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de +2020-12-10 22:08:38,321 WARN [http-nio-8000-exec-6] no code +2020-12-10 22:08:51,100 WARN [http-nio-8000-exec-8] matched +2020-12-10 22:21:19,135 WARN [http-nio-8000-exec-1] wrong +2020-12-10 22:22:46,431 WARN [http-nio-8000-exec-3] wrong +2020-12-10 22:22:52,136 WARN [http-nio-8000-exec-8] simon.bussmann@adolfinum.de +2020-12-10 22:22:52,142 WARN [http-nio-8000-exec-8] no code +2020-12-10 22:23:18,677 WARN [http-nio-8000-exec-10] matched +2020-12-10 22:23:43,837 WARN [http-nio-8000-exec-2] wrong +2020-12-10 22:23:50,068 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de +2020-12-10 22:23:50,072 WARN [http-nio-8000-exec-6] no code +2020-12-10 22:24:00,350 WARN [http-nio-8000-exec-8] matched +2020-12-10 22:24:54,784 WARN [http-nio-8000-exec-10] wrong +2020-12-10 22:25:00,566 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de +2020-12-10 22:25:00,571 WARN [http-nio-8000-exec-5] no code +2020-12-10 22:25:20,829 WARN [http-nio-8000-exec-7] matched +2020-12-10 22:41:18,287 WARN [http-nio-8000-exec-6] wrong +2020-12-10 22:41:25,717 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de +2020-12-10 22:41:25,722 WARN [http-nio-8000-exec-9] no code +2020-12-10 22:41:32,228 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-10 22:41:40,858 WARN [http-nio-8000-exec-6] matched +2020-12-10 22:42:08,868 WARN [http-nio-8000-exec-8] wrong +2020-12-10 22:42:17,122 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de +2020-12-10 22:42:17,127 WARN [http-nio-8000-exec-2] no code +2020-12-10 22:42:25,127 WARN [http-nio-8000-exec-4] matched +2020-12-10 22:46:24,332 WARN [http-nio-8000-exec-10] simon.bussmann@adolfinum.de +2020-12-10 22:46:24,337 WARN [http-nio-8000-exec-10] no code +2020-12-10 22:46:31,725 WARN [http-nio-8000-exec-2] matched +2020-12-10 22:47:33,422 WARN [http-nio-8000-exec-5] wrong +2020-12-10 22:47:37,744 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de +2020-12-10 22:47:37,749 WARN [http-nio-8000-exec-9] no code +2020-12-10 22:47:48,023 WARN [http-nio-8000-exec-1] matched +2020-12-10 22:48:10,902 WARN [http-nio-8000-exec-3] wrong +2020-12-10 22:48:16,728 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de +2020-12-10 22:48:16,732 WARN [http-nio-8000-exec-7] no code +2020-12-10 22:48:24,312 WARN [http-nio-8000-exec-9] matched +2020-12-10 22:48:41,489 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 22:48:41,494 WARN [http-nio-8000-exec-3] no code +2020-12-10 22:48:53,198 WARN [http-nio-8000-exec-5] matched +2020-12-10 22:50:55,466 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 22:50:55,470 WARN [http-nio-8000-exec-1] no code +2020-12-10 22:51:02,740 WARN [http-nio-8000-exec-3] matched +2020-12-10 22:51:43,231 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 22:51:43,234 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 22:51:43,238 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 22:51:43,244 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 22:52:21,031 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 29260 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 22:52:21,033 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 22:52:21,080 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 22:52:21,080 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 22:52:21,438 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 22:52:21,484 INFO [restartedMain] Finished Spring Data repository scanning in 39ms. Found 6 JPA repository interfaces. +2020-12-10 22:52:22,035 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 22:52:22,044 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 22:52:22,045 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 22:52:22,045 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 22:52:22,099 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 22:52:22,099 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1019 ms +2020-12-10 22:52:22,253 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 22:52:22,287 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 22:52:22,376 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 22:52:22,441 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 22:52:22,799 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 22:52:22,819 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 22:52:23,393 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 22:52:23,401 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 22:52:23,411 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 22:52:23,764 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 22:52:23,932 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 +2020-12-10 22:52:24,021 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 22:52:24,182 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 22:52:24,198 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 22:52:24,207 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.491 seconds (JVM running for 3.999) +2020-12-10 22:52:35,932 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 22:52:35,932 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 22:52:35,939 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 22:52:39,664 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 22:52:39,683 WARN [http-nio-8000-exec-3] no code +2020-12-10 22:52:48,268 WARN [http-nio-8000-exec-5] matched +2020-12-10 22:52:55,937 ERROR [http-nio-8000-exec-7] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NumberFormatException: For input string: ""] with root cause +java.lang.NumberFormatException: For input string: "" + at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) + at java.base/java.lang.Long.parseLong(Long.java:702) + at java.base/java.lang.Long.valueOf(Long.java:1144) + at com.github.cato447.AbizeitungVotingSystem.table.TableAction.voteFor(TableAction.java:73) + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.ProcessVote(VotingController.java:228) + 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:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:23:53,049 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:23:53,052 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:23:53,057 INFO [Thread-4] HikariPool-1 - Shutdown initiated... +2020-12-10 23:23:53,068 INFO [Thread-4] HikariPool-1 - Shutdown completed. +2020-12-10 23:23:53,162 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 29260 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:23:53,163 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:23:53,308 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:23:53,333 INFO [restartedMain] Finished Spring Data repository scanning in 23ms. Found 6 JPA repository interfaces. +2020-12-10 23:23:53,527 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:23:53,530 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:23:53,531 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:23:53,531 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:23:53,547 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:23:53,548 INFO [restartedMain] Root WebApplicationContext: initialization completed in 382 ms +2020-12-10 23:23:53,591 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:23:53,596 INFO [restartedMain] HikariPool-2 - Starting... +2020-12-10 23:23:53,616 INFO [restartedMain] HikariPool-2 - Start completed. +2020-12-10 23:23:53,617 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:23:53,790 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:23:53,791 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:23:53,801 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:23:54,000 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:23:54,061 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 +2020-12-10 23:23:54,101 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:23:54,175 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:23:54,191 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:23:54,195 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 1.061 seconds (JVM running for 1893.987) +2020-12-10 23:23:54,199 INFO [restartedMain] Condition evaluation unchanged +2020-12-10 23:23:54,272 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:23:54,274 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:23:54,277 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms +2020-12-10 23:24:06,331 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de +2020-12-10 23:24:06,342 WARN [http-nio-8000-exec-6] no code +2020-12-10 23:24:19,029 WARN [http-nio-8000-exec-8] matched +2020-12-10 23:24:23,224 ERROR [http-nio-8000-exec-10] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.util.NoSuchElementException: No value present] with root cause +java.util.NoSuchElementException: No value present + at java.base/java.util.Optional.get(Optional.java:148) + at com.github.cato447.AbizeitungVotingSystem.table.TableAction.voteFor(TableAction.java:80) + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.ProcessVote(VotingController.java:239) + 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:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:25:50,226 INFO [Thread-9] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:25:50,229 INFO [Thread-9] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:25:50,230 INFO [Thread-9] HikariPool-2 - Shutdown initiated... +2020-12-10 23:25:50,237 INFO [Thread-9] HikariPool-2 - Shutdown completed. +2020-12-10 23:25:50,329 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 29260 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:25:50,330 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:25:50,457 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:25:50,476 INFO [restartedMain] Finished Spring Data repository scanning in 18ms. Found 6 JPA repository interfaces. +2020-12-10 23:25:50,612 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:25:50,613 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:25:50,614 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:25:50,614 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:25:50,624 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:25:50,624 INFO [restartedMain] Root WebApplicationContext: initialization completed in 290 ms +2020-12-10 23:25:50,657 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:25:50,663 INFO [restartedMain] HikariPool-3 - Starting... +2020-12-10 23:25:50,682 INFO [restartedMain] HikariPool-3 - Start completed. +2020-12-10 23:25:50,683 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:25:50,824 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:25:50,824 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:25:50,830 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:25:50,997 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:25:51,054 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 +2020-12-10 23:25:51,091 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:25:51,140 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:25:51,156 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:25:51,161 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.871 seconds (JVM running for 2010.953) +2020-12-10 23:25:51,164 INFO [restartedMain] Condition evaluation unchanged +2020-12-10 23:25:51,223 INFO [http-nio-8000-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:25:51,223 INFO [http-nio-8000-exec-2] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:25:51,226 INFO [http-nio-8000-exec-2] Completed initialization in 2 ms +2020-12-10 23:25:56,306 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 23:25:56,315 WARN [http-nio-8000-exec-3] no code +2020-12-10 23:26:08,150 WARN [http-nio-8000-exec-5] matched +2020-12-10 23:26:11,145 WARN [http-nio-8000-exec-7] Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'voteValue' is not present] +2020-12-10 23:28:56,642 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de +2020-12-10 23:28:56,646 WARN [http-nio-8000-exec-5] no code +2020-12-10 23:29:11,779 WARN [http-nio-8000-exec-7] matched +2020-12-10 23:29:13,825 WARN [http-nio-8000-exec-9] Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'voteValue' is not present] +2020-12-10 23:33:23,019 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:33:23,020 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:33:23,021 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown initiated... +2020-12-10 23:33:23,028 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown completed. +2020-12-10 23:33:26,472 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 30570 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:33:26,474 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:33:26,521 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:33:26,521 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:33:26,973 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:33:27,027 INFO [restartedMain] Finished Spring Data repository scanning in 47ms. Found 6 JPA repository interfaces. +2020-12-10 23:33:27,726 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:33:27,738 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:33:27,739 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:33:27,740 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:33:27,812 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:33:27,813 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1290 ms +2020-12-10 23:33:28,006 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:33:28,046 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:33:28,151 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:33:28,230 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:33:28,624 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:33:28,647 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:33:29,286 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:33:29,294 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:33:29,312 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:33:29,805 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:33:30,030 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 +2020-12-10 23:33:30,162 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:33:30,379 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:33:30,402 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:33:30,415 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.294 seconds (JVM running for 4.904) +2020-12-10 23:33:33,898 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:33:33,898 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:33:33,905 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 23:33:37,349 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 23:33:37,369 WARN [http-nio-8000-exec-3] no code +2020-12-10 23:33:46,841 WARN [http-nio-8000-exec-5] matched +2020-12-10 23:33:50,048 WARN [http-nio-8000-exec-7] Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'voteValue' is not present] +2020-12-10 23:34:15,771 WARN [http-nio-8000-exec-9] Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'voteValue' is not present] +2020-12-10 23:34:21,438 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de +2020-12-10 23:34:21,443 WARN [http-nio-8000-exec-2] no code +2020-12-10 23:34:29,833 WARN [http-nio-8000-exec-4] matched +2020-12-10 23:34:32,090 ERROR [http-nio-8000-exec-6] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.mottoSaving(VotingController.java:223) + 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:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:34:48,479 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:34:48,483 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:34:48,486 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:34:48,494 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:34:53,627 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 30821 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:34:53,631 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:34:53,699 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:34:53,700 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:34:54,164 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:34:54,223 INFO [restartedMain] Finished Spring Data repository scanning in 53ms. Found 6 JPA repository interfaces. +2020-12-10 23:34:54,984 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:34:54,994 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:34:54,995 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:34:54,995 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:34:55,064 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:34:55,065 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1365 ms +2020-12-10 23:34:55,256 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:34:55,309 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:34:55,406 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:34:55,481 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:34:55,849 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:34:55,871 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:34:56,569 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:34:56,577 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:34:56,592 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:34:57,113 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:34:57,333 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 +2020-12-10 23:34:57,465 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:34:57,680 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:34:57,714 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:34:57,726 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.45 seconds (JVM running for 5.073) +2020-12-10 23:35:29,496 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:35:29,498 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:35:29,501 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:35:29,512 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:35:31,646 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 30990 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:35:31,650 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:35:31,712 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:35:31,712 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:35:32,121 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:35:32,174 INFO [restartedMain] Finished Spring Data repository scanning in 47ms. Found 6 JPA repository interfaces. +2020-12-10 23:35:32,880 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:35:32,892 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:35:32,893 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:35:32,894 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:35:32,977 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:35:32,977 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1264 ms +2020-12-10 23:35:33,209 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:35:33,244 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:35:33,351 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:35:33,443 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:35:33,834 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:35:33,856 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:35:34,546 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:35:34,555 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:35:34,569 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:35:35,001 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:35:35,320 INFO [restartedMain] Voters successfully set up +2020-12-10 23:35:35,400 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 +2020-12-10 23:35:35,523 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:35:35,747 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:35:35,772 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:35:35,785 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.54 seconds (JVM running for 5.159) +2020-12-10 23:35:41,353 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:35:41,354 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:35:41,359 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 23:35:41,395 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 23:35:41,416 WARN [http-nio-8000-exec-1] no code +2020-12-10 23:35:49,967 WARN [http-nio-8000-exec-3] matched +2020-12-10 23:35:52,619 ERROR [http-nio-8000-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.mottoSaving(VotingController.java:223) + 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:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:37:26,270 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:37:26,272 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:37:26,276 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:37:26,286 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:37:30,459 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 31184 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:37:30,462 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:37:30,539 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:37:30,540 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:37:30,960 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:37:31,015 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 23:37:31,674 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:37:31,684 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:37:31,685 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:37:31,686 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:37:31,748 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:37:31,748 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1208 ms +2020-12-10 23:37:31,942 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:37:31,980 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:37:32,075 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:37:32,152 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:37:32,513 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:37:32,538 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:37:33,224 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:37:33,232 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:37:33,246 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:37:33,675 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=true +2020-12-10 23:37:33,874 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 +2020-12-10 23:37:33,975 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:37:34,188 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:37:34,207 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:37:34,219 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.128 seconds (JVM running for 4.719) +2020-12-10 23:37:39,800 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:37:39,801 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:37:39,811 INFO [http-nio-8000-exec-1] Completed initialization in 10 ms +2020-12-10 23:37:42,580 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 23:37:42,597 WARN [http-nio-8000-exec-3] no code +2020-12-10 23:37:52,463 WARN [http-nio-8000-exec-5] matched +2020-12-10 23:38:19,588 WARN [http-nio-8000-exec-10] simon.bussmann@adolfinum.de +2020-12-10 23:38:19,591 WARN [http-nio-8000-exec-10] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:38:19,596 ERROR [http-nio-8000-exec-10] [THYMELEAF][http-nio-8000-exec-10] Exception processing template "errors/alreadysubmittedcandidates.html": Error resolving template [errors/alreadysubmittedcandidates.html], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [errors/alreadysubmittedcandidates.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:38:19,598 ERROR [http-nio-8000-exec-10] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [errors/alreadysubmittedcandidates.html], 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 [errors/alreadysubmittedcandidates.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:38:35,773 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 23:38:35,776 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:38:35,778 ERROR [http-nio-8000-exec-3] [THYMELEAF][http-nio-8000-exec-3] Exception processing template "errors/alreadysubmittedcandidates.html": Error resolving template [errors/alreadysubmittedcandidates.html], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [errors/alreadysubmittedcandidates.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:38:35,779 ERROR [http-nio-8000-exec-3] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [errors/alreadysubmittedcandidates.html], 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 [errors/alreadysubmittedcandidates.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:39:53,528 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:39:53,530 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:39:53,538 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:39:53,548 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:39:55,747 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 31490 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:39:55,750 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:39:55,819 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:39:55,820 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:39:56,240 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:39:56,308 INFO [restartedMain] Finished Spring Data repository scanning in 61ms. Found 6 JPA repository interfaces. +2020-12-10 23:39:57,039 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:39:57,052 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:39:57,053 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:39:57,053 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:39:57,111 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:39:57,111 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1291 ms +2020-12-10 23:39:57,293 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:39:57,329 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:39:57,422 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:39:57,490 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:39:57,842 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:39:57,869 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:39:58,577 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:39:58,585 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:39:58,600 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:39:59,042 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=true +2020-12-10 23:39:59,265 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 +2020-12-10 23:39:59,373 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:39:59,566 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:39:59,586 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:39:59,599 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.249 seconds (JVM running for 4.846) +2020-12-10 23:40:03,796 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:40:03,797 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:40:03,804 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 23:40:03,834 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 23:40:03,852 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:40:03,965 ERROR [http-nio-8000-exec-1] [THYMELEAF][http-nio-8000-exec-1] Exception processing template "errors/alreadysubmittedcandidates.html": Error resolving template [errors/alreadysubmittedcandidates.html], template might not exist or might not be accessible by any of the configured Template Resolvers +org.thymeleaf.exceptions.TemplateInputException: Error resolving template [errors/alreadysubmittedcandidates.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:40:03,966 ERROR [http-nio-8000-exec-1] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [errors/alreadysubmittedcandidates.html], 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 [errors/alreadysubmittedcandidates.html], 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:1373) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:40:44,205 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:40:44,208 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:40:44,211 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:40:44,220 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:40:46,535 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 31683 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:40:46,540 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:40:46,605 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:40:46,606 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:40:47,052 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:40:47,106 INFO [restartedMain] Finished Spring Data repository scanning in 47ms. Found 6 JPA repository interfaces. +2020-12-10 23:40:47,936 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:40:47,948 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:40:47,948 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:40:47,949 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:40:48,019 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:40:48,020 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1414 ms +2020-12-10 23:40:48,225 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:40:48,267 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:40:48,361 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:40:48,450 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:40:48,801 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:40:48,832 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:40:49,490 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:40:49,497 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:40:49,511 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:40:49,936 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=false addingPhase=true +2020-12-10 23:40:50,156 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 +2020-12-10 23:40:50,289 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:40:50,516 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:40:50,536 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:40:50,550 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.405 seconds (JVM running for 5.033) +2020-12-10 23:40:51,111 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:40:51,112 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:40:51,118 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 23:40:53,576 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 23:40:53,596 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:40:56,838 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de +2020-12-10 23:40:56,840 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:43:11,813 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:43:11,816 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:43:11,821 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:43:11,832 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:43:15,255 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 31842 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:43:15,261 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:43:15,322 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:43:15,323 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:43:15,785 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:43:35,044 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 31908 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:43:35,049 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:43:35,108 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:43:35,108 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:43:35,544 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:43:35,599 INFO [restartedMain] Finished Spring Data repository scanning in 48ms. Found 6 JPA repository interfaces. +2020-12-10 23:43:36,278 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:43:36,288 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:43:36,289 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:43:36,289 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:43:36,371 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:43:36,371 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1262 ms +2020-12-10 23:43:36,553 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:43:36,588 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:43:36,677 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:43:36,775 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:43:37,147 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:43:37,174 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:43:37,850 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:43:37,856 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:43:37,871 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:43:38,305 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:43:38,523 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 +2020-12-10 23:43:38,665 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:43:38,864 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:43:38,885 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:43:38,899 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.283 seconds (JVM running for 4.892) +2020-12-10 23:43:41,826 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:43:41,827 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:43:41,833 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-10 23:43:41,861 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 23:43:41,874 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:43:45,903 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de +2020-12-10 23:43:45,905 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de has already submitted its candidates +2020-12-10 23:45:42,188 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:45:42,192 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:45:42,195 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:45:42,204 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:46:32,245 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 32160 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:46:32,248 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:46:32,316 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:46:32,317 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:46:32,774 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:46:32,829 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 6 JPA repository interfaces. +2020-12-10 23:46:33,553 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:46:33,565 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:46:33,566 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:46:33,567 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:46:33,634 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:46:33,634 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1317 ms +2020-12-10 23:46:33,822 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:46:33,859 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:46:33,951 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:46:34,032 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:46:34,398 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:46:34,426 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:46:35,095 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:46:35,103 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:46:35,117 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:46:35,518 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:46:35,723 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 +2020-12-10 23:46:35,833 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:46:36,034 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:46:36,053 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:46:36,062 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.224 seconds (JVM running for 4.841) +2020-12-10 23:46:39,852 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:46:39,853 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:46:39,860 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-10 23:46:39,896 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-10 23:46:39,920 WARN [http-nio-8000-exec-1] no code +2020-12-10 23:46:51,237 WARN [http-nio-8000-exec-3] matched +2020-12-10 23:46:53,375 INFO [http-nio-8000-exec-5] +2020-12-10 23:46:53,382 ERROR [http-nio-8000-exec-5] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.mottoSaving(VotingController.java:227) + 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:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) + 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:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at 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:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + 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:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + 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:829) +2020-12-10 23:48:54,735 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:48:54,737 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:48:54,740 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:48:54,752 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-10 23:48:58,120 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 32339 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-10 23:48:58,129 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-10 23:48:58,186 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-10 23:48:58,187 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-10 23:48:58,626 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-10 23:48:58,677 INFO [restartedMain] Finished Spring Data repository scanning in 44ms. Found 6 JPA repository interfaces. +2020-12-10 23:48:59,423 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-10 23:48:59,433 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-10 23:48:59,434 INFO [restartedMain] Starting service [Tomcat] +2020-12-10 23:48:59,434 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-10 23:48:59,497 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-10 23:48:59,497 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1310 ms +2020-12-10 23:48:59,693 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-10 23:48:59,729 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-10 23:48:59,823 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-10 23:48:59,900 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-10 23:49:00,313 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-10 23:49:00,334 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-10 23:49:01,032 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-10 23:49:01,039 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:49:01,057 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-10 23:49:01,527 INFO [restartedMain] Program started with arguments: votingPhase=false mottoVoting=true addingPhase=false +2020-12-10 23:49:01,744 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 +2020-12-10 23:49:01,864 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-10 23:49:02,089 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-10 23:49:02,104 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-10 23:49:02,119 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.366 seconds (JVM running for 5.005) +2020-12-10 23:49:04,473 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-10 23:49:04,474 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-10 23:49:04,479 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-10 23:49:11,924 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-10 23:49:11,943 WARN [http-nio-8000-exec-3] no code +2020-12-10 23:49:21,605 WARN [http-nio-8000-exec-5] matched +2020-12-10 23:49:23,742 INFO [http-nio-8000-exec-7] simon.bussmann@adolfinum.de +2020-12-10 23:49:23,774 INFO [http-nio-8000-exec-7] simon.bussmann@adolfinum.de has choose his motto +2020-12-10 23:50:09,128 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-10 23:50:09,131 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-10 23:50:09,137 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-10 23:50:09,152 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. diff --git a/pom.xml b/pom.xml index 15e726a..6b34a1f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,19 +1,27 @@ - + 4.0.0 org.springframework.boot spring-boot-starter-parent 2.3.4.RELEASE - + + com.github.cato447 - AbizeitungVotingSystem - 0.0.1-SNAPSHOT + AbiVoting + 1.0 AbizeitungVotingSystem A Voting System to get voting information for our graduating book + + + ssh-repository + scpexe://81.169.149.143/program + + + 11 @@ -74,6 +82,14 @@ spring-boot-maven-plugin + + + + org.apache.maven.wagon + wagon-ssh-external + 2.10 + + diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/AbizeitungVotingSystemApplication.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/AbizeitungVotingSystemApplication.java index 25336d1..9d612d9 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/AbizeitungVotingSystemApplication.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/AbizeitungVotingSystemApplication.java @@ -1,11 +1,11 @@ package com.github.cato447.AbizeitungVotingSystem; import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; +import java.util.Arrays; + @SpringBootApplication @EnableJpaRepositories public class AbizeitungVotingSystemApplication { diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/controller/VotingController.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/controller/VotingController.java index 34bfa35..28987ec 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/controller/VotingController.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/controller/VotingController.java @@ -1,9 +1,6 @@ package com.github.cato447.AbizeitungVotingSystem.controller; -import com.github.cato447.AbizeitungVotingSystem.entities.AuthCode; -import com.github.cato447.AbizeitungVotingSystem.entities.Category; -import com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate; -import com.github.cato447.AbizeitungVotingSystem.entities.Voter; +import com.github.cato447.AbizeitungVotingSystem.entities.*; import com.github.cato447.AbizeitungVotingSystem.helper.PossibleCandidateWrapper; import com.github.cato447.AbizeitungVotingSystem.helper.RandomNumber; import com.github.cato447.AbizeitungVotingSystem.repositories.*; @@ -26,8 +23,9 @@ import java.util.*; @Controller public class VotingController { - - private boolean votingPhase = false; + private boolean votingPhase; + private boolean mottoPhase; + private boolean addingPhase; private static final Logger LOGGER = LogManager.getLogger(VotingController.class); private TableAction tableAction = new TableAction(); @@ -41,6 +39,9 @@ public class VotingController { @Autowired CategoryRepository categoryRepository; + @Autowired + MottoRepository mottoRepository; + @Autowired PossibleCandidateRepository possibleCandidateRepository; @@ -54,16 +55,31 @@ public class VotingController { @PostConstruct public void init() { try { - String mode = System.getProperty("votingPhase"); - if (mode.equalsIgnoreCase("true")) { + String votingPhaseConfig = System.getProperty("votingPhase"); + if (votingPhaseConfig.equalsIgnoreCase("true")) { votingPhase = true; - } else { - votingPhase = false; + } + + String mottoVotingConfig = System.getProperty("mottoVoting"); + if (mottoVotingConfig.equalsIgnoreCase("true")) { + mottoPhase = true; + } + + String addingPhaseConfig = System.getProperty("addingPhase"); + if (addingPhaseConfig.equalsIgnoreCase("true")){ + addingPhase = true; } } catch (Exception e){ - votingPhase = false; + } +// //TODO: TESTING REMOVE ON SHIPPING +// votingPhase = false; +// mottoPhase = true; +// addingPhase = false; + + LOGGER.info("Program started with arguments: votingPhase="+ votingPhase + " mottoVoting=" + mottoPhase + " addingPhase=" + addingPhase); + if (voterRepository.findAll().size() == 0) { tableAction.setUpVoters(voterRepository); LOGGER.info("Voters successfully set up"); @@ -74,11 +90,15 @@ public class VotingController { LOGGER.info("Categories successfully set up"); } + if (mottoRepository.findAll().size() == 0){ + tableAction.setUpMottos(mottoRepository); + LOGGER.info("Mottos successfully set up"); + } + if (candidateRepository.findAll().size() == 0 && votingPhase == true && possibleCandidateRepository.findAll().size() != 0) { tableAction.setUpCandidates(possibleCandidateRepository, candidateRepository); LOGGER.info("Candidates successfully set up"); } - LOGGER.info(votingPhase); } @RequestMapping("/") @@ -86,8 +106,7 @@ public class VotingController { return "start.html"; } - public void sendSimpleMessage( - String to, String subject, String text) { + public void sendSimpleMessage(String to, String subject, String text) { SimpleMailMessage message = new SimpleMailMessage(); message.setTo(to); message.setSubject(subject); @@ -101,14 +120,18 @@ public class VotingController { try { LOGGER.warn(name); Voter voter = voterRepository.findByEmail(name.toLowerCase().strip()); - if (voter.getVote_status()) { + if (voter.getVote_status() && votingPhase) { LOGGER.warn(name + " has already voted"); return "errors/alreadyVoted.html"; - } else if (voter.getCandidatesubmit_status() && votingPhase == false) { + } else if (voter.getCandidatesubmit_status() && addingPhase) { LOGGER.warn(name + " has already submitted its candidates"); return "errors/alreadysubmittedcandidates.html"; + } else if (voter.getMotto_status() && mottoPhase){ + LOGGER.warn(name + " has already chose their motto"); + return "errors/alreadyVotedForMotto.html"; } else { if (authCodesRepository.findByName(name) == null) { + LOGGER.warn("no code"); AuthCode authCode = tableAction.generateToken(name, RandomNumber.getRandomNumberString(), authCodesRepository); sendSimpleMessage(name, "Code zur Authentifizierung", "Dein Code lautet: " + authCode.getCode()); } else if (authCodesRepository.findByName(name) != null && authCodesRepository.findByName(name).isExpired()){ @@ -132,37 +155,43 @@ public class VotingController { @RequestMapping("/vote") public String voting_adding(@RequestParam String code, @RequestParam String name, Model model) { - switch (tableAction.checkToken(name, code, authCodesRepository)) { - case "matched": - LOGGER.warn("matched"); - if (votingPhase) { - List categories = categoryRepository.findAll(); - model.addAttribute("categories", categories); - model.addAttribute("name", name); - return "voting.html"; - } else { - PossibleCandidateWrapper possibleCandidates = new PossibleCandidateWrapper(); - List categories = categoryRepository.findAll(); - for (int i = 0; i < categories.size(); i++) { - possibleCandidates.addPossibleCandidate(new PossibleCandidate()); - } - model.addAttribute("categories", categories); - model.addAttribute("form", possibleCandidates); - model.addAttribute("name", name); - return "addingCandidates.html"; + String tokenStatus = tableAction.checkToken(name, code, authCodesRepository); + + if (tokenStatus.equals("matched")){ + LOGGER.warn("matched"); + if (mottoPhase){ + List mottos = mottoRepository.findAll(); + model.addAttribute("mottos", mottos); + model.addAttribute("name", name); + return "mottoVoting.html"; + } else if (addingPhase) { + PossibleCandidateWrapper possibleCandidates = new PossibleCandidateWrapper(); + List categories = categoryRepository.findAll(); + for (int i = 0; i < categories.size(); i++) { + possibleCandidates.addPossibleCandidate(new PossibleCandidate()); } - - case "expired": + model.addAttribute("categories", categories); + model.addAttribute("form", possibleCandidates); model.addAttribute("name", name); - model.addAttribute("codeExpired", true); - model.addAttribute("codeFalse", false); - return "authenticate.html"; - - case "wrong": + return "addingCandidates.html"; + } else if (votingPhase) { + List categories = categoryRepository.findAll(); + model.addAttribute("categories", categories); model.addAttribute("name", name); - model.addAttribute("codeExpired", false); - model.addAttribute("codeFalse", true); - return "authenticate.html"; + return "voting.html"; + } + } else if (tokenStatus.equals("expired")){ + LOGGER.warn("expired"); + model.addAttribute("name", name); + model.addAttribute("codeExpired", true); + model.addAttribute("codeFalse", false); + return "authenticate.html"; + } else if (tokenStatus.equals("wrong")){ + LOGGER.warn("wrong"); + model.addAttribute("name", name); + model.addAttribute("codeExpired", false); + model.addAttribute("codeFalse", true); + return "authenticate.html"; } return "fatalError"; } @@ -192,6 +221,19 @@ public class VotingController { } } + @RequestMapping("/saveMotto") + public String mottoSaving(@RequestParam String name, @RequestParam String voteValue){ + LOGGER.info(name); + if (voterRepository.findByEmail(name).getMotto_status()){ + return "errors/alreadySubmitted.html"; + } else { + tableAction.voteForMotto(voteValue, mottoRepository); + tableAction.updateMottoStatus(name, voterRepository); + LOGGER.info(name + " has choose his motto"); + } + return "voteSuccessful.html"; + } + @RequestMapping("/processVote") public String ProcessVote(@RequestParam String name, @RequestParam String voteValues) { if (voterRepository.findByEmail(name).getCandidatesubmit_status()) { @@ -199,7 +241,7 @@ public class VotingController { } else { String[] partVoteValues = voteValues.split(","); for (String s : partVoteValues) { - tableAction.voteFor(s, candidateRepository); + tableAction.voteForCandidate(s, candidateRepository); } tableAction.updateVotingStatus(name, voterRepository); LOGGER.info(name + " has voted!"); diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Motto.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Motto.java new file mode 100644 index 0000000..e3d6334 --- /dev/null +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Motto.java @@ -0,0 +1,58 @@ +package com.github.cato447.AbizeitungVotingSystem.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "mottos") +public class Motto implements Comparable{ + + public Motto() { + super(); + } + + public Motto(String name) { + super(); + this.name = name; + this.votes = 0; + } + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + private String name; + + private Integer votes; + + + public Long getId() { + return id; + } + + public String getName() { + return name; + } + + public Integer getVotes() { + return votes; + } + + public void setName(String name) { + this.name = name; + } + + public void setVotes(Integer votes) { + this.votes = votes; + } + + public void voteFor() { + this.votes += 1; + } + + @Override + public int compareTo(Motto m) { + if (getVotes() == null || m.getVotes() == null) { + return 0; + } + return m.getVotes().compareTo(getVotes()); + } +} diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Voter.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Voter.java index 97a2c51..3bbe10a 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Voter.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Voter.java @@ -14,6 +14,7 @@ public class Voter { this.email = email; this.vote_status = false; this.candidatesubmit_status = false; + this.motto_status = false; } @Id @@ -21,6 +22,7 @@ public class Voter { private Long id; private String email; private Boolean vote_status; + private Boolean motto_status; private Boolean candidatesubmit_status; public Long getId() { @@ -39,6 +41,10 @@ public class Voter { return candidatesubmit_status; } + public Boolean getMotto_status() { + return motto_status; + } + public void vote(){ vote_status = true; } @@ -46,4 +52,6 @@ public class Voter { public void submitCandidates() { candidatesubmit_status = true; } + + public void voteMotto() { motto_status = true;} } diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/MottoRepository.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/MottoRepository.java new file mode 100644 index 0000000..0d3ecb0 --- /dev/null +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/MottoRepository.java @@ -0,0 +1,14 @@ +package com.github.cato447.AbizeitungVotingSystem.repositories; + +import com.github.cato447.AbizeitungVotingSystem.entities.Motto; +import org.springframework.data.jpa.repository.JpaRepository; + +import java.util.Optional; + +public interface MottoRepository extends JpaRepository { + + public Motto findByName(String name); + + Optional findById(Long id); + +} diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/table/TableAction.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/table/TableAction.java index df9aceb..c2ce93a 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/table/TableAction.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/table/TableAction.java @@ -10,6 +10,7 @@ import java.lang.reflect.Array; import java.net.JarURLConnection; import java.net.URL; import java.net.URLConnection; +import java.nio.Buffer; import java.util.*; public class TableAction { @@ -30,6 +31,12 @@ public class TableAction { voterRepository.save(voter); } + public void updateMottoStatus(String email, VoterRepository voterRepository){ + Voter voter = voterRepository.findByEmail(email); + voter.voteMotto(); + voterRepository.save(voter); + } + public AuthCode generateToken(String name, String code, AuthCodesRepository authCodesRepository) { AuthCode authCode = new AuthCode(name, code); try{ @@ -45,16 +52,19 @@ public class TableAction { } public String checkToken(String name, String code, AuthCodesRepository authCodesRepository){ - AuthCode authCode = authCodesRepository.findByName(name); - if (authCode.getCode().equals(code) && !fiveMinutesPassed(authCode.getTime())){ - authCodesRepository.delete(authCode); - return "matched"; - } else if(fiveMinutesPassed(authCode.getTime())) { - authCodesRepository.delete(authCode); - return "expired"; - } else { + try { + AuthCode authCode = authCodesRepository.findByName(name); + if (authCode.getCode().equals(code) && !authCode.isExpired()) { + authCodesRepository.delete(authCode); + return "matched"; + } else if (authCode.isExpired()) { + authCodesRepository.delete(authCode); + return "expired"; + } + } catch(Exception e){ return "wrong"; } + return "wrong"; } private boolean fiveMinutesPassed(Long time){ @@ -65,13 +75,20 @@ public class TableAction { return possibleCandidates.size() <= 5 ? possibleCandidates.size() : 5; } - public void voteFor(String id, CandidateRepository candidateRepository){ + public void voteForCandidate(String id, CandidateRepository candidateRepository){ long candidateID = Long.valueOf(id); Candidate candidate = candidateRepository.findById(candidateID).get(); candidate.votedFor(); candidateRepository.save(candidate); } + public void voteForMotto(String id, MottoRepository mottoRepository){ + long mottoID = Long.valueOf(id); + Motto motto = mottoRepository.findById(mottoID).get(); + motto.voteFor(); + mottoRepository.save(motto); + } + public void setUpVoters(VoterRepository voterRepository){ try (InputStream inputStream = getClass().getResourceAsStream("/Q2_emails.txt"); BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream))) { @@ -130,4 +147,20 @@ public class TableAction { e.printStackTrace(); } } + + public void setUpMottos(MottoRepository mottoRepository){ + try (InputStream inputStream = getClass().getResourceAsStream("/Mottos.txt"); + BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream))) { + String line = ""; + ArrayList mottos = new ArrayList<>(); + while ((line = reader.readLine())!= null){ + String name = line; + Motto motto = new Motto(name); + mottos.add(motto); + } + mottoRepository.saveAll(mottos); + } catch (IOException e) { + e.printStackTrace(); + } + } } diff --git a/src/main/resources/Mottos.txt b/src/main/resources/Mottos.txt new file mode 100644 index 0000000..645759b --- /dev/null +++ b/src/main/resources/Mottos.txt @@ -0,0 +1,11 @@ +CannABIs - wir haben es durchgezogen! +ABI 2,010 ‰ - Meist dichter als Denker +KABItän Blaubär - Immer blau und trotzdem schlau +HABI Potter - Wir verlassen die Kammer des Schreckens +A BItch - Für einen Punkt tue ich alles! +ABIthur - Wenn das Elite von die Gymnahsium gehen tut +LABIrinth - Planlos zum Ziel +ABIcrombie & Fitch - Models gehen, Elche bleiben (Abercrombie & Fitch) +SemipermeABIlität - Nur die Besten kommen durch +KohlrABI - Wir machen uns vom Acker +ABIgasmus - Aber das war nur das Vorspiel \ No newline at end of file diff --git a/src/main/resources/static/styles/mottoVoting.css b/src/main/resources/static/styles/mottoVoting.css new file mode 100644 index 0000000..43f3c9a --- /dev/null +++ b/src/main/resources/static/styles/mottoVoting.css @@ -0,0 +1,66 @@ +body { + background-color: rgb(44, 49, 54); + font-family: Arial, Helvetica, sans-serif; +} + +.center-screen { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; +} + +.centered { + background: transparent; + margin: 0 auto; + padding: 20px; + width: 100%; + overflow: auto; +} + +h1 { + color: #FFF; + font-size: 75px; +} + +h2.mottoHeader { + color: #FFF; + font-size: 50px; +} + +button { + background: transparent; + border: none; + color: #FFF; + font-size: 35px; + font-weight: normal; + letter-spacing: .125rem; + text-transform: uppercase; + text-align: center; + transition: opacity .25s .5s; + margin: 0.5%; +} + +.submitButton { + margin-top: 5%; + padding: .25em 0; + border: 0; + outline: 0; + background: #bb1515; + color: rgba(255, 255, 255, 0.85); + font-size: 2rem; + width: 500px; + letter-spacing: .0625rem; + border-radius: 12px; + box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.25); + text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.2); +} + +html, +body { + width: 100%; + height: 100%; + background-image: linear-gradient(to bottom right, #111E25 0%, #111 100%); + font-family: 'Lato', sans-serif; +} \ No newline at end of file diff --git a/src/main/resources/templates/errors/alreadySubmitted.html b/src/main/resources/templates/errors/alreadyVotedForMotto.html similarity index 100% rename from src/main/resources/templates/errors/alreadySubmitted.html rename to src/main/resources/templates/errors/alreadyVotedForMotto.html diff --git a/src/main/resources/templates/alreadysubmittedcandidates.html b/src/main/resources/templates/errors/alreadysubmittedcandidates.html similarity index 100% rename from src/main/resources/templates/alreadysubmittedcandidates.html rename to src/main/resources/templates/errors/alreadysubmittedcandidates.html diff --git a/src/main/resources/templates/mottoVoting.html b/src/main/resources/templates/mottoVoting.html new file mode 100644 index 0000000..0316aa9 --- /dev/null +++ b/src/main/resources/templates/mottoVoting.html @@ -0,0 +1,65 @@ + + + + + + Title + + + + + + + +
+

Wähle das Abimotto:

+
+
+ +
+
+ +
+ + + +
+
+ + + + \ No newline at end of file