Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
1,602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.81 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [WARNING]
  3. [WARNING] Some problems were encountered while building the effective model for rs.ac.metropolitan:isum:war:0.0.1-SNAPSHOT
  4. [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
  5. [WARNING]
  6. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  7. [WARNING]
  8. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  9. [WARNING]
  10. [INFO]
  11. [INFO] ----------------------< rs.ac.metropolitan:isum >-----------------------
  12. [INFO] Building isum 0.0.1-SNAPSHOT
  13. [INFO] --------------------------------[ war ]---------------------------------
  14. [INFO]
  15. [INFO] >>> spring-boot-maven-plugin:2.1.3.RELEASE:run (default-cli) > test-compile @ isum >>>
  16. [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
  17. [INFO]
  18. [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ isum ---
  19. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  20. [INFO] Copying 1 resource
  21. [INFO] Copying 5 resources
  22. [INFO]
  23. [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ isum ---
  24. [INFO] Changes detected - recompiling the module!
  25. [INFO] Compiling 869 source files to /home/nik/Code/isum/isumbackend/target/classes
  26. [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.
  27. [INFO] /home/nik/Code/isum/isumbackend/src/main/java/rs/ac/metropolitan/isum/database/oldisum/entity/IspitniRokOld.java: Recompile with -Xlint:unchecked for details.
  28. [INFO]
  29. [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ isum ---
  30. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  31. [INFO] skip non existing resourceDirectory /home/nik/Code/isum/isumbackend/src/test/resources
  32. [INFO]
  33. [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ isum ---
  34. [INFO] Nothing to compile - all classes are up to date
  35. [INFO]
  36. [INFO] <<< spring-boot-maven-plugin:2.1.3.RELEASE:run (default-cli) < test-compile @ isum <<<
  37. [INFO]
  38. [INFO]
  39. [INFO] --- spring-boot-maven-plugin:2.1.3.RELEASE:run (default-cli) @ isum ---
  40. __ __ __ ___ ____ __ ____ __ ______ __ __ ____ ______ __ __ ______ ______ __ __
  41. _\ \\ \__ /\ \ /'___\ __ /\ _`\ /\ \ /\ _`\ /\ \ /\__ _\ /\ \/\ \ /\ _`\ /\__ _\ /\ \/\ \ /\__ _\ /\__ _\ /\ \ /\ \
  42. /\__ _ _\ \_\ \ __ /\ \__/ /\_\ ___ __ \ \ \L\ \ __ ___ \ \ \/'\ \ \ \L\_\ ___ \_\ \ \/_/\ \/ \ \ `\\ \ \ \ \L\_\\/_/\ \/ \ \ `\\ \ \/_/\ \/ \/_/\ \/ \ `\`\\/'/
  43. \/_L\ \\ \L_ /'_` \ /'__`\ \ \ ,__\\/\ \ /' _ `\ /'__`\ \ \ _ <' /'__`\ /'___\ \ \ , < \ \ _\L /' _ `\ /'_` \ \ \ \ \ \ , ` \ \ \ _\/ \ \ \ \ \ , ` \ \ \ \ \ \ \ `\ `\ /'
  44. /\_ _ _\/\ \L\ \ /\ __/ \ \ \_/ \ \ \ /\ \/\ \ /\ __/ \ \ \L\ \/\ \L\.\_ /\ \__/ \ \ \\`\ \ \ \L\ \/\ \/\ \ /\ \L\ \ \_\ \__ \ \ \`\ \ \ \ \/ \_\ \__ \ \ \`\ \ \_\ \__ \ \ \ `\ \ \
  45. \/_/\_\\_\/\ \___,_\\ \____\ \ \_\ \ \_\\ \_\ \_\\ \____\ \ \____/\ \__/.\_\\ \____\ \ \_\ \_\ \ \____/\ \_\ \_\\ \___,_\ /\_____\ \ \_\ \_\ \ \_\ /\_____\ \ \_\ \_\ /\_____\ \ \_\ \ \_\
  46. \/_//_/ \/__,_ / \/____/ \/_/ \/_/ \/_/\/_/ \/____/ \/___/ \/__/\/_/ \/____/ \/_/\/_/ \/___/ \/_/\/_/ \/__,_ / \/_____/ \/_/\/_/ \/_/ \/_____/ \/_/\/_/ \/_____/ \/_/ \/_/
  47.  
  48.  
  49. __ __ ___ __ __ __ ______ ___ __ __ __
  50. _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\__ _\ /\_ \ __ __ /\ \ /\ \\ \
  51. /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \/_/\ \/ \//\ \ /\_\ /\_\ __ \ \ \___ \ \_\\_\
  52. \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \ \ \ \ \ \ \/\ \ \/\ \ /'__`\ \ \ _ `\ \/_//_/
  53. /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ \_\ \__ \_\ \_ \ \ \ \ \ \ /\ \L\.\_ __ \ \ \ \ \
  54. \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ /\_____\ /\____\ \ \_\ _\ \ \ \ \__/.\_\/\_\ \ \_\ \_\
  55. \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ \/_____/ \/____/ \/_//\ \_\ \ \/__/\/_/\/_/ \/_/\/_/
  56. \ \____/
  57. \/___/
  58. __ __ ___ __ __ __ ____ __ __ __ __
  59. _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\ _`\ __ /\ \ /\ \ /\ \\ \
  60. /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \ \,\L\_\ /\_\ ___ \ \ \/'\ ___ \ \ \___ \ \_\\_\
  61. \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \/_\__ \ \/\ \ /'___\ \ \ , < / __`\ \ \ _ `\ \/_//_/
  62. /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ /\ \L\ \ \ \ \ /\ \__/ \ \ \\`\ /\ \L\ \ __ \ \ \ \ \
  63. \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ \ `\____\ \ \_\\ \____\ \ \_\ \_\\ \____//\_\ \ \_\ \_\
  64. \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ \/_____/ \/_/ \/____/ \/_/\/_/ \/___/ \/_/ \/_/\/_/
  65.  
  66.  
  67. __ __ ___ __ __ __ ______ ___ __ __ __ __
  68. _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\ _ \ /\_ \ /\ \ /\ \ /\ \\ \
  69. /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \ \ \L\ \ \//\ \ __ \ \ \/'\ ____ __ \ \ \___ \ \_\\_\
  70. \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \ \ __ \ \ \ \ /'__`\ \ \ , < /',__\ /'__`\ \ \ _ `\ \/_//_/
  71. /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ \ \ \/\ \ \_\ \_ /\ __/ \ \ \\`\ /\__, `\/\ \L\.\_ __ \ \ \ \ \
  72. \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ \ \_\ \_\ /\____\\ \____\ \ \_\ \_\\/\____/\ \__/.\_\/\_\ \ \_\ \_\
  73. \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ \/_/\/_/ \/____/ \/____/ \/_/\/_/ \/___/ \/__/\/_/\/_/ \/_/\/_/
  74.  
  75.  
  76. __ __ ___ __ __ __ __ __ __ __ __
  77. _\ \\ \__ __ /\_ \ /\ \ /\ \\ \ /\ \/\ \ __ /\ \ /\ \\ \
  78. /\__ _ _\ /\_\ ___ ___ \//\ \ __ __ \_\ \ __ \ \_\\_\ \ \ \ \ \ __ __ /\_\ __ \ \ \___ \ \_\\_\
  79. \/_L\ \\ \L_ \/\ \ /' _ `\ /'___\ \ \ \ /\ \/\ \ /'_` \ /'__`\ \/_//_/ \ \ \ \ \ /\ \/\ \ \/\ \ /'__`\ \ \ _ `\ \/_//_/
  80. /\_ _ _\ \ \ \ /\ \/\ \ /\ \__/ \_\ \_ \ \ \_\ \/\ \L\ \ /\ __/ \ \ \_/ \\ \ \_\ \ \ \ \ /\ \L\.\_ __ \ \ \ \ \
  81. \/_/\_\\_\/ \ \_\\ \_\ \_\\ \____\ /\____\ \ \____/\ \___,_\\ \____\ \ `\___/ \ \____/ _\ \ \ \ \__/.\_\/\_\ \ \_\ \_\
  82. \/_//_/ \/_/ \/_/\/_/ \/____/ \/____/ \/___/ \/__,_ / \/____/ `\/__/ \/___/ /\ \_\ \ \/__/\/_/\/_/ \/_/\/_/
  83. \ \____/
  84. \/___/
  85.  
  86. 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)
  87. 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
  88. 2020-04-01 12:57:22.211 INFO 8388 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
  89. 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.
  90. 2020-04-01 12:57:22.698 INFO 8388 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
  91. 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.
  92. 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)
  93. 2020-04-01 12:57:24.069 INFO 8388 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
  94. 2020-04-01 12:57:24.096 INFO 8388 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
  95. 2020-04-01 12:57:24.097 INFO 8388 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.16]
  96. 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]
  97. 2020-04-01 12:57:24.198 INFO 8388 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/isum] : Initializing Spring embedded WebApplicationContext
  98. 2020-04-01 12:57:24.198 INFO 8388 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2816 ms
  99. 2020-04-01 12:57:24.369 INFO 8388 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: db1EntityManager]
  100. 2020-04-01 12:57:24.423 INFO 8388 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.1.Final}
  101. 2020-04-01 12:57:24.547 INFO 8388 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
  102. 2020-04-01 12:57:24.705 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
  103. 2020-04-01 12:57:24.964 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
  104. 2020-04-01 12:57:24.975 INFO 8388 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
  105. 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]
  106. 2020-04-01 12:57:26.734 INFO 8388 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'db1EntityManager'
  107. 2020-04-01 12:57:26.753 INFO 8388 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: db2EntityManager]
  108. 2020-04-01 12:57:26.782 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting...
  109. 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)
  110. 2020-04-01 12:57:26.981 INFO 8388 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed.
  111. 2020-04-01 12:57:26.983 INFO 8388 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
  112. 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]
  113. 2020-04-01 12:57:28.337 INFO 8388 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'db2EntityManager'
  114. 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]
  115. 2020-04-01 12:57:31.607 INFO 8388 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
  116. 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
  117. 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)
  118. 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'
  119. 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)
  120. 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'
  121. 2020-04-01 12:58:05.336 INFO 8388 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
  122. 2020-04-01 12:58:05.350 INFO 8388 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 14 ms
  123. 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
  124.  
  125. javax.persistence.EntityNotFoundException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 42
  126. at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:162) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  127. at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:211) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  128. at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:262) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  129. at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:105) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  130. at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:73) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  131. at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1287) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  132. at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1164) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  133. at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:687) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  134. at org.hibernate.type.EntityType.resolve(EntityType.java:464) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  135. at org.hibernate.type.ManyToOneType.resolve(ManyToOneType.java:239) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  136. at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:172) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  137. at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  138. at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1151) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  139. at org.hibernate.loader.Loader.processResultSet(Loader.java:1010) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  140. at org.hibernate.loader.Loader.doQuery(Loader.java:948) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  141. at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  142. at org.hibernate.loader.Loader.doList(Loader.java:2695) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  143. at org.hibernate.loader.Loader.doList(Loader.java:2678) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  144. at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2512) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  145. at org.hibernate.loader.Loader.list(Loader.java:2507) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  146. at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:504) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  147. at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:396) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  148. at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:224) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  149. at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1538) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  150. at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1561) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  151. at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1529) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  152. at org.hibernate.query.Query.getResultList(Query.java:168) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  153. at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:76) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  154. 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]
  155. at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  156. at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  157. at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  158. 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]
  159. 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]
  160. 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]
  161. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  162. at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  163. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  164. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  165. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  166. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  167. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  168. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  169. 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]
  170. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  171. at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  172. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  173. at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  174. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  175. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  176. at com.sun.proxy.$Proxy184.findAllByIdAcademicYearAndDisabledNot(Unknown Source) ~[na:na]
  177. at rs.ac.metropolitan.isum.service.EnrollmentServiceImpl.getAllActiveByAcademicYear(EnrollmentServiceImpl.java:118) ~[classes/:na]
  178. at rs.ac.metropolitan.isum.controller.UserController.getUsernames(UserController.java:65) ~[classes/:na]
  179. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_242]
  180. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_242]
  181. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_242]
  182. at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_242]
  183. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  184. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  185. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  186. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  187. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  188. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  189. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  190. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  191. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  192. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  193. at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  194. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  195. at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  196. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  197. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  198. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.16.jar:9.0.16]
  199. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  200. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  201. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  202. at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  203. at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  204. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  205. at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  206. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  207. at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  208. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  209. at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  210. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  211. at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  212. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  213. at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  214. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  215. at rs.ac.metropolitan.isum.security.JWTAuthorizationFilter.doFilterInternal(JWTAuthorizationFilter.java:50) ~[classes/:na]
  216. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  217. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  218. at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  219. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  220. at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  221. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  222. at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  223. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  224. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  225. at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  226. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  227. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  228. at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  229. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  230. 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]
  231. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  232. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  233. at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  234. at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  235. at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  236. at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  237. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  238. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  239. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  240. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  241. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  242. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  243. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  244. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  245. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  246. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  247. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  248. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  249. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  250. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  251. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  252. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  253. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  254. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  255. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  256. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar:9.0.16]
  257. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar:9.0.16]
  258. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar:9.0.16]
  259. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar:9.0.16]
  260. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar:9.0.16]
  261. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar:9.0.16]
  262. at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar:9.0.16]
  263. at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar:9.0.16]
  264. at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar:9.0.16]
  265. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar:9.0.16]
  266. at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar:9.0.16]
  267. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_242]
  268. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_242]
  269. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar:9.0.16]
  270. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
  271.  
  272. 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
  273.  
  274. 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
  275. at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:378) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  276. at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:255) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  277. at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:527) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  278. at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  279. at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  280. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:153) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  281. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  282. 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]
  283. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  284. at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  285. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  286. at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  287. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  288. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  289. at com.sun.proxy.$Proxy184.findByIdStudent_IdStudentAndIdAcademicYear_IdAcademicYear(Unknown Source) ~[na:na]
  290. at rs.ac.metropolitan.isum.service.EnrollmentServiceImpl.getEnrollmentByIdStudentAndIdAcademicYear(EnrollmentServiceImpl.java:57) ~[classes/:na]
  291. at rs.ac.metropolitan.isum.service.EnrollmentServiceImpl.getCurrentEnrollmentByIdStudent(EnrollmentServiceImpl.java:94) ~[classes/:na]
  292. at rs.ac.metropolitan.isum.security.CustomAuthenticationManager.authenticate(CustomAuthenticationManager.java:37) ~[classes/:na]
  293. at rs.ac.metropolitan.isum.security.JWTAuthenticationFilter.attemptAuthentication(JWTAuthenticationFilter.java:44) ~[classes/:na]
  294. at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  295. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  296. at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  297. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  298. at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  299. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  300. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  301. at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  302. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  303. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  304. at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  305. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  306. 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]
  307. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  308. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  309. at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  310. at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]
  311. at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  312. at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  313. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  314. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  315. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  316. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  317. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  318. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  319. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  320. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  321. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  322. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  323. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  324. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  325. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  326. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  327. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  328. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  329. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  330. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  331. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
  332. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar:9.0.16]
  333. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar:9.0.16]
  334. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar:9.0.16]
  335. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar:9.0.16]
  336. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar:9.0.16]
  337. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar:9.0.16]
  338. at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar:9.0.16]
  339. at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar:9.0.16]
  340. at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar:9.0.16]
  341. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar:9.0.16]
  342. at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar:9.0.16]
  343. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_242]
  344. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_242]
  345. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar:9.0.16]
  346. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
  347. Caused by: javax.persistence.EntityNotFoundException: Unable to find rs.ac.metropolitan.isum.database.newisum.entity.Major with id 48
  348. at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:162) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  349. at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:211) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  350. at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:262) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  351. at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:105) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  352. at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:73) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  353. at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1287) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  354. at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1164) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  355. at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:687) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  356. at org.hibernate.type.EntityType.resolve(EntityType.java:464) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  357. at org.hibernate.type.ManyToOneType.resolve(ManyToOneType.java:239) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  358. at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:172) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  359. at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  360. at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1151) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  361. at org.hibernate.loader.Loader.processResultSet(Loader.java:1010) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  362. at org.hibernate.loader.Loader.doQuery(Loader.java:948) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  363. at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  364. at org.hibernate.loader.Loader.doList(Loader.java:2695) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  365. at org.hibernate.loader.Loader.doList(Loader.java:2678) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  366. at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2512) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  367. at org.hibernate.loader.Loader.list(Loader.java:2507) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  368. at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:504) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  369. at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:396) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  370. at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:224) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  371. at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1538) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  372. at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1561) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  373. at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1529) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  374. at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1577) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  375. at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:111) ~[hibernate-core-5.4.1.Final.jar:5.4.1.Final]
  376. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_242]
  377. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_242]
  378. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_242]
  379. at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_242]
  380. at org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:402) ~[spring-orm-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  381. at com.sun.proxy.$Proxy386.getSingleResult(Unknown Source) ~[na:na]
  382. 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]
  383. at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  384. at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  385. at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) ~[spring-data-jpa-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  386. 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]
  387. 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]
  388. 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]
  389. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  390. at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.1.5.RELEASE.jar:2.1.5.RELEASE]
  391. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  392. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  393. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  394. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  395. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.1.5.RELEASE.jar:5.1.5.RELEASE]
  396. ... 66 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement