Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for rs.ac.metropolitan:isum:war:0.0.1-SNAPSHOT
- [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ----------------------< rs.ac.metropolitan:isum >-----------------------
- [INFO] Building isum 0.0.1-SNAPSHOT
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] >>> spring-boot-maven-plugin:2.1.3.RELEASE:run (default-cli) > test-compile @ isum >>>
- [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ isum ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 5 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ isum ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 869 source files to /home/nik/Code/isum/isumbackend/target/classes
- [INFO] /home/nik/Code/isum/isumbackend/src/main/java/rs/ac/metropolitan/isum/database/oldisum/entity/IspitniRokOld.java: Some input files use unchecked or unsafe operations.
- [INFO] /home/nik/Code/isum/isumbackend/src/main/java/rs/ac/metropolitan/isum/database/oldisum/entity/IspitniRokOld.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ isum ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/nik/Code/isum/isumbackend/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ isum ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] <<< spring-boot-maven-plugin:2.1.3.RELEASE:run (default-cli) < test-compile @ isum <<<
- [INFO]
- [INFO]
- [INFO] --- spring-boot-maven-plugin:2.1.3.RELEASE:run (default-cli) @ isum ---
- __ __ __ ___ ____ __ ____ __ ______ __ __ ____ ______ __ __ ______ ______ __ __
- _\ \\ \__ /\ \ /'___\ __ /\ _`\ /\ \ /\ _`\ /\ \ /\__ _\ /\ \/\ \ /\ _`\ /\__ _\ /\ \/\ \ /\__ _\ /\__ _\ /\ \ /\ \
- /\__ _ _\ \_\ \ __ /\ \__/ /\_\ ___ __ \ \ \L\ \ __ ___ \ \ \/'\ \ \ \L\_\ ___ \_\ \ \/_/\ \/ \ \ `\\ \ \ \ \L\_\\/_/\ \/ \ \ `\\ \ \/_/\ \/ \/_/\ \/ \ `\`\\/'/
- \/_L\ \\ \L_ /'_` \ /'__`\ \ \ ,__\\/\ \ /' _ `\ /'__`\ \ \ _ <' /'__`\ /'___\ \ \ , < \ \ _\L /' _ `\ /'_` \ \ \ \ \ \ , ` \ \ \ _\/ \ \ \ \ \ , ` \ \ \ \ \ \ \ `\ `\ /'
- /\_ _ _\/\ \L\ \ /\ __/ \ \ \_/ \ \ \ /\ \/\ \ /\ __/ \ \ \L\ \/\ \L\.\_ /\ \__/ \ \ \\`\ \ \ \L\ \/\ \/\ \ /\ \L\ \ \_\ \__ \ \ \`\ \ \ \ \/ \_\ \__ \ \ \`\ \ \_\ \__ \ \ \ `\ \ \
- \/_/\_\\_\/\ \___,_\\ \____\ \ \_\ \ \_\\ \_\ \_\\ \____\ \ \____/\ \__/.\_\\ \____\ \ \_\ \_\ \ \____/\ \_\ \_\\ \___,_\ /\_____\ \ \_\ \_\ \ \_\ /\_____\ \ \_\ \_\ /\_____\ \ \_\ \ \_\
- \/_//_/ \/__,_ / \/____/ \/_/ \/_/ \/_/\/_/ \/____/ \/___/ \/__/\/_/ \/____/ \/_/\/_/ \/___/ \/_/\/_/ \/__,_ / \/_____/ \/_/\/_/ \/_/ \/_____/ \/_/\/_/ \/_____/ \/_/ \/_/
- __ __ ___ __ __ __ ______ ___ __ __ __
- _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\__ _\ /\_ \ __ __ /\ \ /\ \\ \
- /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \/_/\ \/ \//\ \ /\_\ /\_\ __ \ \ \___ \ \_\\_\
- \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \ \ \ \ \ \ \/\ \ \/\ \ /'__`\ \ \ _ `\ \/_//_/
- /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ \_\ \__ \_\ \_ \ \ \ \ \ \ /\ \L\.\_ __ \ \ \ \ \
- \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ /\_____\ /\____\ \ \_\ _\ \ \ \ \__/.\_\/\_\ \ \_\ \_\
- \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ \/_____/ \/____/ \/_//\ \_\ \ \/__/\/_/\/_/ \/_/\/_/
- \ \____/
- \/___/
- __ __ ___ __ __ __ ____ __ __ __ __
- _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\ _`\ __ /\ \ /\ \ /\ \\ \
- /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \ \,\L\_\ /\_\ ___ \ \ \/'\ ___ \ \ \___ \ \_\\_\
- \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \/_\__ \ \/\ \ /'___\ \ \ , < / __`\ \ \ _ `\ \/_//_/
- /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ /\ \L\ \ \ \ \ /\ \__/ \ \ \\`\ /\ \L\ \ __ \ \ \ \ \
- \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ \ `\____\ \ \_\\ \____\ \ \_\ \_\\ \____//\_\ \ \_\ \_\
- \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ \/_____/ \/_/ \/____/ \/_/\/_/ \/___/ \/_/ \/_/\/_/
- __ __ ___ __ __ __ ______ ___ __ __ __ __
- _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\ _ \ /\_ \ /\ \ /\ \ /\ \\ \
- /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \ \ \L\ \ \//\ \ __ \ \ \/'\ ____ __ \ \ \___ \ \_\\_\
- \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \ \ __ \ \ \ \ /'__`\ \ \ , < /',__\ /'__`\ \ \ _ `\ \/_//_/
- /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ \ \ \/\ \ \_\ \_ /\ __/ \ \ \\`\ /\__, `\/\ \L\.\_ __ \ \ \ \ \
- \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ \ \_\ \_\ /\____\\ \____\ \ \_\ \_\\/\____/\ \__/.\_\/\_\ \ \_\ \_\
- \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ \/_/\/_/ \/____/ \/____/ \/_/\/_/ \/___/ \/__/\/_/\/_/ \/_/\/_/
- __ __ ___ __ __ __ __ __ __ __ __
- _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\ \/\ \ __ /\ \ /\ \\ \
- /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \ \ \ \ \ __ __ /\_\ __ \ \ \___ \ \_\\_\
- \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \ \ \ \ \ /\ \/\ \ \/\ \ /'__`\ \ \ _ `\ \/_//_/
- /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ \ \ \_/ \\ \ \_\ \ \ \ \ /\ \L\.\_ __ \ \ \ \ \
- \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ \ `\___/ \ \____/ _\ \ \ \ \__/.\_\/\_\ \ \_\ \_\
- \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ `\/__/ \/___/ /\ \_\ \ \/__/\/_/\/_/ \/_/\/_/
- \ \____/
- \/___/
- 2020-04-01 12:57:21.121 INFO 8388 --- [ main] rs.ac.metropolitan.isum.IsumApplication : Starting IsumApplication on nik-pc with PID 8388 (/home/nik/Code/isum/isumbackend/target/classes started by nik in /home/nik/Code/isum/isumbackend)
- 2020-04-01 12:57:21.128 INFO 8388 --- [ main] rs.ac.metropolitan.isum.IsumApplication : No active profile set, falling back to default profiles: default
- 2020-04-01 12:57:22.211 INFO 8388 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
- 2020-04-01 12:57:22.698 INFO 8388 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 468ms. Found 116 repository interfaces.
- 2020-04-01 12:57:22.698 INFO 8388 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
- 2020-04-01 12:57:23.003 INFO 8388 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 305ms. Found 111 repository interfaces.
- 2020-04-01 12:57:23.616 INFO 8388 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$14937709] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
- 2020-04-01 12:57:24.069 INFO 8388 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
- 2020-04-01 12:57:24.096 INFO 8388 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2020-04-01 12:57:24.097 INFO 8388 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.16]
- 2020-04-01 12:57:24.107 INFO 8388 --- [ main] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
- 2020-04-01 12:57:24.198 INFO 8388 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/isum] : Initializing Spring embedded WebApplicationContext
- 2020-04-01 12:57:24.198 INFO 8388 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2816 ms
- 2020-04-01 12:57:24.369 INFO 8388 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: db1EntityManager]
- 2020-04-01 12:57:24.423 INFO 8388 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.1.Final}
- 2020-04-01 12:57:24.547 INFO 8388 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
- 2020-04-01 12:57:24.705 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
- 2020-04-01 12:57:24.964 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
- 2020-04-01 12:57:24.975 INFO 8388 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
- 2020-04-01 12:57:26.733 INFO 8388 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
- 2020-04-01 12:57:26.734 INFO 8388 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'db1EntityManager'
- 2020-04-01 12:57:26.753 INFO 8388 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: db2EntityManager]
- 2020-04-01 12:57:26.782 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting...
- 2020-04-01 12:57:26.972 INFO 8388 --- [ main] com.zaxxer.hikari.pool.PoolBase : HikariPool-2 - Driver does not support get/set network timeout for connections. (null)
- 2020-04-01 12:57:26.981 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed.
- 2020-04-01 12:57:26.983 INFO 8388 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
- 2020-04-01 12:57:28.337 INFO 8388 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
- 2020-04-01 12:57:28.337 INFO 8388 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'db2EntityManager'
- 2020-04-01 12:57:31.439 INFO 8388 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@304f6a3f, org.springframework.security.web.context.SecurityContextPersistenceFilter@3bfaa195, org.springframework.security.web.header.HeaderWriterFilter@187e3e8e, org.springframework.web.filter.CorsFilter@477d1096, org.springframework.security.web.authentication.logout.LogoutFilter@679ddf5f, rs.ac.metropolitan.isum.security.JWTAuthenticationFilter@c261cd3, rs.ac.metropolitan.isum.security.JWTAuthorizationFilter@fe4e9f4, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@77959852, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@37bc1fb3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@44b164a5, org.springframework.security.web.session.SessionManagementFilter@7dfa3c19, org.springframework.security.web.access.ExceptionTranslationFilter@5e279a15, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@40a66c7]
- 2020-04-01 12:57:31.607 INFO 8388 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
- 2020-04-01 12:57:31.648 WARN 8388 --- [ main] aWebConfiguration$JpaWebMvcConfiguration : 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-04-01 12:57:31.914 WARN 8388 --- [ main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)
- 2020-04-01 12:57:32.169 INFO 8388 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '/isum'
- 2020-04-01 12:57:32.170 INFO 8388 --- [ main] rs.ac.metropolitan.isum.IsumApplication : Started IsumApplication in 11.467 seconds (JVM running for 15.97)
- 2020-04-01 12:58:05.336 INFO 8388 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/isum] : Initializing Spring DispatcherServlet 'dispatcherServlet'
- 2020-04-01 12:58:05.336 INFO 8388 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
- 2020-04-01 12:58:05.350 INFO 8388 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 14 ms
- 2020-04-01 12:58:14.559 ERROR 8388 --- [nio-8080-exec-6] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/isum] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaObjectRetrievalFailureException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 42; nested exception is javax.persistence.EntityNotFoundException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 42] with root cause
- javax.persistence.EntityNotFoundException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 42
- at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:162) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:211) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:262) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:105) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:73) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1287) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1164) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:687) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.type.EntityType.resolve(EntityType.java:464) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.type.ManyToOneType.resolve(ManyToOneType.java:239) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:172) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1151) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.processResultSet(Loader.java:1010) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doQuery(Loader.java:948) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doList(Loader.java:2695) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doList(Loader.java:2678) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2512) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.list(Loader.java:2507) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:504) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:396) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:224) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1538) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1561) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1529) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.Query.getResultList(Query.java:168) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:76) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.springframework.data.jpa.repository.query.JpaQueryExecution$CollectionExecution.doExecute(JpaQueryExecution.java:129) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:135) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at com.sun.proxy.$Proxy184.findAllByIdAcademicYearAndDisabledNot(Unknown Source) ~[na:na]
- at rs.ac.metropolitan.isum.service.EnrollmentServiceImpl.getAllActiveByAcademicYear(EnrollmentServiceImpl.java:118) ~[classes/:na]
- at rs.ac.metropolitan.isum.controller.UserController.getUsernames(UserController.java:65) ~[classes/:na]
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_242]
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_242]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_242]
- at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_242]
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at rs.ac.metropolitan.isum.security.JWTAuthorizationFilter.doFilterInternal(JWTAuthorizationFilter.java:50) ~[classes/:na]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_242]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_242]
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
- 2020-04-01 12:59:15.048 ERROR 8388 --- [nio-8080-exec-9] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/isum] threw exception
- org.springframework.orm.jpa.JpaObjectRetrievalFailureException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 48; nested exception is javax.persistence.EntityNotFoundException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 48
- at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:378) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:255) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:527) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:153) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:135) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at com.sun.proxy.$Proxy184.findByIdStudent_IdStudentAndIdAcademicYear_IdAcademicYear(Unknown Source) ~[na:na]
- at rs.ac.metropolitan.isum.service.EnrollmentServiceImpl.getEnrollmentByIdStudentAndIdAcademicYear(EnrollmentServiceImpl.java:57) ~[classes/:na]
- at rs.ac.metropolitan.isum.service.EnrollmentServiceImpl.getCurrentEnrollmentByIdStudent(EnrollmentServiceImpl.java:94) ~[classes/:na]
- at rs.ac.metropolitan.isum.security.CustomAuthenticationManager.authenticate(CustomAuthenticationManager.java:37) ~[classes/:na]
- at rs.ac.metropolitan.isum.security.JWTAuthenticationFilter.attemptAuthentication(JWTAuthenticationFilter.java:44) ~[classes/:na]
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_242]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_242]
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar:9.0.16]
- at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
- Caused by: javax.persistence.EntityNotFoundException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 48
- at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:162) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:211) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:262) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:105) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:73) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1287) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1164) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:687) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.type.EntityType.resolve(EntityType.java:464) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.type.ManyToOneType.resolve(ManyToOneType.java:239) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:172) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1151) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.processResultSet(Loader.java:1010) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doQuery(Loader.java:948) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doList(Loader.java:2695) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.doList(Loader.java:2678) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2512) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.Loader.list(Loader.java:2507) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:504) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:396) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:224) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1538) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1561) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1529) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1577) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:111) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_242]
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_242]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_242]
- at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_242]
- at org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:402) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at com.sun.proxy.$Proxy386.getSingleResult(Unknown Source) ~[na:na]
- at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:605) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:595) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:595) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
- ... 66 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement