diff --git a/logs/Voting.log b/logs/Voting.log index 45c44d8..6ca2cb3 100644 --- a/logs/Voting.log +++ b/logs/Voting.log @@ -1,396 +1,139 @@ -2020-11-30 21:45:42,789 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 11711 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 21:45:42,792 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 21:45:42,860 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 21:45:42,861 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 21:45:43,313 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 21:45:43,364 INFO [restartedMain] Finished Spring Data repository scanning in 45ms. Found 4 JPA repository interfaces. -2020-11-30 21:45:44,091 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 21:45:44,100 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 21:45:44,101 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 21:45:44,101 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 21:45:44,170 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 21:45:44,170 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1308 ms -2020-11-30 21:45:44,354 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 21:45:44,410 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 21:45:44,538 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 21:45:44,614 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 21:45:45,012 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 21:45:45,037 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 21:45:47,390 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 21:45:47,398 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:45:47,414 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 21:45:47,771 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'votingController': Unsatisfied dependency expressed through field 'possibleCandidateRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'possibleCandidateRepository' defined in com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository defined in @EnableJpaRepositories declared on AbizeitungVotingSystemApplication: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryID(java.lang.String,java.lang.Long)! No property ID found for type Category! Did you mean 'id'? Traversed path: PossibleCandidate.category. -2020-11-30 21:45:47,772 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:45:47,775 INFO [restartedMain] HikariPool-1 - Shutdown initiated... -2020-11-30 21:45:47,785 INFO [restartedMain] HikariPool-1 - Shutdown completed. -2020-11-30 21:45:47,788 INFO [restartedMain] Stopping service [Tomcat] -2020-11-30 21:45:47,799 INFO [restartedMain] - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2020-11-30 21:45:47,802 ERROR [restartedMain] Application run failed -org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'votingController': Unsatisfied dependency expressed through field 'possibleCandidateRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'possibleCandidateRepository' defined in com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository defined in @EnableJpaRepositories declared on AbizeitungVotingSystemApplication: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryID(java.lang.String,java.lang.Long)! No property ID found for type Category! Did you mean 'id'? Traversed path: PossibleCandidate.category. - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) - at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) - 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:12) - 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.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) -Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'possibleCandidateRepository' defined in com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository defined in @EnableJpaRepositories declared on AbizeitungVotingSystemApplication: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryID(java.lang.String,java.lang.Long)! No property ID found for type Category! Did you mean 'id'? Traversed path: PossibleCandidate.category. - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) - at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) - ... 25 common frames omitted -Caused by: java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryID(java.lang.String,java.lang.Long)! No property ID found for type Category! Did you mean 'id'? Traversed path: PossibleCandidate.category. - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:96) - at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:107) - at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:218) - at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:81) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.lookupQuery(QueryExecutorMethodInterceptor.java:99) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.lambda$mapMethodsToQuery$1(QueryExecutorMethodInterceptor.java:92) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) - at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) - at java.base/java.util.Collections$UnmodifiableCollection$1.forEachRemaining(Collections.java:1056) - at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) - at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.mapMethodsToQuery(QueryExecutorMethodInterceptor.java:94) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.lambda$new$0(QueryExecutorMethodInterceptor.java:84) - at java.base/java.util.Optional.map(Optional.java:258) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.(QueryExecutorMethodInterceptor.java:84) - at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:331) - at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297) - at org.springframework.data.util.Lazy.getNullable(Lazy.java:212) - at org.springframework.data.util.Lazy.get(Lazy.java:94) - at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300) - at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:144) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790) - ... 35 common frames omitted -Caused by: org.springframework.data.mapping.PropertyReferenceException: No property ID found for type Category! Did you mean 'id'? Traversed path: PossibleCandidate.category. - at org.springframework.data.mapping.PropertyPath.(PropertyPath.java:94) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:382) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:392) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) - at org.springframework.data.mapping.PropertyPath.lambda$from$0(PropertyPath.java:311) - at java.base/java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:330) - at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:293) - at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:276) - at org.springframework.data.repository.query.parser.Part.(Part.java:82) - at org.springframework.data.repository.query.parser.PartTree$OrPart.lambda$new$0(PartTree.java:251) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) - at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) - at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) - at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) - at org.springframework.data.repository.query.parser.PartTree$OrPart.(PartTree.java:252) - at org.springframework.data.repository.query.parser.PartTree$Predicate.lambda$new$0(PartTree.java:381) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) - at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) - at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) - at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) - at org.springframework.data.repository.query.parser.PartTree$Predicate.(PartTree.java:382) - at org.springframework.data.repository.query.parser.PartTree.(PartTree.java:97) - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:89) - ... 61 common frames omitted -2020-11-30 21:46:27,912 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 11814 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 21:46:27,915 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 21:46:27,985 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 21:46:27,985 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 21:46:28,447 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 21:46:28,492 INFO [restartedMain] Finished Spring Data repository scanning in 38ms. Found 4 JPA repository interfaces. -2020-11-30 21:46:29,194 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 21:46:29,203 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 21:46:29,203 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 21:46:29,204 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 21:46:29,281 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 21:46:29,282 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1296 ms -2020-11-30 21:46:29,444 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 21:46:29,480 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 21:46:29,564 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 21:46:29,631 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 21:46:29,993 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 21:46:30,015 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 21:46:30,653 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 21:46:30,664 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:46:30,687 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 21:46:31,111 WARN [restartedMain] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'votingController': Unsatisfied dependency expressed through field 'possibleCandidateRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'possibleCandidateRepository' defined in com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository defined in @EnableJpaRepositories declared on AbizeitungVotingSystemApplication: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryid(java.lang.String,java.lang.Long)! No property categoryid found for type PossibleCandidate! Did you mean 'category'? -2020-11-30 21:46:31,112 INFO [restartedMain] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:46:31,116 INFO [restartedMain] HikariPool-1 - Shutdown initiated... -2020-11-30 21:46:31,130 INFO [restartedMain] HikariPool-1 - Shutdown completed. -2020-11-30 21:46:31,132 INFO [restartedMain] Stopping service [Tomcat] -2020-11-30 21:46:31,146 INFO [restartedMain] - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2020-11-30 21:46:31,149 ERROR [restartedMain] Application run failed -org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'votingController': Unsatisfied dependency expressed through field 'possibleCandidateRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'possibleCandidateRepository' defined in com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository defined in @EnableJpaRepositories declared on AbizeitungVotingSystemApplication: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryid(java.lang.String,java.lang.Long)! No property categoryid found for type PossibleCandidate! Did you mean 'category'? - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) - at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) - 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:12) - 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.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) -Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'possibleCandidateRepository' defined in com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository defined in @EnableJpaRepositories declared on AbizeitungVotingSystemApplication: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryid(java.lang.String,java.lang.Long)! No property categoryid found for type PossibleCandidate! Did you mean 'category'? - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) - at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) - ... 25 common frames omitted -Caused by: java.lang.IllegalArgumentException: Failed to create query for method public abstract com.github.cato447.AbizeitungVotingSystem.entities.PossibleCandidate com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository.findByNameAndCategoryid(java.lang.String,java.lang.Long)! No property categoryid found for type PossibleCandidate! Did you mean 'category'? - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:96) - at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:107) - at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:218) - at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:81) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.lookupQuery(QueryExecutorMethodInterceptor.java:99) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.lambda$mapMethodsToQuery$1(QueryExecutorMethodInterceptor.java:92) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) - at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) - at java.base/java.util.Collections$UnmodifiableCollection$1.forEachRemaining(Collections.java:1056) - at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) - at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.mapMethodsToQuery(QueryExecutorMethodInterceptor.java:94) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.lambda$new$0(QueryExecutorMethodInterceptor.java:84) - at java.base/java.util.Optional.map(Optional.java:258) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.(QueryExecutorMethodInterceptor.java:84) - at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:331) - at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297) - at org.springframework.data.util.Lazy.getNullable(Lazy.java:212) - at org.springframework.data.util.Lazy.get(Lazy.java:94) - at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300) - at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:144) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790) - ... 35 common frames omitted -Caused by: org.springframework.data.mapping.PropertyReferenceException: No property categoryid found for type PossibleCandidate! Did you mean 'category'? - at org.springframework.data.mapping.PropertyPath.(PropertyPath.java:94) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:382) - at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) - at org.springframework.data.mapping.PropertyPath.lambda$from$0(PropertyPath.java:311) - at java.base/java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:330) - at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:293) - at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:276) - at org.springframework.data.repository.query.parser.Part.(Part.java:82) - at org.springframework.data.repository.query.parser.PartTree$OrPart.lambda$new$0(PartTree.java:251) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) - at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) - at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) - at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) - at org.springframework.data.repository.query.parser.PartTree$OrPart.(PartTree.java:252) - at org.springframework.data.repository.query.parser.PartTree$Predicate.lambda$new$0(PartTree.java:381) - at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) - at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) - at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) - at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) - at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) - at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) - at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) - at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) - at org.springframework.data.repository.query.parser.PartTree$Predicate.(PartTree.java:382) - at org.springframework.data.repository.query.parser.PartTree.(PartTree.java:97) - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:89) - ... 61 common frames omitted -2020-11-30 21:47:29,254 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 11927 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 21:47:29,257 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 21:47:29,322 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 21:47:29,323 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 21:47:29,731 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 21:47:29,775 INFO [restartedMain] Finished Spring Data repository scanning in 38ms. Found 4 JPA repository interfaces. -2020-11-30 21:47:30,371 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 21:47:30,379 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 21:47:30,380 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 21:47:30,380 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 21:47:30,444 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 21:47:30,444 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1121 ms -2020-11-30 21:47:30,593 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 21:47:30,623 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 21:47:30,704 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 21:47:30,761 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 21:47:31,076 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 21:47:31,094 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 21:47:31,638 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 21:47:31,643 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:47:31,654 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 21:47:31,950 INFO [restartedMain] setups -2020-11-30 21:47:32,132 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-11-30 21:47:32,244 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 21:47:32,413 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 21:47:32,431 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 21:47:32,442 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.496 seconds (JVM running for 3.995) -2020-11-30 21:47:41,657 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 21:47:41,658 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 21:47:41,663 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms -2020-11-30 21:47:41,679 INFO [http-nio-8000-exec-1] User IP: 127.0.0.1 -2020-11-30 21:47:45,593 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de -2020-11-30 21:47:45,593 ERROR [http-nio-8000-exec-4] simon.bussmann@adolfinum.de is not allowed to vote -2020-11-30 21:49:53,138 WARN [http-nio-8000-exec-8] simon.bussmann@adolfinum.de -2020-11-30 21:49:53,146 INFO [http-nio-8000-exec-8] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:50:32,677 INFO [http-nio-8000-exec-9] -Id Name Votes Category_ID -1 Noelia 0 1 -2 Noelia 0 2 -3 Noelia 0 3 -4 Herr Niemeier 0 4 -5 Herr Niemeier 0 5 -6 Herr Niemeier 0 6 -7 Jerome 0 7 -8 Jerome 0 8 -9 Jerome 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:50:32,688 ERROR [http-nio-8000-exec-9] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [1] did not match expected type [com.github.cato447.AbizeitungVotingSystem.entities.Category (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [1] did not match expected type [com.github.cato447.AbizeitungVotingSystem.entities.Category (n/a)]] with root cause -java.lang.IllegalArgumentException: Parameter value [1] did not match expected type [com.github.cato447.AbizeitungVotingSystem.entities.Category (n/a)] - at org.hibernate.query.spi.QueryParameterBindingValidator.validate(QueryParameterBindingValidator.java:54) - at org.hibernate.query.spi.QueryParameterBindingValidator.validate(QueryParameterBindingValidator.java:27) - at org.hibernate.query.internal.QueryParameterBindingImpl.validate(QueryParameterBindingImpl.java:90) - at org.hibernate.query.internal.QueryParameterBindingImpl.setBindValue(QueryParameterBindingImpl.java:55) - at org.hibernate.query.internal.AbstractProducedQuery.setParameter(AbstractProducedQuery.java:490) - at org.hibernate.query.internal.AbstractProducedQuery.setParameter(AbstractProducedQuery.java:111) - at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.setParameter(CriteriaQueryTypeQueryAdapter.java:393) - at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.setParameter(CriteriaQueryTypeQueryAdapter.java:61) - at org.springframework.data.jpa.repository.query.QueryParameterSetter$BindableQuery.setParameter(QueryParameterSetter.java:319) - at org.springframework.data.jpa.repository.query.QueryParameterSetter$NamedOrIndexedQueryParameterSetter.lambda$setParameter$3(QueryParameterSetter.java:116) - at org.springframework.data.jpa.repository.query.QueryParameterSetter$ErrorHandling$1.execute(QueryParameterSetter.java:141) - at org.springframework.data.jpa.repository.query.QueryParameterSetter$NamedOrIndexedQueryParameterSetter.setParameter(QueryParameterSetter.java:116) - at org.springframework.data.jpa.repository.query.ParameterBinder.bind(ParameterBinder.java:82) - at org.springframework.data.jpa.repository.query.ParameterBinder.bind(ParameterBinder.java:74) - at org.springframework.data.jpa.repository.query.ParameterBinder.bindAndPrepare(ParameterBinder.java:95) - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery$QueryPreparer.invokeBinding(PartTreeJpaQuery.java:324) - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery$QueryPreparer.createQuery(PartTreeJpaQuery.java:243) - at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.doCreateQuery(PartTreeJpaQuery.java:106) - at org.springframework.data.jpa.repository.query.AbstractJpaQuery.createQuery(AbstractJpaQuery.java:226) - at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:196) - at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:88) - at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:154) - at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:142) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor$QueryMethodInvoker.invoke(QueryExecutorMethodInterceptor.java:195) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:152) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:130) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:80) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:149) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy88.findByNameAndCategory(Unknown Source) - at com.github.cato447.AbizeitungVotingSystem.controller.VotingController.candidateSaving(VotingController.java:146) +2020-12-05 01:40:28,088 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 01:40:28,092 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 01:40:28,095 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-05 01:40:28,100 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-05 01:40:30,124 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 21638 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 01:40:30,127 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 01:40:30,190 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-05 01:40:30,191 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-05 01:40:30,639 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 01:40:30,686 INFO [restartedMain] Finished Spring Data repository scanning in 41ms. Found 4 JPA repository interfaces. +2020-12-05 01:40:31,264 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 01:40:31,271 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 01:40:31,272 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 01:40:31,272 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 01:40:31,330 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 01:40:31,330 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1139 ms +2020-12-05 01:40:31,463 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 01:40:31,491 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-05 01:40:31,565 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-05 01:40:31,622 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-05 01:40:31,928 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-05 01:40:31,945 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 01:40:32,450 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 01:40:32,455 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 01:40:32,468 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 01:40:32,779 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-05 01:40:32,866 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 01:40:33,030 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 01:40:33,042 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 01:40:33,054 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.186 seconds (JVM running for 3.664) +2020-12-05 01:46:10,441 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 01:46:10,443 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 01:46:10,449 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-05 01:46:10,461 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-05 01:46:12,574 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22165 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 01:46:12,577 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 01:46:12,645 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-05 01:46:12,646 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-05 01:46:13,171 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 01:46:13,222 INFO [restartedMain] Finished Spring Data repository scanning in 44ms. Found 4 JPA repository interfaces. +2020-12-05 01:46:13,965 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 01:46:13,975 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 01:46:13,976 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 01:46:13,976 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 01:46:14,071 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 01:46:14,071 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1425 ms +2020-12-05 01:46:14,242 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 01:46:14,279 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-05 01:46:14,407 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-05 01:46:14,495 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-05 01:46:14,856 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-05 01:46:14,879 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 01:46:15,503 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 01:46:15,509 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 01:46:15,522 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 01:46:15,940 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-05 01:46:16,050 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 01:46:16,253 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 01:46:16,274 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 01:46:16,285 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 4.035 seconds (JVM running for 4.58) +2020-12-05 01:47:34,815 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 01:47:34,816 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 01:47:34,823 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms +2020-12-05 01:47:34,844 INFO [http-nio-8000-exec-1] setups +2020-12-05 01:47:45,966 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 01:47:45,969 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 01:47:45,972 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-05 01:47:45,980 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-05 01:47:49,023 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22367 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 01:47:49,025 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 01:47:49,084 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-05 01:47:49,085 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-05 01:47:49,587 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 01:47:49,642 INFO [restartedMain] Finished Spring Data repository scanning in 49ms. Found 4 JPA repository interfaces. +2020-12-05 01:47:50,401 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 01:47:50,409 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 01:47:50,409 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 01:47:50,409 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 01:47:50,480 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 01:47:50,481 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1395 ms +2020-12-05 01:47:50,636 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 01:47:50,666 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-05 01:47:50,744 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-05 01:47:50,807 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-05 01:47:51,140 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-05 01:47:51,160 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 01:47:51,726 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 01:47:51,734 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 01:47:51,749 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 01:47:52,153 INFO [restartedMain] setups +2020-12-05 01:47:52,344 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-05 01:47:52,462 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 01:47:52,687 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 01:47:52,712 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 01:47:52,722 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.994 seconds (JVM running for 4.551) +2020-12-05 01:47:55,437 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 01:47:55,437 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 01:47:55,443 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms +2020-12-05 02:33:44,933 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-05 02:34:02,032 INFO [http-nio-8000-exec-5] simon.bussmann@adolfinum.de has voted! +2020-12-05 03:26:31,003 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 03:26:31,004 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:26:31,009 INFO [Thread-4] HikariPool-1 - Shutdown initiated... +2020-12-05 03:26:31,013 INFO [Thread-4] HikariPool-1 - Shutdown completed. +2020-12-05 03:26:31,083 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22367 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 03:26:31,083 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 03:26:31,238 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 03:26:31,247 INFO [restartedMain] Finished Spring Data repository scanning in 8ms. Found 4 JPA repository interfaces. +2020-12-05 03:26:31,371 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 03:26:31,371 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 03:26:31,372 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 03:26:31,372 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 03:26:31,380 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 03:26:31,380 INFO [restartedMain] Root WebApplicationContext: initialization completed in 293 ms +2020-12-05 03:26:31,419 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 03:26:31,423 INFO [restartedMain] HikariPool-2 - Starting... +2020-12-05 03:26:31,440 INFO [restartedMain] HikariPool-2 - Start completed. +2020-12-05 03:26:31,440 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 03:26:31,538 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 03:26:31,539 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:26:31,547 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 03:26:31,657 INFO [restartedMain] setups +2020-12-05 03:26:31,701 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-05 03:26:31,742 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 03:26:31,807 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 03:26:31,810 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 03:26:31,815 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.759 seconds (JVM running for 5923.644) +2020-12-05 03:26:31,817 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 03:26:49,758 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 03:26:49,759 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 03:26:49,762 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms +2020-12-05 03:26:53,610 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-05 03:27:20,852 WARN [http-nio-8000-exec-10] aaron.glos@adolfinum.de +2020-12-05 03:27:37,930 ERROR [http-nio-8000-exec-4] 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.ProcessVote(VotingController.java:162) 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) @@ -441,663 +184,594 @@ java.lang.IllegalArgumentException: Parameter value [1] did not match expected t 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-11-30 21:52:06,490 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 21:52:06,492 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:52:06,495 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-11-30 21:52:06,502 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. -2020-11-30 21:52:09,233 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 12366 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 21:52:09,235 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 21:52:09,296 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 21:52:09,296 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 21:52:09,743 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 21:52:09,786 INFO [restartedMain] Finished Spring Data repository scanning in 38ms. Found 4 JPA repository interfaces. -2020-11-30 21:52:10,412 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 21:52:10,419 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 21:52:10,420 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 21:52:10,420 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 21:52:10,494 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 21:52:10,494 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1198 ms -2020-11-30 21:52:10,653 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 21:52:10,684 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 21:52:10,766 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 21:52:10,824 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 21:52:11,125 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 21:52:11,143 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 21:52:11,688 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 21:52:11,695 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:52:11,707 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 21:52:12,014 INFO [restartedMain] setups -2020-11-30 21:52:12,179 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-11-30 21:52:12,297 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 21:52:12,457 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 21:52:12,471 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 21:52:12,481 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.53 seconds (JVM running for 3.999) -2020-11-30 21:52:16,736 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 21:52:16,736 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 21:52:16,743 INFO [http-nio-8000-exec-1] Completed initialization in 7 ms -2020-11-30 21:52:16,759 INFO [http-nio-8000-exec-1] User IP: 127.0.0.1 -2020-11-30 21:52:22,149 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 21:52:22,155 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:52:28,983 INFO [http-nio-8000-exec-4] -Id Name Votes Category_ID -1 Noelia 0 1 -2 Noelia 0 2 -3 N 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:52:41,423 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de -2020-11-30 21:52:41,432 INFO [http-nio-8000-exec-7] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:52:48,239 INFO [http-nio-8000-exec-8] -Id Name Votes Category_ID -1 Noelia 0 1 -2 Noelia 0 2 -3 N 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:53:22,458 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de -2020-11-30 21:53:22,464 INFO [http-nio-8000-exec-1] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:53:30,756 INFO [http-nio-8000-exec-2] -Id Name Votes Category_ID -1 Noelia 0 1 -2 Noelia 0 2 -3 N 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:54:05,222 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de -2020-11-30 21:54:05,229 INFO [http-nio-8000-exec-5] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:54:12,241 INFO [http-nio-8000-exec-6] -Id Name Votes Category_ID -1 Herr Niemeier 0 1 -2 0 2 -3 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:55:09,283 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 21:55:09,289 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:55:13,303 INFO [http-nio-8000-exec-10] -Id Name Votes Category_ID -1 Herr Niemeier 0 1 -2 0 2 -3 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:55:41,142 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 21:55:41,144 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:55:41,147 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-11-30 21:55:41,154 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. -2020-11-30 21:55:43,900 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 12572 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 21:55:43,903 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 21:55:43,968 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 21:55:43,969 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 21:55:44,413 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 21:55:44,459 INFO [restartedMain] Finished Spring Data repository scanning in 40ms. Found 4 JPA repository interfaces. -2020-11-30 21:55:45,102 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 21:55:45,109 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 21:55:45,109 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 21:55:45,109 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 21:55:45,171 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 21:55:45,171 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1201 ms -2020-11-30 21:55:45,312 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 21:55:45,341 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 21:55:45,426 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 21:55:45,505 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 21:55:45,806 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 21:55:45,826 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 21:55:46,375 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 21:55:46,381 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:55:46,393 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 21:55:46,715 INFO [restartedMain] setups -2020-11-30 21:55:46,875 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-11-30 21:55:46,967 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 21:55:47,124 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 21:55:47,139 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 21:55:47,148 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.515 seconds (JVM running for 4.003) -2020-11-30 21:55:57,231 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 21:55:57,231 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 21:55:57,237 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms -2020-11-30 21:55:57,251 INFO [http-nio-8000-exec-1] User IP: 127.0.0.1 -2020-11-30 21:55:59,787 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 21:55:59,793 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:56:03,980 INFO [http-nio-8000-exec-4] -Id Name Votes Category_ID -1 Herr Niemeier 0 1 -2 0 2 -3 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:56:03,988 WARN [http-nio-8000-exec-4] 1 -2020-11-30 21:57:03,682 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 21:57:03,685 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:57:03,688 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-11-30 21:57:03,697 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. -2020-11-30 21:57:06,366 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 12703 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 21:57:06,370 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 21:57:06,424 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 21:57:06,425 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 21:57:06,862 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 21:57:06,914 INFO [restartedMain] Finished Spring Data repository scanning in 45ms. Found 4 JPA repository interfaces. -2020-11-30 21:57:07,557 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 21:57:07,566 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 21:57:07,567 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 21:57:07,567 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 21:57:07,634 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 21:57:07,635 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1210 ms -2020-11-30 21:57:07,782 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 21:57:07,817 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 21:57:07,897 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 21:57:07,960 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 21:57:08,262 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 21:57:08,280 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 21:57:08,825 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 21:57:08,832 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 21:57:08,844 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 21:57:09,268 INFO [restartedMain] setups -2020-11-30 21:57:09,471 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-11-30 21:57:09,582 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 21:57:09,761 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 21:57:09,779 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 21:57:09,793 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.684 seconds (JVM running for 4.155) -2020-11-30 21:57:11,752 INFO [http-nio-8000-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 21:57:11,753 INFO [http-nio-8000-exec-2] Initializing Servlet 'dispatcherServlet' -2020-11-30 21:57:11,761 INFO [http-nio-8000-exec-2] Completed initialization in 8 ms -2020-11-30 21:57:11,778 INFO [http-nio-8000-exec-2] User IP: 127.0.0.1 -2020-11-30 21:57:14,290 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de -2020-11-30 21:57:14,296 INFO [http-nio-8000-exec-1] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 21:57:18,247 INFO [http-nio-8000-exec-4] -Id Name Votes Category_ID -1 Herr Niemeier 0 1 -2 0 2 -3 0 3 -4 0 4 -5 0 5 -6 0 6 -7 0 7 -8 0 8 -9 0 9 -10 0 10 -11 0 11 -12 0 12 -13 0 13 -14 0 14 -15 0 15 -16 0 16 -17 0 17 -18 0 18 -19 0 19 -20 0 20 -21 0 21 -22 0 22 -23 0 23 -24 0 24 -25 0 25 -26 0 26 -27 0 27 -28 0 28 -29 0 29 -30 0 30 -31 0 31 -32 0 32 -33 0 33 -34 0 34 -35 0 35 -36 0 36 -37 0 37 -38 0 38 -39 0 39 -40 0 40 -41 0 41 -42 0 42 -43 0 43 -44 0 44 -45 0 45 -46 0 46 - -2020-11-30 21:57:18,256 WARN [http-nio-8000-exec-4] 1 -2020-11-30 22:01:06,945 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 22:01:06,947 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:01:06,952 INFO [Thread-4] HikariPool-1 - Shutdown initiated... -2020-11-30 22:01:06,958 INFO [Thread-4] HikariPool-1 - Shutdown completed. -2020-11-30 22:01:07,024 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 12703 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 22:01:07,024 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 22:01:07,152 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 22:01:07,162 INFO [restartedMain] Finished Spring Data repository scanning in 8ms. Found 4 JPA repository interfaces. -2020-11-30 22:01:07,304 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 22:01:07,305 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 22:01:07,306 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 22:01:07,307 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 22:01:07,320 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 22:01:07,320 INFO [restartedMain] Root WebApplicationContext: initialization completed in 294 ms -2020-11-30 22:01:07,374 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 22:01:07,377 INFO [restartedMain] HikariPool-2 - Starting... -2020-11-30 22:01:07,401 INFO [restartedMain] HikariPool-2 - Start completed. -2020-11-30 22:01:07,402 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 22:01:07,503 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 22:01:07,504 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:01:07,513 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 22:01:07,633 INFO [restartedMain] setups -2020-11-30 22:01:07,692 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-11-30 22:01:07,736 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 22:01:07,808 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 22:01:07,821 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 22:01:07,827 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.83 seconds (JVM running for 242.189) -2020-11-30 22:01:07,829 INFO [restartedMain] Condition evaluation unchanged -2020-11-30 22:01:11,986 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 22:01:11,986 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 22:01:11,990 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms -2020-11-30 22:01:11,993 INFO [http-nio-8000-exec-1] User IP: 127.0.0.1 -2020-11-30 22:01:14,111 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 22:01:14,116 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:02:02,700 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de -2020-11-30 22:02:02,708 INFO [http-nio-8000-exec-5] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:02:28,200 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de -2020-11-30 22:02:28,205 INFO [http-nio-8000-exec-7] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:02:39,240 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 22:02:39,244 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:03:18,185 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de -2020-11-30 22:03:18,191 INFO [http-nio-8000-exec-1] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:04:08,285 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 22:04:08,289 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:05:09,515 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de -2020-11-30 22:05:09,520 INFO [http-nio-8000-exec-6] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:06:25,304 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 22:06:25,309 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:08:41,023 WARN [http-nio-8000-exec-2] simon.bussmann@adolfinum.de -2020-11-30 22:08:41,027 INFO [http-nio-8000-exec-2] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:09:10,204 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de -2020-11-30 22:09:10,210 INFO [http-nio-8000-exec-4] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:09:26,729 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de -2020-11-30 22:09:26,734 INFO [http-nio-8000-exec-6] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:11:41,752 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 22:11:41,756 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:11:59,020 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de -2020-11-30 22:11:59,023 INFO [http-nio-8000-exec-1] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:12:28,352 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 22:12:28,356 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:12:48,885 WARN [http-nio-8000-exec-5] simon.bussmann@adolfinum.de -2020-11-30 22:12:48,889 INFO [http-nio-8000-exec-5] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:13:41,442 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de -2020-11-30 22:13:41,446 INFO [http-nio-8000-exec-7] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:14:11,749 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 22:14:11,752 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:14:24,216 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de -2020-11-30 22:14:24,219 INFO [http-nio-8000-exec-1] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:14:54,765 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 22:14:54,769 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:15:15,537 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 22:15:15,538 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:15:15,539 INFO [SpringContextShutdownHook] HikariPool-2 - Shutdown initiated... -2020-11-30 22:15:15,545 INFO [SpringContextShutdownHook] HikariPool-2 - Shutdown completed. -2020-11-30 22:19:59,087 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15150 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 22:19:59,090 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 22:19:59,144 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 22:19:59,145 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 22:19:59,581 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 22:19:59,633 INFO [restartedMain] Finished Spring Data repository scanning in 46ms. Found 4 JPA repository interfaces. -2020-11-30 22:20:00,289 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 22:20:00,297 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 22:20:00,298 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 22:20:00,298 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 22:20:00,363 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 22:20:00,363 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1218 ms -2020-11-30 22:20:00,538 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 22:20:00,578 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 22:20:00,669 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 22:20:00,730 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 22:20:01,060 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 22:20:01,077 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 22:20:01,630 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 22:20:01,638 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:20:01,653 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 22:20:02,027 INFO [restartedMain] setups -2020-11-30 22:20:02,188 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-11-30 22:20:02,295 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 22:20:02,475 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 22:20:02,495 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 22:20:02,508 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.706 seconds (JVM running for 4.168) -2020-11-30 22:20:04,198 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 22:20:04,198 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 22:20:04,204 INFO [http-nio-8000-exec-1] Completed initialization in 6 ms -2020-11-30 22:20:04,219 INFO [http-nio-8000-exec-1] User IP: 127.0.0.1 -2020-11-30 22:20:08,008 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de -2020-11-30 22:20:08,013 INFO [http-nio-8000-exec-4] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:20:54,259 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de -2020-11-30 22:20:54,268 INFO [http-nio-8000-exec-6] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:21:03,345 WARN [http-nio-8000-exec-8] 1 -2020-11-30 22:35:38,783 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 22:35:38,789 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:35:49,881 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de -2020-11-30 22:35:49,889 INFO [http-nio-8000-exec-6] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:36:24,090 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 22:36:24,096 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:37:41,198 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 22:37:41,201 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:37:41,206 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... -2020-11-30 22:37:41,214 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. -2020-11-30 22:37:42,937 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15849 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 22:37:42,939 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 22:37:42,996 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable -2020-11-30 22:37:42,997 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' -2020-11-30 22:37:43,386 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 22:37:43,428 INFO [restartedMain] Finished Spring Data repository scanning in 35ms. Found 4 JPA repository interfaces. -2020-11-30 22:37:44,085 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 22:37:44,093 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 22:37:44,094 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 22:37:44,094 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 22:37:44,160 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 22:37:44,161 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1164 ms -2020-11-30 22:37:44,313 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 22:37:44,345 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final -2020-11-30 22:37:44,422 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} -2020-11-30 22:37:44,484 INFO [restartedMain] HikariPool-1 - Starting... -2020-11-30 22:37:44,778 INFO [restartedMain] HikariPool-1 - Start completed. -2020-11-30 22:37:44,796 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 22:37:45,488 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 22:37:45,497 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:37:45,513 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 22:37:45,821 INFO [restartedMain] setups -2020-11-30 22:37:46,047 INFO [restartedMain] Voters successfully set up -2020-11-30 22:37:46,092 INFO [restartedMain] Categories successfully set up -2020-11-30 22:37:46,145 INFO [restartedMain] Candidates successfully set up -2020-11-30 22:37:46,178 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-11-30 22:37:46,268 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 22:37:46,415 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 22:37:46,432 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 22:37:46,441 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.755 seconds (JVM running for 4.202) -2020-11-30 22:37:51,721 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 22:37:51,721 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 22:37:51,726 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms -2020-11-30 22:37:51,739 INFO [http-nio-8000-exec-1] User IP: 127.0.0.1 -2020-11-30 22:37:54,278 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de -2020-11-30 22:37:54,284 INFO [http-nio-8000-exec-3] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:44:18,869 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de -2020-11-30 22:44:18,873 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:45:19,507 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de -2020-11-30 22:45:19,512 INFO [http-nio-8000-exec-4] simon.bussmann@adolfinum.de is submitting candidates -2020-11-30 22:45:41,457 WARN [http-nio-8000-exec-6] 1 -2020-11-30 22:46:52,139 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' -2020-11-30 22:46:52,141 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:46:52,144 INFO [Thread-4] HikariPool-1 - Shutdown initiated... -2020-11-30 22:46:52,152 INFO [Thread-4] HikariPool-1 - Shutdown completed. -2020-11-30 22:46:52,219 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 15849 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) -2020-11-30 22:46:52,220 INFO [restartedMain] No active profile set, falling back to default profiles: default -2020-11-30 22:46:52,315 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2020-11-30 22:46:52,324 INFO [restartedMain] Finished Spring Data repository scanning in 8ms. Found 4 JPA repository interfaces. -2020-11-30 22:46:52,458 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) -2020-11-30 22:46:52,460 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] -2020-11-30 22:46:52,461 INFO [restartedMain] Starting service [Tomcat] -2020-11-30 22:46:52,461 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] -2020-11-30 22:46:52,471 INFO [restartedMain] Initializing Spring embedded WebApplicationContext -2020-11-30 22:46:52,471 INFO [restartedMain] Root WebApplicationContext: initialization completed in 249 ms -2020-11-30 22:46:52,511 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] -2020-11-30 22:46:52,516 INFO [restartedMain] HikariPool-2 - Starting... -2020-11-30 22:46:52,536 INFO [restartedMain] HikariPool-2 - Start completed. -2020-11-30 22:46:52,536 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect -2020-11-30 22:46:52,628 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] -2020-11-30 22:46:52,628 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' -2020-11-30 22:46:52,633 INFO [restartedMain] LiveReload server is running on port 35729 -2020-11-30 22:46:52,738 INFO [restartedMain] setups -2020-11-30 22:46:52,780 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-11-30 22:46:52,804 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' -2020-11-30 22:46:52,859 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] -2020-11-30 22:46:52,866 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' -2020-11-30 22:46:52,870 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.671 seconds (JVM running for 550.631) -2020-11-30 22:46:52,872 INFO [restartedMain] Condition evaluation unchanged -2020-11-30 22:46:56,404 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' -2020-11-30 22:46:56,404 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' -2020-11-30 22:46:56,407 INFO [http-nio-8000-exec-1] Completed initialization in 2 ms -2020-11-30 22:46:59,627 INFO [http-nio-8000-exec-2] User IP: 127.0.0.1 -2020-11-30 22:47:01,873 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de -2020-11-30 22:47:01,876 INFO [http-nio-8000-exec-4] simon.bussmann@adolfinum.de is voting now -2020-11-30 22:47:28,276 INFO [http-nio-8000-exec-6] simon.bussmann@adolfinum.de has voted! +2020-12-05 03:28:30,851 INFO [Thread-8] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 03:28:30,853 INFO [Thread-8] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:28:30,855 INFO [Thread-8] HikariPool-2 - Shutdown initiated... +2020-12-05 03:28:30,860 INFO [Thread-8] HikariPool-2 - Shutdown completed. +2020-12-05 03:28:30,936 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 22367 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 03:28:30,936 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 03:28:31,061 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 03:28:31,079 INFO [restartedMain] Finished Spring Data repository scanning in 16ms. Found 4 JPA repository interfaces. +2020-12-05 03:28:31,214 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 03:28:31,215 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 03:28:31,215 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 03:28:31,216 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 03:28:31,227 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 03:28:31,228 INFO [restartedMain] Root WebApplicationContext: initialization completed in 289 ms +2020-12-05 03:28:31,265 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 03:28:31,269 INFO [restartedMain] HikariPool-3 - Starting... +2020-12-05 03:28:31,282 INFO [restartedMain] HikariPool-3 - Start completed. +2020-12-05 03:28:31,283 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 03:28:31,365 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 03:28:31,366 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:28:31,371 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 03:28:31,447 INFO [restartedMain] setups +2020-12-05 03:28:31,477 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-05 03:28:31,508 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 03:28:31,556 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 03:28:31,558 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 03:28:31,561 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.651 seconds (JVM running for 6043.39) +2020-12-05 03:28:31,562 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 03:28:56,850 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 03:28:56,851 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 03:28:56,854 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms +2020-12-05 03:28:56,865 ERROR [http-nio-8000-exec-1] 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.ProcessVote(VotingController.java:163) + 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-05 03:29:07,845 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 03:29:07,846 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:29:07,846 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown initiated... +2020-12-05 03:29:07,850 INFO [SpringContextShutdownHook] HikariPool-3 - Shutdown completed. +2020-12-05 03:29:09,749 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 26748 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 03:29:09,751 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 03:29:09,805 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-05 03:29:09,805 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-05 03:29:10,281 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 03:29:10,345 INFO [restartedMain] Finished Spring Data repository scanning in 56ms. Found 4 JPA repository interfaces. +2020-12-05 03:29:11,032 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 03:29:11,039 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 03:29:11,040 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 03:29:11,040 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 03:29:11,099 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 03:29:11,099 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1293 ms +2020-12-05 03:29:11,248 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 03:29:11,277 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-05 03:29:11,357 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-05 03:29:11,421 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-05 03:29:11,717 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-05 03:29:11,736 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 03:29:12,266 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 03:29:12,273 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:29:12,287 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 03:29:12,607 INFO [restartedMain] setups +2020-12-05 03:29:12,767 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-05 03:29:12,873 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 03:29:13,044 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 03:29:13,059 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 03:29:13,068 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.585 seconds (JVM running for 4.055) +2020-12-05 03:29:19,221 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 03:29:19,222 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 03:29:19,227 INFO [http-nio-8000-exec-1] Completed initialization in 5 ms +2020-12-05 03:29:21,595 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-05 03:29:48,268 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 03:29:48,270 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:29:48,273 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-05 03:29:48,283 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-05 03:29:51,050 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 26881 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 03:29:51,053 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 03:29:51,110 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-05 03:29:51,110 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-05 03:29:51,533 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 03:29:51,579 INFO [restartedMain] Finished Spring Data repository scanning in 40ms. Found 4 JPA repository interfaces. +2020-12-05 03:29:52,157 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 03:29:52,165 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 03:29:52,165 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 03:29:52,166 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 03:29:52,224 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 03:29:52,224 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1113 ms +2020-12-05 03:29:52,366 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 03:29:52,407 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-05 03:29:52,497 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-05 03:29:52,557 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-05 03:29:52,885 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-05 03:29:52,902 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 03:29:53,429 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 03:29:53,434 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:29:53,446 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 03:29:53,769 INFO [restartedMain] setups +2020-12-05 03:29:53,924 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-05 03:29:54,022 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 03:29:54,205 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 03:29:54,222 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 03:29:54,235 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.446 seconds (JVM running for 3.909) +2020-12-05 03:29:58,569 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 03:29:58,569 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 03:29:58,573 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-05 03:30:00,853 WARN [http-nio-8000-exec-3] simon.bussmann@adolfinum.de +2020-12-05 03:30:06,802 WARN [http-nio-8000-exec-4] +2020-12-05 03:33:16,845 INFO [SpringContextShutdownHook] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 03:33:16,847 INFO [SpringContextShutdownHook] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:33:16,852 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown initiated... +2020-12-05 03:33:16,863 INFO [SpringContextShutdownHook] HikariPool-1 - Shutdown completed. +2020-12-05 03:33:19,643 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 03:33:19,646 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 03:33:19,714 INFO [restartedMain] Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable +2020-12-05 03:33:19,714 INFO [restartedMain] For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' +2020-12-05 03:33:20,149 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 03:33:20,193 INFO [restartedMain] Finished Spring Data repository scanning in 38ms. Found 4 JPA repository interfaces. +2020-12-05 03:33:20,835 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 03:33:20,845 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 03:33:20,846 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 03:33:20,846 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 03:33:20,933 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 03:33:20,933 INFO [restartedMain] Root WebApplicationContext: initialization completed in 1218 ms +2020-12-05 03:33:21,071 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 03:33:21,100 INFO [restartedMain] HHH000412: Hibernate ORM core version 5.4.21.Final +2020-12-05 03:33:21,185 INFO [restartedMain] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} +2020-12-05 03:33:21,250 INFO [restartedMain] HikariPool-1 - Starting... +2020-12-05 03:33:21,561 INFO [restartedMain] HikariPool-1 - Start completed. +2020-12-05 03:33:21,585 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 03:33:22,130 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 03:33:22,134 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:33:22,145 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 03:33:22,457 INFO [restartedMain] setups +2020-12-05 03:33:22,605 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-05 03:33:22,719 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 03:33:22,908 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 03:33:22,923 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 03:33:22,932 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 3.543 seconds (JVM running for 4.013) +2020-12-05 03:33:27,410 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 03:33:27,410 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 03:33:27,414 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-05 03:33:32,847 WARN [http-nio-8000-exec-4] +2020-12-05 03:33:34,893 WARN [http-nio-8000-exec-5] name +2020-12-05 03:34:03,844 INFO [Thread-4] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 03:34:03,847 INFO [Thread-4] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:34:03,851 INFO [Thread-4] HikariPool-1 - Shutdown initiated... +2020-12-05 03:34:03,862 INFO [Thread-4] HikariPool-1 - Shutdown completed. +2020-12-05 03:34:03,921 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 03:34:03,921 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 03:34:04,017 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 03:34:04,031 INFO [restartedMain] Finished Spring Data repository scanning in 13ms. Found 4 JPA repository interfaces. +2020-12-05 03:34:04,135 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 03:34:04,136 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 03:34:04,136 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 03:34:04,136 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 03:34:04,146 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 03:34:04,147 INFO [restartedMain] Root WebApplicationContext: initialization completed in 224 ms +2020-12-05 03:34:04,179 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 03:34:04,183 INFO [restartedMain] HikariPool-2 - Starting... +2020-12-05 03:34:04,202 INFO [restartedMain] HikariPool-2 - Start completed. +2020-12-05 03:34:04,203 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 03:34:04,301 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 03:34:04,302 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 03:34:04,307 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 03:34:04,410 INFO [restartedMain] setups +2020-12-05 03:34:04,452 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-05 03:34:04,477 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 03:34:04,520 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 03:34:04,525 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 03:34:04,528 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.628 seconds (JVM running for 45.609) +2020-12-05 03:34:04,530 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 03:34:06,219 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 03:34:06,220 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 03:34:06,224 INFO [http-nio-8000-exec-1] Completed initialization in 4 ms +2020-12-05 03:34:10,161 WARN [http-nio-8000-exec-4] +2020-12-05 03:34:12,617 WARN [http-nio-8000-exec-5] +2020-12-05 04:02:19,978 INFO [Thread-8] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 04:02:19,980 INFO [Thread-8] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:02:19,981 INFO [Thread-8] HikariPool-2 - Shutdown initiated... +2020-12-05 04:02:19,990 INFO [Thread-8] HikariPool-2 - Shutdown completed. +2020-12-05 04:02:20,065 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 04:02:20,066 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 04:02:20,170 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 04:02:20,182 INFO [restartedMain] Finished Spring Data repository scanning in 11ms. Found 4 JPA repository interfaces. +2020-12-05 04:02:20,305 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 04:02:20,307 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 04:02:20,308 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 04:02:20,308 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 04:02:20,319 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 04:02:20,320 INFO [restartedMain] Root WebApplicationContext: initialization completed in 251 ms +2020-12-05 04:02:20,352 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 04:02:20,356 INFO [restartedMain] HikariPool-3 - Starting... +2020-12-05 04:02:20,373 INFO [restartedMain] HikariPool-3 - Start completed. +2020-12-05 04:02:20,374 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 04:02:20,475 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 04:02:20,476 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:02:20,480 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 04:02:20,595 INFO [restartedMain] setups +2020-12-05 04:02:20,660 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-05 04:02:20,691 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 04:02:20,750 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 04:02:20,767 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 04:02:20,772 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.732 seconds (JVM running for 1741.853) +2020-12-05 04:02:20,774 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 04:02:37,692 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 04:02:37,692 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 04:02:37,695 INFO [http-nio-8000-exec-1] Completed initialization in 2 ms +2020-12-05 04:02:43,201 WARN [http-nio-8000-exec-5] ${name} +2020-12-05 04:03:55,016 WARN [http-nio-8000-exec-1] simon.bussmann@adolfinum.de +2020-12-05 04:04:46,870 INFO [Thread-13] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 04:04:46,871 INFO [Thread-13] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:04:46,872 INFO [Thread-13] HikariPool-3 - Shutdown initiated... +2020-12-05 04:04:46,878 INFO [Thread-13] HikariPool-3 - Shutdown completed. +2020-12-05 04:04:46,949 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 04:04:46,951 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 04:04:47,057 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 04:04:47,068 INFO [restartedMain] Finished Spring Data repository scanning in 10ms. Found 4 JPA repository interfaces. +2020-12-05 04:04:47,159 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 04:04:47,161 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 04:04:47,161 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 04:04:47,162 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 04:04:47,170 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 04:04:47,171 INFO [restartedMain] Root WebApplicationContext: initialization completed in 217 ms +2020-12-05 04:04:47,195 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 04:04:47,199 INFO [restartedMain] HikariPool-4 - Starting... +2020-12-05 04:04:47,217 INFO [restartedMain] HikariPool-4 - Start completed. +2020-12-05 04:04:47,217 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 04:04:47,289 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 04:04:47,290 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:04:47,295 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 04:04:47,375 INFO [restartedMain] setups +2020-12-05 04:04:47,406 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-05 04:04:47,432 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 04:04:47,473 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 04:04:47,476 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 04:04:47,479 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.553 seconds (JVM running for 1888.56) +2020-12-05 04:04:47,480 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 04:04:56,647 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 04:04:56,648 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 04:04:56,652 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms +2020-12-05 04:05:00,059 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-05 04:05:24,780 WARN [http-nio-8000-exec-10] aaron.glos@adolfinum.de +2020-12-05 04:05:36,400 ERROR [http-nio-8000-exec-1] 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.ProcessVote(VotingController.java:157) + 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-05 04:08:34,733 INFO [Thread-18] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 04:08:34,734 INFO [Thread-18] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:08:34,735 INFO [Thread-18] HikariPool-4 - Shutdown initiated... +2020-12-05 04:08:34,741 INFO [Thread-18] HikariPool-4 - Shutdown completed. +2020-12-05 04:08:34,813 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 04:08:34,813 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 04:08:34,890 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 04:08:34,899 INFO [restartedMain] Finished Spring Data repository scanning in 8ms. Found 4 JPA repository interfaces. +2020-12-05 04:08:34,973 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 04:08:34,974 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 04:08:34,974 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 04:08:34,974 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 04:08:34,980 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 04:08:34,980 INFO [restartedMain] Root WebApplicationContext: initialization completed in 165 ms +2020-12-05 04:08:35,000 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 04:08:35,003 INFO [restartedMain] HikariPool-5 - Starting... +2020-12-05 04:08:35,017 INFO [restartedMain] HikariPool-5 - Start completed. +2020-12-05 04:08:35,018 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 04:08:35,085 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 04:08:35,086 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:08:35,090 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 04:08:35,147 INFO [restartedMain] setups +2020-12-05 04:08:35,180 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-05 04:08:35,201 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 04:08:35,237 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 04:08:35,240 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 04:08:35,242 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.449 seconds (JVM running for 2116.323) +2020-12-05 04:08:35,243 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 04:08:41,381 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 04:08:41,382 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 04:08:41,384 INFO [http-nio-8000-exec-1] Completed initialization in 2 ms +2020-12-05 04:08:45,142 WARN [http-nio-8000-exec-4] simon.bussmann@adolfinum.de +2020-12-05 04:08:54,589 WARN [http-nio-8000-exec-6] simon.bussmann@adolfinum.de +2020-12-05 04:09:21,856 WARN [http-nio-8000-exec-7] simon.bussmann@adolfinum.de +2020-12-05 04:09:32,029 WARN [http-nio-8000-exec-9] simon.bussmann@adolfinum.de +2020-12-05 04:09:32,057 INFO [http-nio-8000-exec-9] simon.bussmann@adolfinum.de has voted! +2020-12-05 04:10:17,673 INFO [Thread-23] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 04:10:17,674 INFO [Thread-23] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:10:17,675 INFO [Thread-23] HikariPool-5 - Shutdown initiated... +2020-12-05 04:10:17,679 INFO [Thread-23] HikariPool-5 - Shutdown completed. +2020-12-05 04:10:17,746 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 04:10:17,746 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 04:10:17,810 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 04:10:17,819 INFO [restartedMain] Finished Spring Data repository scanning in 8ms. Found 4 JPA repository interfaces. +2020-12-05 04:10:17,890 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 04:10:17,891 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 04:10:17,891 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 04:10:17,891 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 04:10:17,900 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 04:10:17,901 INFO [restartedMain] Root WebApplicationContext: initialization completed in 152 ms +2020-12-05 04:10:17,927 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 04:10:17,931 INFO [restartedMain] HikariPool-6 - Starting... +2020-12-05 04:10:17,946 INFO [restartedMain] HikariPool-6 - Start completed. +2020-12-05 04:10:17,949 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 04:10:18,020 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 04:10:18,020 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 04:10:18,024 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 04:10:18,103 INFO [restartedMain] setups +2020-12-05 04:10:18,133 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-05 04:10:18,156 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 04:10:18,192 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 04:10:18,199 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 04:10:18,204 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.48 seconds (JVM running for 2219.285) +2020-12-05 04:10:18,206 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 04:10:19,043 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 04:10:19,044 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 04:10:19,048 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms +2020-12-05 04:25:50,177 ERROR [http-nio-8000-exec-3] [THYMELEAF][http-nio-8000-exec-3] Exception processing template "authenticate.html": An error happened during template parsing (template: "class path resource [templates/authenticate.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/authenticate.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java: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) +Caused by: org.attoparser.ParseException: Could not parse as expression: "Dir wurde eine Email an simon.bussmann@adolfinum.de gesendet!" (template: "authenticate.html" - line 21, col 9) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 48 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as expression: "Dir wurde eine Email an simon.bussmann@adolfinum.de gesendet!" (template: "authenticate.html" - line 21, col 9) + at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:131) + at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:62) + at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:44) + at org.thymeleaf.engine.EngineEventUtils.parseAttributeExpression(EngineEventUtils.java:220) + at org.thymeleaf.engine.EngineEventUtils.computeAttributeExpression(EngineEventUtils.java:207) + at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:125) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 50 common frames omitted +2020-12-05 04:25:50,178 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: An error happened during template parsing (template: "class path resource [templates/authenticate.html]")] with root cause +org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as expression: "Dir wurde eine Email an simon.bussmann@adolfinum.de gesendet!" (template: "authenticate.html" - line 21, col 9) + at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:131) + at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:62) + at org.thymeleaf.standard.expression.StandardExpressionParser.parseExpression(StandardExpressionParser.java:44) + at org.thymeleaf.engine.EngineEventUtils.parseAttributeExpression(EngineEventUtils.java:220) + at org.thymeleaf.engine.EngineEventUtils.computeAttributeExpression(EngineEventUtils.java:207) + at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:125) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1098) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1072) + at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java:362) + at org.thymeleaf.spring5.view.ThymeleafView.render(ThymeleafView.java:189) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java: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-05 05:27:22,457 INFO [Thread-28] Shutting down ExecutorService 'applicationTaskExecutor' +2020-12-05 05:27:22,458 INFO [Thread-28] Closing JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 05:27:22,459 INFO [Thread-28] HikariPool-6 - Shutdown initiated... +2020-12-05 05:27:22,464 INFO [Thread-28] HikariPool-6 - Shutdown completed. +2020-12-05 05:27:22,538 INFO [restartedMain] Starting AbizeitungVotingSystemApplication on bitecoding-System-Product-Name with PID 27122 (/home/bitecoding/Code/GitHub/AbizeitungVotingSystem/target/classes started by bitecoding in /home/bitecoding/Code/GitHub/AbizeitungVotingSystem) +2020-12-05 05:27:22,539 INFO [restartedMain] No active profile set, falling back to default profiles: default +2020-12-05 05:27:22,628 INFO [restartedMain] Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2020-12-05 05:27:22,639 INFO [restartedMain] Finished Spring Data repository scanning in 10ms. Found 5 JPA repository interfaces. +2020-12-05 05:27:22,746 INFO [restartedMain] Tomcat initialized with port(s): 8000 (http) +2020-12-05 05:27:22,747 INFO [restartedMain] Initializing ProtocolHandler ["http-nio-8000"] +2020-12-05 05:27:22,748 INFO [restartedMain] Starting service [Tomcat] +2020-12-05 05:27:22,748 INFO [restartedMain] Starting Servlet engine: [Apache Tomcat/9.0.38] +2020-12-05 05:27:22,756 INFO [restartedMain] Initializing Spring embedded WebApplicationContext +2020-12-05 05:27:22,756 INFO [restartedMain] Root WebApplicationContext: initialization completed in 215 ms +2020-12-05 05:27:22,783 INFO [restartedMain] HHH000204: Processing PersistenceUnitInfo [name: default] +2020-12-05 05:27:22,786 INFO [restartedMain] HikariPool-7 - Starting... +2020-12-05 05:27:22,799 INFO [restartedMain] HikariPool-7 - Start completed. +2020-12-05 05:27:22,800 INFO [restartedMain] HHH000400: Using dialect: org.hibernate.dialect.MySQL8Dialect +2020-12-05 05:27:22,916 INFO [restartedMain] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2020-12-05 05:27:22,916 INFO [restartedMain] Initialized JPA EntityManagerFactory for persistence unit 'default' +2020-12-05 05:27:22,921 INFO [restartedMain] LiveReload server is running on port 35729 +2020-12-05 05:27:23,025 INFO [restartedMain] setups +2020-12-05 05:27:23,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-05 05:27:23,101 INFO [restartedMain] Initializing ExecutorService 'applicationTaskExecutor' +2020-12-05 05:27:23,165 INFO [restartedMain] Starting ProtocolHandler ["http-nio-8000"] +2020-12-05 05:27:23,168 INFO [restartedMain] Tomcat started on port(s): 8000 (http) with context path '' +2020-12-05 05:27:23,171 INFO [restartedMain] Started AbizeitungVotingSystemApplication in 0.657 seconds (JVM running for 6844.252) +2020-12-05 05:27:23,172 INFO [restartedMain] Condition evaluation unchanged +2020-12-05 05:27:27,252 INFO [http-nio-8000-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' +2020-12-05 05:27:27,253 INFO [http-nio-8000-exec-1] Initializing Servlet 'dispatcherServlet' +2020-12-05 05:27:27,257 INFO [http-nio-8000-exec-1] Completed initialization in 3 ms 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 8c28b5b..afa55ec 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/controller/VotingController.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/controller/VotingController.java @@ -1,13 +1,12 @@ 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.helper.PossibleCandidateWrapper; -import com.github.cato447.AbizeitungVotingSystem.repositories.CandidateRepository; -import com.github.cato447.AbizeitungVotingSystem.repositories.CategoryRepository; -import com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository; -import com.github.cato447.AbizeitungVotingSystem.repositories.VoterRepository; +import com.github.cato447.AbizeitungVotingSystem.helper.RandomNumber; +import com.github.cato447.AbizeitungVotingSystem.repositories.*; import com.github.cato447.AbizeitungVotingSystem.table.TableAction; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.mail.SimpleMailMessage; @@ -20,24 +19,17 @@ import org.springframework.web.bind.annotation.RequestParam; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.springframework.web.context.request.RequestContextHolder; -import org.springframework.web.context.request.ServletRequestAttributes; import javax.annotation.PostConstruct; -import javax.servlet.http.HttpServletRequest; import java.util.*; @Controller public class VotingController { - private Boolean candidatesAdded = false; - + private Boolean candidatesAdded = true; private static final Logger LOGGER = LogManager.getLogger(VotingController.class); - private TableAction tableAction = new TableAction(); - List ipAddresses = new ArrayList(); - @Autowired VoterRepository voterRepository; @@ -50,6 +42,9 @@ public class VotingController { @Autowired PossibleCandidateRepository possibleCandidateRepository; + @Autowired + AuthCodesRepository authCodesRepository; + @Autowired JavaMailSender emailSender; @@ -75,14 +70,6 @@ public class VotingController { @RequestMapping("/") public String WelcomeSite() { - HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()) - .getRequest(); - - String currentIpAddress = request.getRemoteAddr(); - if (!this.ipAddresses.contains(currentIpAddress)) { - LOGGER.info("User IP: " + request.getRemoteAddr()); - ipAddresses.add(currentIpAddress); - } return "start.html"; } @@ -95,77 +82,90 @@ public class VotingController { emailSender.send(message); } - @RequestMapping("/vote") + @RequestMapping("/checkStatus") public String VerifyName(@RequestParam String name, Model model) { if (name.strip().toLowerCase().matches("[a-z]+\\.[a-z]+@adolfinum+\\.de$")) { try { Voter voter = voterRepository.findByEmail(name.toLowerCase().strip()); - LOGGER.warn(voter.getEmail()); if (voter.getVote_status()) { LOGGER.warn(name + " has already voted"); return "errors/alreadyVoted.html"; - } else if (voter.getCandidatesubmit_status()) { + } else if (voter.getCandidatesubmit_status() && candidatesAdded == false) { LOGGER.warn(name + " has already submitted its candidates"); return "errors/alreadysubmittedcandidates.html"; } else { - if(candidatesAdded) { - List categories = categoryRepository.findAll(); - model.addAttribute("categories", categories); - model.addAttribute("name", name); - //sendSimpleMessage(name,"test", "test"); - LOGGER.info(name + " is voting now"); - 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); - LOGGER.info(name + " is submitting candidates"); - return "addingCandidates.html"; - } + AuthCode authCode = tableAction.generateToken(name, RandomNumber.getRandomNumberString(), authCodesRepository); + sendSimpleMessage(name,"Code zur Authentifizierung", "Dein Code lautet: " + authCode.getCode()); + model.addAttribute("name", name); + return "authenticate.html"; } } catch (Exception e) { LOGGER.error(name + " is not allowed to vote"); return "errors/notRegistered.html"; } } else { - return "errors/falseInput"; + return "errors/falseInput.html"; + } + } + + @RequestMapping("/vote") + public String voting_adding(@RequestParam String name, Model model){ + if(candidatesAdded) { + 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"; } } @RequestMapping("/saveCandidates") - public String candidateSaving(@ModelAttribute PossibleCandidateWrapper possibleCandidates){ - LinkedList posCandidates = possibleCandidates.getPossibleCandidates(); - long index = 1; - for (PossibleCandidate posCandidate : posCandidates){ - if (posCandidate.getName() != "") { - if (possibleCandidateRepository.findByNameAndCategory(posCandidate.getName(), categoryRepository.findById(index).get()) != null) { - PossibleCandidate p = possibleCandidateRepository.findByNameAndCategory(posCandidate.getName(), categoryRepository.findById(index).get()); - LOGGER.warn(p.getVotes()); - p.setVotes(p.getVotes() + 1); - possibleCandidateRepository.save(p); - } else { - PossibleCandidate possibleCandidate = new PossibleCandidate(posCandidate.getName(), categoryRepository.findById(index).get()); - possibleCandidateRepository.save(possibleCandidate); + public String candidateSaving(@ModelAttribute PossibleCandidateWrapper possibleCandidates, @RequestParam String name){ + if (voterRepository.findByEmail(name).getVote_status()){ + return "errors/alreadyVoted.html"; + } else { + LinkedList posCandidates = possibleCandidates.getPossibleCandidates(); + long index = 1; + for (PossibleCandidate posCandidate : posCandidates){ + if (posCandidate.getName() != "") { + if (possibleCandidateRepository.findByNameAndCategory(posCandidate.getName(), categoryRepository.findById(index).get()) != null) { + PossibleCandidate p = possibleCandidateRepository.findByNameAndCategory(posCandidate.getName(), categoryRepository.findById(index).get()); + p.setVotes(p.getVotes() + 1); + possibleCandidateRepository.save(p); + } else { + PossibleCandidate possibleCandidate = new PossibleCandidate(posCandidate.getName(), categoryRepository.findById(index).get()); + possibleCandidateRepository.save(possibleCandidate); + } } + index++; } - index++; + //tableAction.updateCandidatesubmit_status(voterEmail, voterRepository); + return "candidateAddingSuccessful.html"; } - return "candidateAddingSuccessful.html"; } @RequestMapping("/processVote") - public String ProcessVote(@RequestParam String voteValues, @RequestParam String voterEmail) { - String[] partVoteValues = voteValues.split(","); - for (String s: partVoteValues) { - tableAction.voteFor(s, candidateRepository); + public String ProcessVote(@RequestParam String name, @RequestParam String voteValues) { + if (voterRepository.findByEmail(name).getCandidatesubmit_status()){ + return "errors/alreadySubmitted.html"; + } else { + String[] partVoteValues = voteValues.split(","); + for (String s : partVoteValues) { + tableAction.voteFor(s, candidateRepository); + } + //tableAction.updateVotingStatus(voterEmail, voterRepository); + LOGGER.info(name + " has voted!"); + return "voteSuccessful.html"; } - tableAction.updateVotingStatus(voterEmail,voterRepository); - LOGGER.info(voterEmail + " has voted!"); - return "voteSuccessful.html"; } @RequestMapping("/dashboard") diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/AuthCode.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/AuthCode.java new file mode 100644 index 0000000..be3231e --- /dev/null +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/AuthCode.java @@ -0,0 +1,39 @@ +package com.github.cato447.AbizeitungVotingSystem.entities; + +import javax.persistence.*; + +@Entity +@Table(name="auth_codes") +public class AuthCode { + public AuthCode(){ + super(); + } + + public AuthCode(String name, String code) { + this.name = name; + this.code = code; + } + + @Id + @GeneratedValue(strategy= GenerationType.IDENTITY) + private Long id; + private String name; + private String code; + private long time = System.currentTimeMillis(); + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getName() { + return name; + } + + public long getTime() { + return time; + } +} 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 e0fc045..97a2c51 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Voter.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Voter.java @@ -42,4 +42,8 @@ public class Voter { public void vote(){ vote_status = true; } + + public void submitCandidates() { + candidatesubmit_status = true; + } } diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/helper/RandomNumber.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/helper/RandomNumber.java new file mode 100644 index 0000000..d3c2722 --- /dev/null +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/helper/RandomNumber.java @@ -0,0 +1,15 @@ +package com.github.cato447.AbizeitungVotingSystem.helper; + +import java.util.Random; + +public class RandomNumber { + public static String getRandomNumberString() { + // It will generate 6 digit random Number. + // from 0 to 999999 + Random rnd = new Random(); + int number = rnd.nextInt(999999); + + // this will convert any number sequence into 6 character. + return String.format("%06d", number); + } +} diff --git a/src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/AuthCodesRepository.java b/src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/AuthCodesRepository.java new file mode 100644 index 0000000..18a49d2 --- /dev/null +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/repositories/AuthCodesRepository.java @@ -0,0 +1,10 @@ +package com.github.cato447.AbizeitungVotingSystem.repositories; + +import com.github.cato447.AbizeitungVotingSystem.entities.AuthCode; +import org.springframework.data.jpa.repository.JpaRepository; + +public interface AuthCodesRepository extends JpaRepository { + + public AuthCode findByName(String name); + +} 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 f7e80fd..ecfec8d 100644 --- a/src/main/java/com/github/cato447/AbizeitungVotingSystem/table/TableAction.java +++ b/src/main/java/com/github/cato447/AbizeitungVotingSystem/table/TableAction.java @@ -1,14 +1,9 @@ package com.github.cato447.AbizeitungVotingSystem.table; import com.github.cato447.AbizeitungVotingSystem.controller.VotingController; -import com.github.cato447.AbizeitungVotingSystem.entities.Candidate; -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.repositories.CandidateRepository; -import com.github.cato447.AbizeitungVotingSystem.repositories.CategoryRepository; -import com.github.cato447.AbizeitungVotingSystem.repositories.PossibleCandidateRepository; -import com.github.cato447.AbizeitungVotingSystem.repositories.VoterRepository; +import com.github.cato447.AbizeitungVotingSystem.entities.*; +import com.github.cato447.AbizeitungVotingSystem.repositories.*; +import org.aspectj.weaver.loadtime.definition.LightXMLParser; import java.io.File; import java.io.FileNotFoundException; @@ -36,6 +31,40 @@ public class TableAction { voterRepository.save(voter); } + public void updateCandidatesubmit_status(String email, VoterRepository voterRepository){ + Voter voter = voterRepository.findByEmail(email); + voter.submitCandidates(); + voterRepository.save(voter); + } + + public AuthCode generateToken(String name, String code, AuthCodesRepository authCodesRepository) { + AuthCode authCode = new AuthCode(name, code); + if (authCodesRepository.findByName(authCode.getName()) != null) { + authCodesRepository.findByName(authCode.getName()).setCode(authCode.getCode()); + return authCode; + } else { + authCodesRepository.save(authCode); + return authCode; + } + } + + 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 { + return "wrong"; + } + } + + private boolean fiveMinutesPassed(Long time){ + return System.currentTimeMillis() >= (time + 300*1000); + } + public void voteFor(String id, CandidateRepository candidateRepository){ long candidateID = Long.valueOf(id); Candidate candidate = candidateRepository.findById(candidateID).get(); diff --git a/src/main/resources/static/styles/addingCandidates.css b/src/main/resources/static/styles/addingCandidates.css index 2744139..10be17b 100644 --- a/src/main/resources/static/styles/addingCandidates.css +++ b/src/main/resources/static/styles/addingCandidates.css @@ -35,12 +35,11 @@ input { color: #FFF; font-size: .875rem; font-weight: normal; - text-transform: uppercase; text-align: left; transition: opacity .25s .5s; } -#submitButton { +.submitButton { margin-top: 5%; margin-bottom: 5%; border: 0; @@ -59,6 +58,6 @@ html, body { width: 100%; height: 100%; - background-image: linear-gradient(to bottom right, #111E25 0%, #111 100%) fixed; + 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/static/styles/authenticate.css b/src/main/resources/static/styles/authenticate.css new file mode 100644 index 0000000..5ba3314 --- /dev/null +++ b/src/main/resources/static/styles/authenticate.css @@ -0,0 +1,62 @@ +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 { + margin-top: 5%; + color: #FFF; + margin-bottom: 5%; +} + +h2.categoryHeader { + color: #FFF; +} + +input { + background-color: transparent; + border: transparent; + border-bottom: 2px solid red; + color: #FFF; + font-size: xx-large; + width: 1ch; +} + +.submitButton { + margin-top: 5%; + margin-bottom: 5%; + 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/static/styles/dashboard.css b/src/main/resources/static/styles/dashboard.css index 659ac2f..64b3054 100644 --- a/src/main/resources/static/styles/dashboard.css +++ b/src/main/resources/static/styles/dashboard.css @@ -2,6 +2,8 @@ td.voted { background-color: #f05048; } +td.submitted {} + td.notVoted { background-color: #76ed6b; } diff --git a/src/main/resources/static/styles/voting.css b/src/main/resources/static/styles/voting.css index f2776cf..a8870d8 100644 --- a/src/main/resources/static/styles/voting.css +++ b/src/main/resources/static/styles/voting.css @@ -39,7 +39,7 @@ button { transition: opacity .25s .5s; } -#submitButton { +.submitButton { margin-top: 5%; padding: .25em 0; border: 0; diff --git a/src/main/resources/templates/addingCandidates.html b/src/main/resources/templates/addingCandidates.html index a364299..e390e0e 100644 --- a/src/main/resources/templates/addingCandidates.html +++ b/src/main/resources/templates/addingCandidates.html @@ -5,17 +5,49 @@ Title + + +

Schlage für jede Kategorie eine/n Kandiadt/en vor:

-
-
-

- + +
+
+

+ +
- + +
diff --git a/src/main/resources/templates/authenticate.html b/src/main/resources/templates/authenticate.html new file mode 100644 index 0000000..23698a0 --- /dev/null +++ b/src/main/resources/templates/authenticate.html @@ -0,0 +1,56 @@ + + + + + + Title + + + + + + + + +

+

Gebe den enthaltenen Authentifizierungscode ein

+
+ + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/dashboard.html b/src/main/resources/templates/dashboard.html index 4f5ed1b..5b7f1cd 100644 --- a/src/main/resources/templates/dashboard.html +++ b/src/main/resources/templates/dashboard.html @@ -18,22 +18,28 @@ Id E-Mail - Vote status + Status +
+ + + +
+
- +
- +
diff --git a/src/main/resources/templates/errors/alreadySubmitted.html b/src/main/resources/templates/errors/alreadySubmitted.html new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/templates/start.html b/src/main/resources/templates/start.html index 7c44a62..42bf0c0 100644 --- a/src/main/resources/templates/start.html +++ b/src/main/resources/templates/start.html @@ -26,7 +26,7 @@
-
+ diff --git a/src/main/resources/templates/voting.html b/src/main/resources/templates/voting.html index 9dbb4ea..9f90626 100644 --- a/src/main/resources/templates/voting.html +++ b/src/main/resources/templates/voting.html @@ -5,14 +5,14 @@ Title + -

Wähle deine Kandidaten:

-
-

-
- +
+
+

+
+ +
- + + - - +