diff --git a/logs/app.2023-06-13.0.gz b/logs/app.2023-06-13.0.gz deleted file mode 100644 index 781d47d4..00000000 Binary files a/logs/app.2023-06-13.0.gz and /dev/null differ diff --git a/logs/app.2023-06-17.0.gz b/logs/app.2023-06-17.0.gz deleted file mode 100644 index 3da8adeb..00000000 Binary files a/logs/app.2023-06-17.0.gz and /dev/null differ diff --git a/logs/app.log b/logs/app.log index 6c531bc5..32c91b67 100644 --- a/logs/app.log +++ b/logs/app.log @@ -1,2839 +1,69 @@ -00:53:00.060 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 29700 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 29700 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -00:53:00.076 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -00:57:41.903 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 13212 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 13212 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -00:57:41.916 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -00:58:45.284 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 27248 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 27248 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -00:58:45.287 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:05:44.010 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 6328 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 6328 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:05:44.013 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:10:00.457 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 28680 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 28680 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:10:00.458 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:13:02.181 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 30648 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 30648 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:13:02.184 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:20:10.163 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 28400 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 28400 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:20:10.165 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:24:18.020 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 27056 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 27056 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:24:18.023 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:25:18.995 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 2040 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 2040 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:25:18.997 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:25:59.354 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24596 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24596 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:25:59.356 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:41:37.771 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 6684 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 6684 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -01:41:37.773 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -01:41:44.619 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 7.287 seconds (JVM running for 9.037)]- Started TogetUpApplication in 7.287 seconds (JVM running for 9.037) -02:01:54.734 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 26380 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 26380 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -02:01:54.735 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -02:02:03.587 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.429 seconds (JVM running for 11.535)]- Started TogetUpApplication in 9.429 seconds (JVM running for 11.535) -02:02:08.255 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:417) - at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.addAll(ImmutableCollection.java:513) - at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:768) - at com.google.firebase.messaging.MulticastMessage$Builder.addAllTokens(MulticastMessage.java:129) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:21) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:02:55.812 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:417) - at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.addAll(ImmutableCollection.java:513) - at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:768) - at com.google.firebase.messaging.MulticastMessage$Builder.addAllTokens(MulticastMessage.java:129) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:21) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:04:02.127 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 29616 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 29616 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -02:04:02.129 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -02:04:11.179 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.547 seconds (JVM running for 11.664)]- Started TogetUpApplication in 9.547 seconds (JVM running for 11.664) -02:04:11.400 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:15) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:07:55.896 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:15) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:09:03.101 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 5336 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 5336 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -02:09:03.101 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -02:09:12.211 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.695 seconds (JVM running for 11.846)]- Started TogetUpApplication in 9.695 seconds (JVM running for 11.846) -02:09:16.109 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:10:04.077 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:13:32.781 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 16896 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 16896 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -02:13:32.781 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -02:13:41.840 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.575 seconds (JVM running for 11.781)]- Started TogetUpApplication in 9.575 seconds (JVM running for 11.781) -02:14:11.744 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:15:17.925 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:18:09.495 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 14404 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 14404 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -02:18:09.497 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -02:18:18.062 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.128 seconds (JVM running for 11.157)]- Started TogetUpApplication in 9.128 seconds (JVM running for 11.157) -02:18:18.302 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:20) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:20:32.523 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 8920 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 8920 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -02:20:32.525 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -02:20:41.520 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.55 seconds (JVM running for 11.608)]- Started TogetUpApplication in 9.55 seconds (JVM running for 11.608) -05:18:04.949 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 9696 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 9696 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:18:04.950 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:19:01.506 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24340 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24340 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:19:01.507 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:22:34.130 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24336 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24336 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:22:34.130 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:23:03.210 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 20760 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 20760 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:23:03.212 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:31:11.351 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24216 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24216 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:31:11.353 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:31:47.444 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 16952 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 16952 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:31:47.445 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:31:54.528 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 7.453 seconds (JVM running for 8.85)]- Started TogetUpApplication in 7.453 seconds (JVM running for 8.85) -05:32:11.292 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 3028 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 3028 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:32:11.292 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:32:16.353 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 5.41 seconds (JVM running for 6.732)]- Started TogetUpApplication in 5.41 seconds (JVM running for 6.732) -05:33:34.002 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement]- Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement -org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:331) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy155.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.group.GroupService.createGroup(GroupService.java:35) - at com.wakeUpTogetUp.togetUp.group.GroupService$$FastClassBySpringCGLIB$$749a63e1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.group.GroupService$$EnhancerBySpringCGLIB$$56b29c6d.createGroup() - at com.wakeUpTogetUp.togetUp.group.GroupController.create(GroupController.java:35) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.GenericJDBCException: could not execute statement - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3907) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLException: Field 'id' doesn't have a default value - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:38:26.513 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 25836 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 25836 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:38:26.514 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:38:32.075 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 5.911 seconds (JVM running for 7.252)]- Started TogetUpApplication in 5.911 seconds (JVM running for 7.252) -05:38:54.876 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [group2.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement]- Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [group2.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement -org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [group2.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:276) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy155.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.group.GroupService.createGroup(GroupService.java:35) - at com.wakeUpTogetUp.togetUp.group.GroupService$$FastClassBySpringCGLIB$$749a63e1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.group.GroupService$$EnhancerBySpringCGLIB$$2c124f0f.createGroup() - at com.wakeUpTogetUp.togetUp.group.GroupController.create(GroupController.java:35) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59) - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3907) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '2' for key 'group2.PRIMARY' - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:45:32.718 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 29668 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 29668 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:45:32.719 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:45:38.799 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.438 seconds (JVM running for 7.756)]- Started TogetUpApplication in 6.438 seconds (JVM running for 7.756) -05:49:22.872 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement]- Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement -org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:331) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy156.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:46) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$f97e5fa4.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.GenericJDBCException: could not execute statement - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3914) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLException: Field 'id' doesn't have a default value - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:50:43.614 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 14332 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 14332 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:50:43.616 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:50:48.834 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 5.546 seconds (JVM running for 6.796)]- Started TogetUpApplication in 5.546 seconds (JVM running for 6.796) -05:51:15.268 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:51:46.594 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:53:16.397 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [mappingGroupUser.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement]- Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [mappingGroupUser.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement -org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [mappingGroupUser.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:276) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy156.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:46) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59) - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3914) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '3' for key 'mappingGroupUser.PRIMARY' - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:53:53.844 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:54:19.773 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 20216 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 20216 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:54:19.774 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:54:25.142 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 5.71 seconds (JVM running for 7.012)]- Started TogetUpApplication in 5.71 seconds (JVM running for 7.012) -05:54:28.531 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$f6145f73.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:55:37.914 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24836 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 24836 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -05:55:37.914 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -05:55:44.390 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.841 seconds (JVM running for 8.114)]- Started TogetUpApplication in 6.841 seconds (JVM running for 8.114) -06:00:09.456 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 23440 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 23440 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -06:00:09.458 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -06:00:15.132 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.019 seconds (JVM running for 7.346)]- Started TogetUpApplication in 6.019 seconds (JVM running for 7.346) -06:00:30.971 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:69) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:04:27.051 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 30456 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 30456 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -06:04:27.052 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -06:04:32.788 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.084 seconds (JVM running for 7.434)]- Started TogetUpApplication in 6.084 seconds (JVM running for 7.434) -06:04:38.861 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:71) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:06:08.372 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 22208 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 22208 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -06:06:08.374 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -06:06:14.024 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.035 seconds (JVM running for 7.391)]- Started TogetUpApplication in 6.035 seconds (JVM running for 7.391) -06:06:18.012 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:72) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:07:42.015 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 4312 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 4312 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -06:07:42.017 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -06:07:47.714 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.037 seconds (JVM running for 7.322)]- Started TogetUpApplication in 6.037 seconds (JVM running for 7.322) -06:07:49.319 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded.]- Unexpected exception occurred: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded. -java.util.concurrent.ExecutionException: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded. - at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:566) - at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:547) - at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:86) - at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendAndGetResponse(FcmService.java:61) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendMessageToTopic(FcmService.java:50) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService$$FastClassBySpringCGLIB$$89ca3a54.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService$$EnhancerBySpringCGLIB$$ced25897.sendMessageToTopic() - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:63) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded. - at com.google.firebase.messaging.FirebaseMessagingException.withMessagingErrorCode(FirebaseMessagingException.java:51) - at com.google.firebase.messaging.FirebaseMessagingClientImpl$MessagingErrorHandler.createException(FirebaseMessagingClientImpl.java:293) - at com.google.firebase.messaging.FirebaseMessagingClientImpl$MessagingErrorHandler.createException(FirebaseMessagingClientImpl.java:282) - at com.google.firebase.internal.AbstractHttpErrorHandler.handleHttpResponseException(AbstractHttpErrorHandler.java:57) - at com.google.firebase.internal.ErrorHandlingHttpClient.send(ErrorHandlingHttpClient.java:108) - at com.google.firebase.internal.ErrorHandlingHttpClient.sendAndParse(ErrorHandlingHttpClient.java:72) - at com.google.firebase.messaging.FirebaseMessagingClientImpl.sendSingleRequest(FirebaseMessagingClientImpl.java:127) - at com.google.firebase.messaging.FirebaseMessagingClientImpl.send(FirebaseMessagingClientImpl.java:113) - at com.google.firebase.messaging.FirebaseMessaging$1.execute(FirebaseMessaging.java:137) - at com.google.firebase.messaging.FirebaseMessaging$1.execute(FirebaseMessaging.java:134) - at com.google.firebase.internal.CallableOperation.call(CallableOperation.java:36) - at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) - at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69) - at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - ... 1 common frames omitted -Caused by: com.google.api.client.http.HttpResponseException: 429 Too Many Requests -POST https://fcm.googleapis.com/v1/projects/togetup-26b96/messages:send -{ - "error": { - "code": 429, - "message": "Topic quota exceeded.", - "status": "RESOURCE_EXHAUSTED", - "details": [ - { - "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError", - "errorCode": "QUOTA_EXCEEDED" - } - ] - } -} - - at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1116) - at com.google.firebase.internal.ErrorHandlingHttpClient.send(ErrorHandlingHttpClient.java:96) - ... 12 common frames omitted -06:11:31.847 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:69) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:12:41.533 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 6684 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 6684 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -06:12:41.535 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -06:12:46.987 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 5.794 seconds (JVM running for 7.073)]- Started TogetUpApplication in 5.794 seconds (JVM running for 7.073) -13:40:43.906 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 3668 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 3668 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -13:40:43.908 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -13:40:52.376 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.065 seconds (JVM running for 11.236)]- Started TogetUpApplication in 9.065 seconds (JVM running for 11.236) -13:58:33.957 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 10784 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 10784 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -13:58:33.957 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -13:58:41.982 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 8.566 seconds (JVM running for 10.648)]- Started TogetUpApplication in 8.566 seconds (JVM running for 10.648) -14:26:19.053 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 31344 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 31344 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -14:26:19.054 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -14:26:25.621 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.923 seconds (JVM running for 8.21)]- Started TogetUpApplication in 6.923 seconds (JVM running for 8.21) -14:31:38.989 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 19336 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 19336 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -14:31:38.990 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -14:31:45.289 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.685 seconds (JVM running for 8.013)]- Started TogetUpApplication in 6.685 seconds (JVM running for 8.013) -14:55:50.879 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 27552 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 27552 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -14:55:50.881 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -14:55:56.179 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 5.63 seconds (JVM running for 6.893)]- Started TogetUpApplication in 5.63 seconds (JVM running for 6.893) -15:22:53.270 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 184 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 184 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:22:53.270 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:24:02.833 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 7428 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 7428 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:24:02.835 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:24:46.267 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 9776 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 9776 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:24:46.269 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:25:56.946 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 8912 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 8912 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:25:56.947 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:29:35.321 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 23072 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 23072 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:29:35.323 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:29:42.016 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 7.118 seconds (JVM running for 8.858)]- Started TogetUpApplication in 7.118 seconds (JVM running for 8.858) -15:31:05.469 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 26840 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 26840 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:31:05.471 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:31:12.622 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 7.769 seconds (JVM running for 9.757)]- Started TogetUpApplication in 7.769 seconds (JVM running for 9.757) -15:31:48.618 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: Request method 'POST' not supported]- Unexpected exception occurred: Request method 'POST' not supported -org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported - at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:260) - at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:442) - at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:383) - at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:125) - at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:67) - at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:498) - at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1266) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1048) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -15:32:54.587 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 9932 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.14.1 on DESKTOP-1G8QNHU with PID 9932 (C:\Users\anyti\IdeaProjects\TogetUp_Server\build\classes\java\main started by anyti in C:\Users\anyti\IdeaProjects\TogetUp_Server) -15:32:54.590 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "local"]- The following 2 profiles are active: "oauth", "local" -15:33:01.027 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 6.891 seconds (JVM running for 8.835)]- Started TogetUpApplication in 6.891 seconds (JVM running for 8.835) +16:11:42.020 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 37748 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 37748 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +16:11:42.031 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +16:11:54.015 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.996 seconds (JVM running for 14.805)]- Started TogetUpApplication in 12.996 seconds (JVM running for 14.805) +16:59:37.506 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 16660 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 16660 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +16:59:37.507 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +16:59:45.927 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 8.978 seconds (JVM running for 11.336)]- Started TogetUpApplication in 8.978 seconds (JVM running for 11.336) +17:05:32.486 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 12740 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 12740 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:05:32.487 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:05:40.919 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.168 seconds (JVM running for 10.844)]- Started TogetUpApplication in 9.168 seconds (JVM running for 10.844) +17:16:59.088 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 28976 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 28976 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:16:59.090 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:17:10.787 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.419 seconds (JVM running for 13.945)]- Started TogetUpApplication in 12.419 seconds (JVM running for 13.945) +17:22:45.693 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 36116 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 36116 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:22:45.695 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:22:56.267 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 11.139 seconds (JVM running for 12.536)]- Started TogetUpApplication in 11.139 seconds (JVM running for 12.536) +17:25:17.645 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 3436 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 3436 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:25:17.647 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:25:31.730 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 14.672 seconds (JVM running for 16.27)]- Started TogetUpApplication in 14.672 seconds (JVM running for 16.27) +17:29:08.810 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 38412 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 38412 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:29:08.812 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:29:16.969 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 8.657 seconds (JVM running for 9.949)]- Started TogetUpApplication in 8.657 seconds (JVM running for 9.949) +17:33:38.441 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 4668 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 4668 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:33:38.443 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:33:50.215 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.46 seconds (JVM running for 14.132)]- Started TogetUpApplication in 12.46 seconds (JVM running for 14.132) +17:36:07.903 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 38096 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 38096 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:36:07.904 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:36:17.923 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 10.683 seconds (JVM running for 12.026)]- Started TogetUpApplication in 10.683 seconds (JVM running for 12.026) +17:54:18.855 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 31376 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 31376 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:54:18.857 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:54:27.668 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.551 seconds (JVM running for 11.283)]- Started TogetUpApplication in 9.551 seconds (JVM running for 11.283) +17:55:30.621 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 29448 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 29448 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:55:30.623 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:55:39.020 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 8.994 seconds (JVM running for 10.407)]- Started TogetUpApplication in 8.994 seconds (JVM running for 10.407) +17:59:00.352 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 9808 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 9808 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +17:59:00.353 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +17:59:09.560 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 9.83 seconds (JVM running for 11.544)]- Started TogetUpApplication in 9.83 seconds (JVM running for 11.544) +18:01:49.818 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 25980 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 25980 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +18:01:49.819 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +18:02:01.827 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.643 seconds (JVM running for 14.038)]- Started TogetUpApplication in 12.643 seconds (JVM running for 14.038) +18:02:33.138 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 20532 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 20532 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +18:02:33.140 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +18:02:41.135 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 8.555 seconds (JVM running for 9.912)]- Started TogetUpApplication in 8.555 seconds (JVM running for 9.912) +21:11:12.081 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 32528 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 32528 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:11:12.083 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:11:23.834 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.538 seconds (JVM running for 14.387)]- Started TogetUpApplication in 12.538 seconds (JVM running for 14.387) +21:12:45.151 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 32416 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 32416 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:12:45.152 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:12:58.735 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 14.28 seconds (JVM running for 16.371)]- Started TogetUpApplication in 14.28 seconds (JVM running for 16.371) +21:21:14.631 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 7544 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 7544 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:21:14.633 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:21:36.142 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 22.346 seconds (JVM running for 25.793)]- Started TogetUpApplication in 22.346 seconds (JVM running for 25.793) +21:22:23.295 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 31060 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 31060 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:22:23.297 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:22:34.989 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.418 seconds (JVM running for 14.14)]- Started TogetUpApplication in 12.418 seconds (JVM running for 14.14) +21:22:43.134 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 28240 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 28240 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:22:43.135 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:22:54.232 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 12.1 seconds (JVM running for 13.894)]- Started TogetUpApplication in 12.1 seconds (JVM running for 13.894) +21:24:18.108 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 13752 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 13752 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:24:18.110 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:24:27.775 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 10.396 seconds (JVM running for 12.396)]- Started TogetUpApplication in 10.396 seconds (JVM running for 12.396) +21:28:09.954 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 16352 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 16352 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:28:09.955 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:28:19.523 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 10.373 seconds (JVM running for 12.195)]- Started TogetUpApplication in 10.373 seconds (JVM running for 12.195) +21:29:40.943 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 19172 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 19172 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:29:40.946 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:29:50.433 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 10.302 seconds (JVM running for 12.066)]- Started TogetUpApplication in 10.302 seconds (JVM running for 12.066) +21:31:05.586 INFO [File:StartupInfoLogger.java] [Func:logStarting] [Line:55] [Message:Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 26332 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server)]- Starting TogetUpApplication using Java 11.0.16.1 on BOOK-1F2JVB7QNP with PID 26332 (C:\study\TogetUp_Server\build\classes\java\main started by ain01 in C:\study\TogetUp_Server) +21:31:05.587 INFO [File:SpringApplication.java] [Func:logStartupProfileInfo] [Line:637] [Message:The following 2 profiles are active: "oauth", "dev"]- The following 2 profiles are active: "oauth", "dev" +21:31:15.276 INFO [File:StartupInfoLogger.java] [Func:logStarted] [Line:61] [Message:Started TogetUpApplication in 10.416 seconds (JVM running for 12.169)]- Started TogetUpApplication in 10.416 seconds (JVM running for 12.169) diff --git a/logs/error.log b/logs/error.log index bed11fd5..e41e588c 100644 --- a/logs/error.log +++ b/logs/error.log @@ -1,2297 +1,9 @@ -02:02:08.255 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:417) - at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.addAll(ImmutableCollection.java:513) - at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:768) - at com.google.firebase.messaging.MulticastMessage$Builder.addAllTokens(MulticastMessage.java:129) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:21) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:02:55.812 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:417) - at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.addAll(ImmutableCollection.java:513) - at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:768) - at com.google.firebase.messaging.MulticastMessage$Builder.addAllTokens(MulticastMessage.java:129) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:21) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:04:11.400 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:15) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:07:55.896 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:15) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:09:16.109 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:10:04.077 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:14:11.744 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:15:17.925 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:18) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -02:18:18.302 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendToTokens(FirebaseService.java:16) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarm(FcmController.java:20) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:502) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:33:34.002 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement]- Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement -org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:331) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy155.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.group.GroupService.createGroup(GroupService.java:35) - at com.wakeUpTogetUp.togetUp.group.GroupService$$FastClassBySpringCGLIB$$749a63e1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.group.GroupService$$EnhancerBySpringCGLIB$$56b29c6d.createGroup() - at com.wakeUpTogetUp.togetUp.group.GroupController.create(GroupController.java:35) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.GenericJDBCException: could not execute statement - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3907) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLException: Field 'id' doesn't have a default value - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:38:54.876 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [group2.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement]- Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [group2.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement -org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [group2.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:276) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy155.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.group.GroupService.createGroup(GroupService.java:35) - at com.wakeUpTogetUp.togetUp.group.GroupService$$FastClassBySpringCGLIB$$749a63e1.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.group.GroupService$$EnhancerBySpringCGLIB$$2c124f0f.createGroup() - at com.wakeUpTogetUp.togetUp.group.GroupController.create(GroupController.java:35) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59) - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3907) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '2' for key 'group2.PRIMARY' - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:49:22.872 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement]- Unexpected exception occurred: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement -org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:331) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy156.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:46) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$f97e5fa4.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.GenericJDBCException: could not execute statement - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3914) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLException: Field 'id' doesn't have a default value - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:51:15.268 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:51:46.594 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:53:16.397 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [mappingGroupUser.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement]- Unexpected exception occurred: could not execute statement; SQL [n/a]; constraint [mappingGroupUser.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement -org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [mappingGroupUser.PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:276) - at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:233) - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) - at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) - at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:174) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) - at com.sun.proxy.$Proxy156.save(Unknown Source) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:46) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement - at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59) - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:37) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) - at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:58) - at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:43) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3914) - at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:84) - at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645) - at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282) - at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263) - at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317) - at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:329) - at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286) - at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:122) - at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) - at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) - at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) - at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) - at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:362) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:315) - at com.sun.proxy.$Proxy137.persist(Unknown Source) - at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:666) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker$RepositoryFragmentMethodInvoker.lambda$new$0(RepositoryMethodInvoker.java:289) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) - at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) - at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:530) - at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:286) - at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:640) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) - at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) - ... 113 common frames omitted -Caused by: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '3' for key 'mappingGroupUser.PRIMARY' - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) - ... 166 common frames omitted -05:53:53.844 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$1deeea5f.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -05:54:28.531 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.NullPointerException: null - at java.base/java.util.Objects.requireNonNull(Objects.java:221) - at java.base/java.util.ImmutableCollections$List12.(ImmutableCollections.java:372) - at java.base/java.util.List.of(List.java:807) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService.createGroupUser(MappingGroupUserService.java:49) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$FastClassBySpringCGLIB$$e2d66783.invoke() - at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) - at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserService$$EnhancerBySpringCGLIB$$f6145f73.createGroupUser() - at com.wakeUpTogetUp.togetUp.mappingGroupUser.MappingGroupUserController.create(MappingGroupUserController.java:38) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:00:30.971 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:69) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:04:38.861 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:71) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -06:06:18.012 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:72) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) +20:51:45.191 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: Required request part 'file' is not present]- Unexpected exception occurred: Required request part 'file' is not present +org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part 'file' is not present + at org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver.resolveArgument(RequestPartMethodArgumentResolver.java:166) + at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122) + at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:179) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:146) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) @@ -2378,15 +90,28 @@ java.lang.UnsupportedOperationException: null at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) -06:07:49.319 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded.]- Unexpected exception occurred: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded. -java.util.concurrent.ExecutionException: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded. - at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:566) - at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:547) - at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:86) - at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendAndGetResponse(FcmService.java:61) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService.sendMessageToTopic(FcmService.java:50) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService$$FastClassBySpringCGLIB$$89ca3a54.invoke() +20:52:25.324 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: 731KQC9YW6X53C3H; S3 Extended Request ID: I5lvQsvDA7RXnjpM71+doruHQW3QyizEBdO1AgRl9/2pDgCY9VV3b+xdBanPofWhPfmwsScto/Q=; Proxy: null)]- Unexpected exception occurred: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: 731KQC9YW6X53C3H; S3 Extended Request ID: I5lvQsvDA7RXnjpM71+doruHQW3QyizEBdO1AgRl9/2pDgCY9VV3b+xdBanPofWhPfmwsScto/Q=; Proxy: null) +com.amazonaws.services.s3.model.AmazonS3Exception: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: 731KQC9YW6X53C3H; S3 Extended Request ID: I5lvQsvDA7RXnjpM71+doruHQW3QyizEBdO1AgRl9/2pDgCY9VV3b+xdBanPofWhPfmwsScto/Q=; Proxy: null) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1811) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1395) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1371) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1145) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:802) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:770) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:744) + at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:704) + at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:686) + at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:550) + at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:530) + at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5062) + at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5008) + at com.amazonaws.services.s3.AmazonS3Client.access$300(AmazonS3Client.java:394) + at com.amazonaws.services.s3.AmazonS3Client$PutObjectStrategy.invokeServiceCall(AmazonS3Client.java:5950) + at com.amazonaws.services.s3.AmazonS3Client.uploadObject(AmazonS3Client.java:1812) + at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1772) + at com.wakeUpTogetUp.togetUp.file.FileService.uploadToBucket(FileService.java:96) + at com.wakeUpTogetUp.togetUp.file.FileService.uploadFile(FileService.java:44) + at com.wakeUpTogetUp.togetUp.file.FileService$$FastClassBySpringCGLIB$$4547d883.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) @@ -2397,144 +122,8 @@ java.util.concurrent.ExecutionException: com.google.firebase.messaging.FirebaseM at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) - at com.wakeUpTogetUp.togetUp.fcmNotification.FcmService$$EnhancerBySpringCGLIB$$ced25897.sendMessageToTopic() - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:63) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) -Caused by: com.google.firebase.messaging.FirebaseMessagingException: Topic quota exceeded. - at com.google.firebase.messaging.FirebaseMessagingException.withMessagingErrorCode(FirebaseMessagingException.java:51) - at com.google.firebase.messaging.FirebaseMessagingClientImpl$MessagingErrorHandler.createException(FirebaseMessagingClientImpl.java:293) - at com.google.firebase.messaging.FirebaseMessagingClientImpl$MessagingErrorHandler.createException(FirebaseMessagingClientImpl.java:282) - at com.google.firebase.internal.AbstractHttpErrorHandler.handleHttpResponseException(AbstractHttpErrorHandler.java:57) - at com.google.firebase.internal.ErrorHandlingHttpClient.send(ErrorHandlingHttpClient.java:108) - at com.google.firebase.internal.ErrorHandlingHttpClient.sendAndParse(ErrorHandlingHttpClient.java:72) - at com.google.firebase.messaging.FirebaseMessagingClientImpl.sendSingleRequest(FirebaseMessagingClientImpl.java:127) - at com.google.firebase.messaging.FirebaseMessagingClientImpl.send(FirebaseMessagingClientImpl.java:113) - at com.google.firebase.messaging.FirebaseMessaging$1.execute(FirebaseMessaging.java:137) - at com.google.firebase.messaging.FirebaseMessaging$1.execute(FirebaseMessaging.java:134) - at com.google.firebase.internal.CallableOperation.call(CallableOperation.java:36) - at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) - at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69) - at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) - ... 1 common frames omitted -Caused by: com.google.api.client.http.HttpResponseException: 429 Too Many Requests -POST https://fcm.googleapis.com/v1/projects/togetup-26b96/messages:send -{ - "error": { - "code": 429, - "message": "Topic quota exceeded.", - "status": "RESOURCE_EXHAUSTED", - "details": [ - { - "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError", - "errorCode": "QUOTA_EXCEEDED" - } - ] - } -} - - at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1116) - at com.google.firebase.internal.ErrorHandlingHttpClient.send(ErrorHandlingHttpClient.java:96) - ... 12 common frames omitted -06:11:31.847 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: null]- Unexpected exception occurred: null -java.lang.UnsupportedOperationException: null - at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) - at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:76) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService.sendMessageToGroup(NotificationService.java:69) - at com.wakeUpTogetUp.togetUp.fcmNotification.NotificationController.sendPushAlarmToGroup(FcmController.java:42) + at com.wakeUpTogetUp.togetUp.file.FileService$$EnhancerBySpringCGLIB$$802c3442.uploadFile() + at com.wakeUpTogetUp.togetUp.chat.ChatRoomController.createRoom(ChatRoomController.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) @@ -2627,94 +216,3 @@ java.lang.UnsupportedOperationException: null at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) -15:31:48.618 ERROR [File:GlobalExceptionHandler.java] [Func:handleServerException] [Line:63] [Message:Unexpected exception occurred: Request method 'POST' not supported]- Unexpected exception occurred: Request method 'POST' not supported -org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported - at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:260) - at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:442) - at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:383) - at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:125) - at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:67) - at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:498) - at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1266) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1048) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:528) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.base/java.lang.Thread.run(Thread.java:829) diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmProvider.java b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmProvider.java index 94a01539..46ed79ff 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmProvider.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmProvider.java @@ -5,8 +5,6 @@ import com.wakeUpTogetUp.togetUp.alarm.dto.response.AlarmsRes; import com.wakeUpTogetUp.togetUp.exception.BaseException; import com.wakeUpTogetUp.togetUp.common.Status; -import com.wakeUpTogetUp.togetUp.routine.RoutineProvider; -import com.wakeUpTogetUp.togetUp.routine.dto.response.RoutineRes; import com.wakeUpTogetUp.togetUp.users.UserRepository; import com.wakeUpTogetUp.togetUp.utils.mapper.EntityDtoMapper; import lombok.RequiredArgsConstructor; @@ -18,7 +16,6 @@ @Service @RequiredArgsConstructor public class AlarmProvider { - private final RoutineProvider routineProvider; private final UserRepository userRepository; private final AlarmRepository alarmRepository; @@ -56,12 +53,8 @@ public AlarmRes getAlarm(Integer alarmId) { () -> new BaseException(Status.INVALID_ALARM_ID) ); - // 루틴 리스트 가져오기 - // 하나도 존재하지 않아도 됨 - List routineResList = routineProvider.getRoutinesByAlarmId(alarmId); AlarmRes alarmRes = EntityDtoMapper.INSTANCE.toAlarmRes(alarm); - alarmRes.setRoutineResList(routineResList); return alarmRes; } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmService.java b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmService.java index 4fc3b2d4..8c89830c 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmService.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/AlarmService.java @@ -8,9 +8,6 @@ import com.wakeUpTogetUp.togetUp.common.Status; import com.wakeUpTogetUp.togetUp.mission.MissionRepository; import com.wakeUpTogetUp.togetUp.mission.model.Mission; -import com.wakeUpTogetUp.togetUp.routine.RoutineProvider; -import com.wakeUpTogetUp.togetUp.routine.RoutineService; -import com.wakeUpTogetUp.togetUp.routine.dto.request.PostRoutineReq; import com.wakeUpTogetUp.togetUp.users.UserRepository; import com.wakeUpTogetUp.togetUp.users.model.User; import com.wakeUpTogetUp.togetUp.utils.mapper.EntityDtoMapper; @@ -23,8 +20,6 @@ @Service @RequiredArgsConstructor public class AlarmService { - private final RoutineProvider routineProvider; - private final RoutineService routineService; private final AlarmRepository alarmRepository; private final UserRepository userRepository; private final MissionRepository missionRepository; @@ -67,14 +62,8 @@ public AlarmRes createAlarm(Integer userId, PostAlarmReq postAlarmReq) { Alarm alarmCreated = alarmRepository.save(alarm); AlarmRes alarmRes = EntityDtoMapper.INSTANCE.toAlarmRes(alarmCreated); - // 루틴 리스트가 있으면 - if(!Objects.isNull(postAlarmReq.getRoutineList())) { - // 루틴 리스트 생성 - for(PostRoutineReq routineReq : postAlarmReq.getRoutineList()) { - routineService.createRoutine(routineReq, alarmCreated); - } - alarmRes.setRoutineResList(routineProvider.getRoutinesByAlarmId(alarmCreated.getId())); - } + + return alarmRes; } @@ -113,17 +102,7 @@ public AlarmRes updateAlarm(Integer userId, Integer alarmId, PatchAlarmReq patch Alarm alarmModified = alarmRepository.save(alarm); AlarmRes alarmRes = EntityDtoMapper.INSTANCE.toAlarmRes(alarmModified); - // 연관 루틴 삭제 - routineService.deleteRoutinesByAlarmId(alarmId); - - // 루틴 리스트 재생성 - if(!Objects.isNull(patchAlarmReq.getRoutineList())) { - // 루틴 리스트 생성 - for(PostRoutineReq routineReq : patchAlarmReq.getRoutineList()) { - routineService.createRoutine(routineReq, alarmModified); - } - alarmRes.setRoutineResList(routineProvider.getRoutinesByAlarmId(alarmModified.getId())); - } + return alarmRes; } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PatchAlarmReq.java b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PatchAlarmReq.java index c0176865..b4e092a2 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PatchAlarmReq.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PatchAlarmReq.java @@ -1,6 +1,5 @@ package com.wakeUpTogetUp.togetUp.alarm.dto.request; -import com.wakeUpTogetUp.togetUp.routine.dto.request.PostRoutineReq; import lombok.*; import java.sql.Time; @@ -28,5 +27,4 @@ public class PatchAlarmReq { private Boolean friday; private Boolean saturday; private Boolean sunday; - private List routineList; } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PostAlarmReq.java b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PostAlarmReq.java index fded6cf6..978c8130 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PostAlarmReq.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/request/PostAlarmReq.java @@ -1,6 +1,5 @@ package com.wakeUpTogetUp.togetUp.alarm.dto.request; -import com.wakeUpTogetUp.togetUp.routine.dto.request.PostRoutineReq; import lombok.*; import javax.validation.constraints.NotBlank; @@ -34,5 +33,4 @@ public class PostAlarmReq { private Boolean friday; private Boolean saturday; private Boolean sunday; - private List routineList; // 알람에 등록할 루틴 리스트 } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/response/AlarmRes.java b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/response/AlarmRes.java index a57984d2..b575f06c 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/response/AlarmRes.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/dto/response/AlarmRes.java @@ -1,6 +1,6 @@ package com.wakeUpTogetUp.togetUp.alarm.dto.response; -import com.wakeUpTogetUp.togetUp.routine.dto.response.RoutineRes; + import lombok.*; import java.util.List; @@ -30,5 +30,4 @@ public class AlarmRes { private Boolean saturday; private Boolean sunday; private Boolean isActivated; - private List routineResList; } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/model/Alarm.java b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/model/Alarm.java index 9ddefd5d..b62fe849 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/alarm/model/Alarm.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/alarm/model/Alarm.java @@ -62,10 +62,13 @@ public void modifyProperties(Mission mission, String name, String icon, String s } @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(columnDefinition = "INT UNSIGNED") private Integer id; + @ManyToOne(fetch = FetchType.LAZY) - @JoinColumn(name = "userId") + @JoinColumn(name = "userId",columnDefinition = "INT UNSIGNED") private User user; + @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "missionId") private Mission mission; diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/avatar/model/Avatar.java b/src/main/java/com/wakeUpTogetUp/togetUp/avatar/model/Avatar.java index e4f2c0aa..c96b042a 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/avatar/model/Avatar.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/avatar/model/Avatar.java @@ -19,20 +19,9 @@ public class Avatar { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(columnDefinition = "INT UNSIGNED") private Integer id = null; -// @Column(name = "avatarPicLink",columnDefinition = "TEXT") -// private String avatarPicLink; - - @Column(name = "hair",length = 30) - private String hair; - @Column(name = "top",length = 30) - private String top; - - @Column(name = "bottom",length = 30) - private String bottom; - @Column(name = "effect",length = 30) - private String effect; @Column(name = "createdAt") private Timestamp createdAt; @@ -42,12 +31,10 @@ public class Avatar { @OneToOne - @JoinColumn(name = "userId") + @JoinColumn(name = "userId",columnDefinition = "INT UNSIGNED") private User user; - @Column(name="isActivated",columnDefinition = "TINYINT", length=1) - @ColumnDefault("1") - private int isActivated; + @PrePersist void createdAt() { diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatController.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatController.java deleted file mode 100644 index ca9e7ad5..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatController.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - -import com.wakeUpTogetUp.togetUp.chat.model.ChatMessage; -import com.wakeUpTogetUp.togetUp.chat.ChatRoomRepository; -import com.wakeUpTogetUp.togetUp.chat.ChatService; -import com.wakeUpTogetUp.togetUp.chat.JwtTokenProvider; -import com.wakeUpTogetUp.togetUp.fcmNotification.FcmService; -import com.wakeUpTogetUp.togetUp.fcmNotification.NotificationService; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.springframework.messaging.handler.annotation.Header; -import org.springframework.messaging.handler.annotation.MessageMapping; -import org.springframework.stereotype.Controller; - -@Slf4j -@RequiredArgsConstructor -@Controller -public class ChatController { - - private final JwtTokenProvider jwtTokenProvider; - private final ChatRoomRepository chatRoomRepository; - private final ChatService chatService; - - /** - * websocket "/pub/chat/message"로 들어오는 메시징을 처리한다. - */ - @MessageMapping("/chat/message") - public void message(ChatMessage message, @Header("token") String token) { - //TODO : jwt - // String nickname = "혜민";//jwtTokenProvider.getUserNameFromJwt(token); - - // 로그인 회원 정보로 대화명 설정 - //message.setSender(nick); - // 채팅방 인원수 세팅 - message.setUserCount(chatRoomRepository.getUserCount(message.getRoomId())); - // Websocket에 발행된 메시지를 redis로 발행(publish) - chatService.sendChatMessage(message); - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomController.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomController.java deleted file mode 100644 index db6eb9ac..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomController.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - -import com.wakeUpTogetUp.togetUp.chat.dto.request.PostChatRoomReq; -import com.wakeUpTogetUp.togetUp.chat.model.ChatRoom; -import com.wakeUpTogetUp.togetUp.chat.model.LoginInfo; -import com.wakeUpTogetUp.togetUp.common.Status; -import com.wakeUpTogetUp.togetUp.common.dto.BaseResponse; -import com.wakeUpTogetUp.togetUp.file.FileService; -import com.wakeUpTogetUp.togetUp.group.dto.response.GroupRes; -import lombok.RequiredArgsConstructor; -import org.springframework.http.HttpStatus; -import org.springframework.stereotype.Controller; -import org.springframework.ui.Model; -import org.springframework.web.bind.annotation.*; -import org.springframework.web.multipart.MultipartFile; - -import java.util.List; -import com.wakeUpTogetUp.togetUp.common.dto.BaseResponse; -@RequiredArgsConstructor -@Controller -@RequestMapping("/app/chat") -public class ChatRoomController { - - private final ChatRoomRepository chatRoomRepository; - private final JwtTokenProvider jwtTokenProvider; - private final ChatRoomRepository2 chatRoomRepository2; - private final FileService fileService; - @GetMapping("/room") - public String rooms() { - - return "chat/room"; - } - - @GetMapping("/rooms") - @ResponseBody - public List room() { - List chatRooms = chatRoomRepository.findAllRoom(); - chatRooms.stream().forEach(room -> room.setUserCount(chatRoomRepository.getUserCount(room.getRoomId()))); - - return chatRooms; - } - - /** - * - * @param postChatRoomReq - * @return - * @throws Exception - */ - @PostMapping("/room") - @ResponseBody - @ResponseStatus(HttpStatus.CREATED) - public BaseResponse> createRoom(@RequestPart("dto") PostChatRoomReq postChatRoomReq,@RequestPart("file")MultipartFile file) throws Exception { - String filePath = fileService.uploadFile(file, "group"); - ChatRoom chatRoom= chatRoomRepository.createChatRoom(postChatRoomReq); - chatRoom.setGroupProfileImgLink(filePath); - return new BaseResponse(Status.SUCCESS,chatRoom);//save(chatRoom);//;createChatRoom(name); - } - - @GetMapping("/room/enter/{roomId}") - public String roomDetail(Model model, @PathVariable String roomId) { - model.addAttribute("roomId", roomId); - System.out.println(roomId+"roodId"); - - return "chat/roomdetail"; - } - - @GetMapping("/room/{roomId}") - @ResponseBody - public ChatRoom roomInfo(@PathVariable String roomId) { - return chatRoomRepository.findRoomById(roomId); - } - - @GetMapping("/user") - @ResponseBody - public LoginInfo getUserInfo() { - // Authentication auth = SecurityContextHolder.getContext().getAuthentication(); - String name = "혜민";//auth.getName(); - System.out.println(name+"name"); - return LoginInfo.builder().name(name).token(jwtTokenProvider.generateToken(name)).build(); - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomRepository.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomRepository.java deleted file mode 100644 index f116a5af..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomRepository.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - -import com.wakeUpTogetUp.togetUp.chat.dto.request.PostChatRoomReq; -import com.wakeUpTogetUp.togetUp.chat.model.ChatRoom; -import lombok.RequiredArgsConstructor; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.HashOperations; -import org.springframework.data.redis.core.ValueOperations; -import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; -import java.util.List; -import java.util.Optional; - -@RequiredArgsConstructor -@Service -public class ChatRoomRepository { - // Redis CacheKeys - private static final String CHAT_ROOMS = "CHAT_ROOM"; // 채팅룸 저장 - public static final String USER_COUNT = "USER_COUNT"; // 채팅룸에 입장한 클라이언트수 저장 - public static final String ENTER_INFO = "ENTER_INFO"; // 채팅룸에 입장한 클라이언트의 sessionId와 채팅룸 id를 맵핑한 정보 저장 - @Autowired - private BCryptPasswordEncoder bCryptPasswordEncoder; - - @Resource(name = "redisTemplate") - private HashOperations hashOpsChatRoom; - @Resource(name = "redisTemplate") - private HashOperations hashOpsEnterInfo; - @Resource(name = "redisTemplate") - private ValueOperations valueOps; - - // 모든 채팅방 조회 - public List findAllRoom() { - return hashOpsChatRoom.values(CHAT_ROOMS); - } - - // 특정 채팅방 조회 - public ChatRoom findRoomById(String id) { - return hashOpsChatRoom.get(CHAT_ROOMS, id); - } - - // 채팅방 생성 : 서버간 채팅방 공유를 위해 redis hash에 저장한다. - public ChatRoom createChatRoom(PostChatRoomReq postChatRoomReq) { - - postChatRoomReq.setPassword(bCryptPasswordEncoder.encode(postChatRoomReq.getPassword())); - ChatRoom chatRoom = ChatRoom.create(postChatRoomReq.getName(),postChatRoomReq.getIntro(),postChatRoomReq.getPassword()); - hashOpsChatRoom.put(CHAT_ROOMS, chatRoom.getRoomId(), chatRoom); - return chatRoom; - } - - // 유저가 입장한 채팅방ID와 유저 세션ID 맵핑 정보 저장 - public void setUserEnterInfo(String sessionId, String roomId) { - hashOpsEnterInfo.put(ENTER_INFO, sessionId, roomId); - } - - // 유저 세션으로 입장해 있는 채팅방 ID 조회 - public String getUserEnterRoomId(String sessionId) { - return hashOpsEnterInfo.get(ENTER_INFO, sessionId); - } - - // 유저 세션정보와 맵핑된 채팅방ID 삭제 - public void removeUserEnterInfo(String sessionId) { - hashOpsEnterInfo.delete(ENTER_INFO, sessionId); - } - - // 채팅방 유저수 조회 - public long getUserCount(String roomId) { - return Long.valueOf(Optional.ofNullable(valueOps.get(USER_COUNT + "_" + roomId)).orElse("0")); - } - - // 채팅방에 입장한 유저수 +1 - public long plusUserCount(String roomId) { - return Optional.ofNullable(valueOps.increment(USER_COUNT + "_" + roomId)).orElse(0L); - } - - // 채팅방에 입장한 유저수 -1 - public long minusUserCount(String roomId) { - return Optional.ofNullable(valueOps.decrement(USER_COUNT + "_" + roomId)).filter(count -> count > 0).orElse(0L); - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomRepository2.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomRepository2.java deleted file mode 100644 index 10e00f7b..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatRoomRepository2.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - -import com.wakeUpTogetUp.togetUp.chat.model.ChatRoom; -import org.springframework.data.jpa.repository.JpaRepository; - -import java.util.List; - -public interface ChatRoomRepository2 extends JpaRepository { - - // List findChatRoomsByCustomer(UserIdDto customer); - //List findChatRoomsByStore(UserIdDto store); -} \ No newline at end of file diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatService.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatService.java deleted file mode 100644 index 7cc3a8f0..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/ChatService.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - -import com.wakeUpTogetUp.togetUp.chat.model.ChatMessage; -import lombok.RequiredArgsConstructor; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.listener.ChannelTopic; -import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; -import org.springframework.stereotype.Service; - -@RequiredArgsConstructor -@Service -public class ChatService { - - private final ChannelTopic channelTopic; - private final RedisTemplate redisTemplate; - private final ChatRoomRepository chatRoomRepository; - private BCryptPasswordEncoder bCryptPasswordEncoder; - - /** - * destination정보에서 roomId 추출 - */ - public String getRoomId(String destination) { - int lastIndex = destination.lastIndexOf('/'); - if (lastIndex != -1) - return destination.substring(lastIndex + 1); - else - return ""; - } - - /** - * 채팅방에 메시지 발송 - */ - public void sendChatMessage(ChatMessage chatMessage) { - chatMessage.setUserCount(chatRoomRepository.getUserCount(chatMessage.getRoomId())); - if (ChatMessage.MessageType.ENTER.equals(chatMessage.getType())) { - chatMessage.setMessage(chatMessage.getSender() + "님이 방에 입장했습니다."); - chatMessage.setSender("[알림]"); - } else if (ChatMessage.MessageType.QUIT.equals(chatMessage.getType())) { - chatMessage.setMessage(chatMessage.getSender() + "님이 방에서 나갔습니다."); - chatMessage.setSender("[알림]"); - } - redisTemplate.convertAndSend(channelTopic.getTopic(), chatMessage); - } - -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/IndexController.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/IndexController.java deleted file mode 100644 index 034c9c17..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/IndexController.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; - -@Controller -public class IndexController { - @GetMapping({"","/index"}) - public String index() { - return "redirect:/chat/room"; - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/JwtTokenProvider.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/JwtTokenProvider.java deleted file mode 100644 index 65e3c753..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/JwtTokenProvider.java +++ /dev/null @@ -1,66 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat; - -import io.jsonwebtoken.*; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.stereotype.Component; - -import java.util.Date; - -@Slf4j -@Component -public class JwtTokenProvider { - - @Value("${jwt.secret-key}") - private String secretKey; - - private long tokenValidMilisecond = 1000L * 60 * 60; // 1시간만 토큰 유효 - - /** - * 이름으로 Jwt Token을 생성한다. - */ - public String generateToken(String name) { - Date now = new Date(); - return Jwts.builder() - .setId(name) - .setIssuedAt(now) // 토큰 발행일자 - .setExpiration(new Date(now.getTime() + tokenValidMilisecond)) // 유효시간 설정 - .signWith(SignatureAlgorithm.HS256, secretKey) // 암호화 알고리즘, secret값 세팅 - .compact(); - } - - /** - * Jwt Token을 복호화 하여 이름을 얻는다. - */ - public String getUserNameFromJwt(String jwt) { - return getClaims(jwt).getBody().getId(); - } - - /** - * Jwt Token의 유효성을 체크한다. - */ - public boolean validateToken(String jwt) { - return this.getClaims(jwt) != null; - } - - private Jws getClaims(String jwt) { - try { - return Jwts.parser().setSigningKey(secretKey).parseClaimsJws(jwt); - } catch (SignatureException ex) { - log.error("Invalid JWT signature"); - throw ex; - } catch (MalformedJwtException ex) { - log.error("Invalid JWT token"); - throw ex; - } catch (ExpiredJwtException ex) { - log.error("Expired JWT token"); - throw ex; - } catch (UnsupportedJwtException ex) { - log.error("Unsupported JWT token"); - throw ex; - } catch (IllegalArgumentException ex) { - log.error("JWT claims string is empty."); - throw ex; - } - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/dto/request/PostChatRoomReq.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/dto/request/PostChatRoomReq.java deleted file mode 100644 index 399742df..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/dto/request/PostChatRoomReq.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat.dto.request; - - - -import lombok.*; - - -@Getter -@Setter -@NoArgsConstructor -@AllArgsConstructor -@Builder -@Data -public class PostChatRoomReq { - - private String name; - private String intro; - private String password; - -} - diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/dto/response/ChatRoomRes.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/dto/response/ChatRoomRes.java deleted file mode 100644 index a10d3db4..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/dto/response/ChatRoomRes.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat.dto.response; - -import com.wakeUpTogetUp.togetUp.file.dto.response.PostFileRes; -import lombok.*; - -import java.util.List; - -@Getter -@Setter -@Builder -@NoArgsConstructor -@AllArgsConstructor -public class ChatRoomRes { - - - private String roomId; - private String name; - private String intro; - private PostFileRes postFileRes; - private String password; - private int state; -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/ChatMessage.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/ChatMessage.java deleted file mode 100644 index f50dfcdc..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/ChatMessage.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat.model; - -import lombok.*; - -import javax.persistence.*; - -@Setter -@Getter -@Table(name="chatMessage") -@NoArgsConstructor -@Entity -public class ChatMessage { - -// public ChatMessage() { -// } - - @Builder - public ChatMessage(MessageType type, String roomId, String sender, String message, long userCount) { - this.type = type; - this.roomId = roomId; - this.sender = sender; - this.message = message; - this.userCount = userCount; - } - - // 메시지 타입 : 입장, 퇴장, 채팅 - public enum MessageType { - ENTER, QUIT, TALK,MISSION - } - - @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) - private Long id; - private MessageType type; // 메시지 타입 - private String roomId; // 방번호 - private String sender; // 메시지 보낸사람 - private String message; // 메시지 - private long userCount; // 채팅방 인원수, 채팅방 내에서 메시지가 전달될때 인원수 갱신시 사용 - -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/ChatRoom.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/ChatRoom.java deleted file mode 100644 index da33d540..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/ChatRoom.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat.model; - -import com.wakeUpTogetUp.togetUp.file.dto.response.PostFileRes; -import lombok.Getter; -import lombok.Setter; - -import javax.persistence.*; -import java.io.Serializable; -import java.util.UUID; - -@Getter -@Setter -@Entity -public class ChatRoom implements Serializable { - - private static final long serialVersionUID = 6494678977089006639L; - @Id -// @GeneratedValue(strategy = GenerationType.IDENTITY) -// @Column(name = "id") - private String roomId; - private String name; - private String intro; - private String password; - private long userCount; // 채팅방 인원수 - private String groupProfileImgLink; - - - public static ChatRoom create(String name,String intro,String password) { - ChatRoom chatRoom = new ChatRoom(); - chatRoom.roomId = UUID.randomUUID().toString(); - chatRoom.name = name; - chatRoom.intro=intro; - chatRoom.password=password; - return chatRoom; - } - -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/LoginInfo.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/LoginInfo.java deleted file mode 100644 index ea249eca..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/model/LoginInfo.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat.model; - -import lombok.Builder; -import lombok.Getter; - -@Getter -public class LoginInfo { - private String name; - private String token; - - @Builder - public LoginInfo(String name, String token) { - this.name = name; - this.token = token; - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/chat/pubsub/RedisSubscriber.java b/src/main/java/com/wakeUpTogetUp/togetUp/chat/pubsub/RedisSubscriber.java deleted file mode 100644 index 296e8ef5..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/chat/pubsub/RedisSubscriber.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.wakeUpTogetUp.togetUp.chat.pubsub; - -import com.fasterxml.jackson.databind.ObjectMapper; -import com.wakeUpTogetUp.togetUp.chat.model.ChatMessage; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.springframework.messaging.simp.SimpMessageSendingOperations; -import org.springframework.stereotype.Service; - -@Slf4j -@RequiredArgsConstructor -@Service -public class RedisSubscriber { - - private final ObjectMapper objectMapper; - private final SimpMessageSendingOperations messagingTemplate; - - /** - * Redis에서 메시지가 발행(publish)되면 대기하고 있던 Redis Subscriber가 해당 메시지를 받아 처리한다. - */ - public void sendMessage(String publishMessage) { - try { - // ChatMessage 객채로 맵핑 - ChatMessage chatMessage = objectMapper.readValue(publishMessage, ChatMessage.class); - // 채팅방을 구독한 클라이언트에게 메시지 발송 - - messagingTemplate.convertAndSend("/sub/chat/room/" + chatMessage.getRoomId(), chatMessage); - } catch (Exception e) { - log.error("Exception {}", e); - } - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/config/EmbeddedRedisConfig.java b/src/main/java/com/wakeUpTogetUp/togetUp/config/EmbeddedRedisConfig.java deleted file mode 100644 index b9431f94..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/config/EmbeddedRedisConfig.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.wakeUpTogetUp.togetUp.config; - -import org.springframework.beans.factory.annotation.Value; -import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.Profile; -import redis.embedded.RedisServer; - -import javax.annotation.PostConstruct; -import javax.annotation.PreDestroy; - -/** - * 로컬 환경일경우 내장 레디스가 실행된다. - */ -@Profile("local") -@Configuration -public class EmbeddedRedisConfig { - - @Value("${spring.redis.port}") - private int redisPort; - - private RedisServer redisServer; - - @PostConstruct - public void redisServer() { - redisServer = new RedisServer(redisPort); - redisServer.start(); - } - - @PreDestroy - public void stopRedis() { - if (redisServer != null) { - redisServer.stop(); - } - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/config/RedisConfig.java b/src/main/java/com/wakeUpTogetUp/togetUp/config/RedisConfig.java deleted file mode 100644 index 3720d8cc..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/config/RedisConfig.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.wakeUpTogetUp.togetUp.config; - -import com.wakeUpTogetUp.togetUp.chat.pubsub.RedisSubscriber; -import lombok.RequiredArgsConstructor; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.data.redis.connection.RedisConnectionFactory; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.listener.ChannelTopic; -import org.springframework.data.redis.listener.RedisMessageListenerContainer; -import org.springframework.data.redis.listener.adapter.MessageListenerAdapter; -import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer; -import org.springframework.data.redis.serializer.StringRedisSerializer; - -@RequiredArgsConstructor -@Configuration -public class RedisConfig { - - /** - * 단일 Topic 사용을 위한 Bean 설정 - */ - @Bean - public ChannelTopic channelTopic() { - return new ChannelTopic("chatroom"); - } - - /** - * redis에 발행(publish)된 메시지 처리를 위한 리스너 설정 - */ - @Bean - public RedisMessageListenerContainer redisMessageListener(RedisConnectionFactory connectionFactory, - MessageListenerAdapter listenerAdapter, - ChannelTopic channelTopic) { - RedisMessageListenerContainer container = new RedisMessageListenerContainer(); - container.setConnectionFactory(connectionFactory); - container.addMessageListener(listenerAdapter, channelTopic); - return container; - } - - /** - * 실제 메시지를 처리하는 subscriber 설정 추가 - */ - @Bean - public MessageListenerAdapter listenerAdapter(RedisSubscriber subscriber) { - return new MessageListenerAdapter(subscriber, "sendMessage"); - } - - /** - * 어플리케이션에서 사용할 redisTemplate 설정 - */ - @Bean - public RedisTemplate redisTemplate(RedisConnectionFactory connectionFactory) { - RedisTemplate redisTemplate = new RedisTemplate<>(); - redisTemplate.setConnectionFactory(connectionFactory); - redisTemplate.setKeySerializer(new StringRedisSerializer()); - redisTemplate.setValueSerializer(new Jackson2JsonRedisSerializer<>(String.class)); - return redisTemplate; - } -} \ No newline at end of file diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/config/WebSockConfig.java b/src/main/java/com/wakeUpTogetUp/togetUp/config/WebSockConfig.java deleted file mode 100644 index 34f524bc..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/config/WebSockConfig.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.wakeUpTogetUp.togetUp.config; - -import com.wakeUpTogetUp.togetUp.config.interceptor.StompHandler; -import lombok.RequiredArgsConstructor; -import org.springframework.context.annotation.Configuration; -import org.springframework.messaging.simp.config.ChannelRegistration; -import org.springframework.messaging.simp.config.MessageBrokerRegistry; -import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; -import org.springframework.web.socket.config.annotation.StompEndpointRegistry; -import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer; - -@RequiredArgsConstructor -@Configuration -@EnableWebSocketMessageBroker -public class WebSockConfig implements WebSocketMessageBrokerConfigurer { - - private final StompHandler stompHandler; - - //메시지 브로커에 관련된 설정을 한다 - @Override - public void configureMessageBroker(MessageBrokerRegistry config) { - config.enableSimpleBroker("/sub");//구독 요청 prefix - config.setApplicationDestinationPrefixes("/pub");//발행 prefix - } -//SockJs Fallback을 이용해 노출할 STOMP endpoint를 설정 - @Override - public void registerStompEndpoints(StompEndpointRegistry registry) { - registry.addEndpoint("/ws-stomp").setAllowedOriginPatterns("*")//setAllowedOrigins("*") - .withSockJS(); // sock.js를 통하여 낮은 버전의 브라우저에서도 websocket이 동작할수 있게 합니다. - } - - @Override - public void configureClientInboundChannel(ChannelRegistration registration) { - registration.interceptors(stompHandler); - } -} \ No newline at end of file diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/config/interceptor/StompHandler.java b/src/main/java/com/wakeUpTogetUp/togetUp/config/interceptor/StompHandler.java deleted file mode 100644 index b048ada9..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/config/interceptor/StompHandler.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.wakeUpTogetUp.togetUp.config.interceptor; - -import com.wakeUpTogetUp.togetUp.chat.model.ChatMessage; -import com.wakeUpTogetUp.togetUp.chat.ChatRoomRepository; -import com.wakeUpTogetUp.togetUp.chat.ChatService; -import com.wakeUpTogetUp.togetUp.chat.JwtTokenProvider; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.springframework.messaging.Message; -import org.springframework.messaging.MessageChannel; -import org.springframework.messaging.simp.stomp.StompCommand; -import org.springframework.messaging.simp.stomp.StompHeaderAccessor; -import org.springframework.messaging.support.ChannelInterceptor; -import org.springframework.stereotype.Component; - -import java.security.Principal; -import java.util.Optional; - -@Slf4j -@RequiredArgsConstructor -@Component -public class StompHandler implements ChannelInterceptor { - - private final JwtTokenProvider jwtTokenProvider; - private final ChatRoomRepository chatRoomRepository; - private final ChatService chatService; - - // websocket을 통해 들어온 요청이 처리 되기전 실행된다. - @Override - public Message preSend(Message message, MessageChannel channel) { - StompHeaderAccessor accessor = StompHeaderAccessor.wrap(message); - if (StompCommand.CONNECT == accessor.getCommand()) { // websocket 연결요청 - // String jwtToken = accessor.getFirstNativeHeader("token"); - - // log.info("CONNECT {}", jwtToken); - // Header의 jwt token 검증 - // jwtTokenProvider.validateToken(jwtToken); - } else if (StompCommand.SUBSCRIBE == accessor.getCommand()) { // 채팅룸 구독요청 - - // header정보에서 구독 destination정보를 얻고, roomId를 추출한다. - String roomId = chatService.getRoomId(Optional.ofNullable((String) message.getHeaders().get("simpDestination")).orElse("InvalidRoomId")); - System.out.println("roomId "+roomId); - // 채팅방에 들어온 클라이언트 sessionId를 roomId와 맵핑해 놓는다.(나중에 특정 세션이 어떤 채팅방에 들어가 있는지 알기 위함) - String sessionId = (String) message.getHeaders().get("simpSessionId"); - System.out.println("sessionId "+sessionId); - chatRoomRepository.setUserEnterInfo(sessionId, roomId); - // 채팅방의 인원수를 +1한다. - chatRoomRepository.plusUserCount(roomId); - // 클라이언트 입장 메시지를 채팅방에 발송한다.(redis publish) - String name = Optional.ofNullable((Principal) message.getHeaders().get("simpUser")).map(Principal::getName).orElse("UnknownUser"); - chatService.sendChatMessage(ChatMessage.builder().type(ChatMessage.MessageType.ENTER).roomId(roomId).sender(name).build()); - log.info("SUBSCRIBED {}, {}", name, roomId); - } else if (StompCommand.DISCONNECT == accessor.getCommand()) { // Websocket 연결 종료 - - // 연결이 종료된 클라이언트 sesssionId로 채팅방 id를 얻는다. - String sessionId = (String) message.getHeaders().get("simpSessionId"); - String roomId = chatRoomRepository.getUserEnterRoomId(sessionId); - // 채팅방의 인원수를 -1한다. - chatRoomRepository.minusUserCount(roomId); - // 클라이언트 퇴장 메시지를 채팅방에 발송한다.(redis publish) - String name = Optional.ofNullable((Principal) message.getHeaders().get("simpUser")).map(Principal::getName).orElse("UnknownUser"); - chatService.sendChatMessage(ChatMessage.builder().type(ChatMessage.MessageType.QUIT).roomId(roomId).sender(name).build()); - // 퇴장한 클라이언트의 roomId 맵핑 정보를 삭제한다. - chatRoomRepository.removeUserEnterInfo(sessionId); - log.info("DISCONNECTED {}, {}", sessionId, roomId); - } - return message; - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/fcmNotification/entity/PushLog.java b/src/main/java/com/wakeUpTogetUp/togetUp/fcmNotification/entity/PushLog.java index 44dcd603..13d8aa49 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/fcmNotification/entity/PushLog.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/fcmNotification/entity/PushLog.java @@ -30,6 +30,7 @@ void prePersist() { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column( columnDefinition = "INT UNSIGNED") private Integer id; private String title; @@ -38,6 +39,6 @@ void prePersist() { private String sendAt; @ManyToOne(fetch = FetchType.LAZY) - @JoinColumn(name = "receiverId", columnDefinition = "int unsigned") + @JoinColumn(name = "receiverId",columnDefinition = "INT UNSIGNED") private User receiver; } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/group/GroupService.java b/src/main/java/com/wakeUpTogetUp/togetUp/group/GroupService.java index 9913c0a3..b50aef32 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/group/GroupService.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/group/GroupService.java @@ -29,7 +29,7 @@ public class GroupService { @Transactional public Integer createGroup(GroupReq dto){ - dto.setPassword(bCryptPasswordEncoder.encode(dto.getPassword())); + // dto.setPassword(bCryptPasswordEncoder.encode(dto.getPassword())); String topic = UUID.randomUUID().toString(); Group group =dto.toEntity(topic); groupRepository.save(group); diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/group/dto/request/GroupReq.java b/src/main/java/com/wakeUpTogetUp/togetUp/group/dto/request/GroupReq.java index 61b0221e..66898193 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/group/dto/request/GroupReq.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/group/dto/request/GroupReq.java @@ -18,14 +18,13 @@ public class GroupReq { private String name; private String intro; private String groupProfileImgLink; - private String password; + public Group toEntity(String topic){ return Group.builder() .id(id) .name(name) - .password(password) .intro(intro) .groupProfileImgLink(groupProfileImgLink) .topic(topic) diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/group/model/Group.java b/src/main/java/com/wakeUpTogetUp/togetUp/group/model/Group.java index 006bc9ba..846d5965 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/group/model/Group.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/group/model/Group.java @@ -22,30 +22,39 @@ public class Group { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column( columnDefinition = "INT UNSIGNED") private Integer id=null; @Column(name = "name",length = 20) private String name; - @Column(name = "password") - private String password; @Column(name = "intro",length = 50) - @ColumnDefault("'기상 단체 채팅방입니다!'") + @ColumnDefault("'ToGetup 그룹방입니다.'") private String intro; + @Column(name ="groupMission",length = 30) + private String groupMission; + @Column(name = "groupProfileImgLink",columnDefinition = "TEXT") private String groupProfileImgLink; - private String topic; - + private String topic; + /** + * todo uuid + */ + @Column(name = "invitationCode",length = 50) + private String invitationCode; @OneToMany(mappedBy = "group",cascade = CascadeType.ALL) private List mappingGroupUsers= new ArrayList<>(); + /** + * 어디다 쓰는거였지 + */ @Column(name="state",columnDefinition = "TINYINT", length=1) @ColumnDefault("1") private int state; @@ -65,20 +74,29 @@ void updatedAt() { this.updatedAt = Timestamp.from(Instant.now()); } - - @Builder - public Group(Integer id, String name, String password,String intro,String groupProfileImgLink, String topic) { - + public Group(Integer id, String name, String intro, String groupMission, String topic, String invitationCode,String groupProfileImgLink) { this.id = id; - this.name=name; - this.password=password; + this.name = name; this.intro = intro; - this.groupProfileImgLink = groupProfileImgLink; + this.groupMission = groupMission; this.topic = topic; - + this.invitationCode = invitationCode; + this.groupProfileImgLink=groupProfileImgLink; } +// @Builder +// public Group(Integer id, String name,String intro,String groupProfileImgLink, String topic) { +// +// this.id = id; +// this.name=name; +// +// this.intro = intro; +// this.groupProfileImgLink = groupProfileImgLink; +// this.topic = topic; +// +// } + } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/mappingGroupUser/model/MappingGroupUser.java b/src/main/java/com/wakeUpTogetUp/togetUp/mappingGroupUser/model/MappingGroupUser.java index 1860e6aa..21dc39bf 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/mappingGroupUser/model/MappingGroupUser.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/mappingGroupUser/model/MappingGroupUser.java @@ -20,6 +20,7 @@ public class MappingGroupUser { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column( columnDefinition = "INT UNSIGNED") private Integer id = null; diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/Mission.java b/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/Mission.java index f2e96417..8c5a7081 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/Mission.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/Mission.java @@ -25,6 +25,7 @@ public Mission(String name, String object) { } @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(columnDefinition = "INT UNSIGNED") private int id; private String name; private String object; diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/MissionCompleteLog.java b/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/MissionCompleteLog.java index 52589c01..80ffc01c 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/MissionCompleteLog.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/mission/model/MissionCompleteLog.java @@ -36,6 +36,7 @@ public MissionCompleteLog(String type, String title, String picLink, User user, @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(columnDefinition = "INT UNSIGNED") private Integer id; // TODO : ENUM 처리하기 private String type; diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineController.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineController.java deleted file mode 100644 index 2e94a7bf..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineController.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine; - -import com.wakeUpTogetUp.togetUp.common.dto.BaseResponse; -import com.wakeUpTogetUp.togetUp.common.Status; -import com.wakeUpTogetUp.togetUp.routine.dto.response.RoutineRes; -import com.wakeUpTogetUp.togetUp.utils.JwtService; -import lombok.RequiredArgsConstructor; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -@RestController -@RequestMapping("/app/routine") -@RequiredArgsConstructor -public class RoutineController { - private final RoutineService routineService; - private final RoutineProvider routineProvider; - private final JwtService jwtService; - - /** - * 루틴 1개 가져오기 - * @param routineId - * @return - */ - @GetMapping("/{routineId}") - public BaseResponse getRoutine( - @PathVariable("routineId") Integer routineId - ) { - return new BaseResponse<>(Status.SUCCESS, routineProvider.getRoutine(routineId)); - } - - /** - * alarmId로 루틴 목록 가져오기 - * @param alarmId - * @return - */ - @GetMapping("") - public BaseResponse> getRoutinesByUserId(@RequestParam("alarmId") Integer alarmId) { - return new BaseResponse<>(Status.SUCCESS, routineProvider.getRoutinesByAlarmId(alarmId)); - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineProvider.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineProvider.java deleted file mode 100644 index 584e5ba7..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineProvider.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine; - -import com.wakeUpTogetUp.togetUp.exception.BaseException; -import com.wakeUpTogetUp.togetUp.common.Status; -import com.wakeUpTogetUp.togetUp.routine.dto.response.RoutineRes; -import com.wakeUpTogetUp.togetUp.routine.model.Routine; -import com.wakeUpTogetUp.togetUp.utils.mapper.EntityDtoMapper; -import lombok.RequiredArgsConstructor; -import org.springframework.data.domain.Sort; -import org.springframework.stereotype.Service; - -import java.util.List; - -@Service -@RequiredArgsConstructor -public class RoutineProvider { - private final RoutineRepository routineRepository; - public RoutineRes getRoutine(Integer routineId) { - Routine routine = routineRepository.findById(routineId) - .orElseThrow( - () -> new BaseException(Status.INVALID_ROUTINE_ID) - ); - - return EntityDtoMapper.INSTANCE.toRoutineRes(routine); - } - - public List getRoutinesByAlarmId(Integer alarmId){ - List routineList = routineRepository.findAllByAlarmId(alarmId, Sort.by("routineOrder")); - - return EntityDtoMapper.INSTANCE.toRoutineResList(routineList); - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineRepository.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineRepository.java deleted file mode 100644 index 5d61ff9f..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineRepository.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine; - -import com.wakeUpTogetUp.togetUp.routine.model.Routine; -import org.springframework.data.domain.Sort; -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.data.jpa.repository.Modifying; -import org.springframework.data.jpa.repository.Query; -import org.springframework.data.repository.query.Param; -import org.springframework.stereotype.Repository; - -import java.util.List; -import java.util.Optional; - -@Repository -public interface RoutineRepository extends JpaRepository { - @Override - Optional findById(Integer id); - - @Query("SELECT r FROM Routine r WHERE r.alarm.id = :alarmId") - List findAllByAlarmId(@Param(value = "alarmId") int alarmId, Sort sort); - - @Modifying - @Query("DELETE FROM Routine r WHERE r.alarm.id = :alarmId") - void deleteAllByAlarmId(@Param(value = "alarmId") int alarmId); -} \ No newline at end of file diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineService.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineService.java deleted file mode 100644 index 9fc9f78a..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/RoutineService.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine; - -import com.wakeUpTogetUp.togetUp.alarm.model.Alarm; -import com.wakeUpTogetUp.togetUp.routine.dto.request.PostRoutineReq; -import com.wakeUpTogetUp.togetUp.routine.dto.response.RoutineRes; -import com.wakeUpTogetUp.togetUp.routine.model.Routine; -import com.wakeUpTogetUp.togetUp.utils.mapper.EntityDtoMapper; -import lombok.RequiredArgsConstructor; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -@Service -@RequiredArgsConstructor -public class RoutineService { - private final RoutineRepository routineRepository; - - // 루틴 생성 - @Transactional - public RoutineRes createRoutine(PostRoutineReq postRoutineReq, Alarm alarmCreated) { - Routine routine = Routine.builder() - .alarm(alarmCreated) -// .color(postRoutineReq.getColor()) - .estimatedTime(postRoutineReq.getEstimatedTime()) - .icon(postRoutineReq.getIcon()) - .name(postRoutineReq.getName()) - .routineOrder(postRoutineReq.getRoutineOrder()) - .build(); - routineRepository.save(routine); - - Routine routineCreated = routineRepository.save(routine); - RoutineRes postRoutineRes = EntityDtoMapper.INSTANCE.toRoutineRes(routineCreated); - - return postRoutineRes; - } - - // 알람 id로 루틴 리스트 삭제 - @Transactional - public void deleteRoutinesByAlarmId(int alarmId){ - routineRepository.deleteAllByAlarmId(alarmId); - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/dto/request/PostRoutineReq.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/dto/request/PostRoutineReq.java deleted file mode 100644 index 235621a8..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/dto/request/PostRoutineReq.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine.dto.request; - -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; - -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; - -@Getter -@Setter -@NoArgsConstructor -public class PostRoutineReq { - @NotBlank(message = "routine의 name은 공백일 수 없습니다.") - private String name; - @NotNull(message = "estimatedTime은 null일 수 없습니다.") - private Integer estimatedTime; - private String icon; -// private String color; - private Integer routineOrder; -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/dto/response/RoutineRes.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/dto/response/RoutineRes.java deleted file mode 100644 index 52af2c82..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/dto/response/RoutineRes.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine.dto.response; - -import lombok.*; - -@Getter -@Setter -@Builder -@NoArgsConstructor -@AllArgsConstructor -public class RoutineRes { - private int id; - private int alarmId; - private String name; - private int estimatedTime; - private String icon; - private String color; - private int routineOrder; -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/routine/model/Routine.java b/src/main/java/com/wakeUpTogetUp/togetUp/routine/model/Routine.java deleted file mode 100644 index 12d32078..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/routine/model/Routine.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.wakeUpTogetUp.togetUp.routine.model; - -import com.wakeUpTogetUp.togetUp.alarm.model.Alarm; -import lombok.*; -import org.hibernate.annotations.ColumnDefault; - -import javax.persistence.*; - -@Entity -@Table(name = "routine") -//@DynamicInsert -//@DynamicUpdate -@Getter -@Setter -@NoArgsConstructor -@AllArgsConstructor -public class Routine { - @PrePersist - public void prePersist() { - this.color = this.color == null ? "#E0EBFF" : this.color; - } - - @Builder - public Routine(Alarm alarm, String name, int estimatedTime, String icon, int routineOrder) { - this.alarm = alarm; - this.name = name; - this.estimatedTime = estimatedTime; - this.icon = icon; - this.routineOrder = routineOrder; - } - - @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) - private int id; - @ManyToOne(fetch = FetchType.LAZY) - @JoinColumn(name = "alarmId") - private Alarm alarm; - private String name; - private int estimatedTime; - private String icon; - @Column(name = "color") - @ColumnDefault("#E0EBFF") - private String color; - @Column(columnDefinition = "Tinyint") - private int routineOrder; -} \ No newline at end of file diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/UserController.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/UserController.java index 0eb6c30c..33d21949 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/UserController.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/users/UserController.java @@ -11,13 +11,11 @@ import com.wakeUpTogetUp.togetUp.users.dto.response.UserInfoRes; import com.wakeUpTogetUp.togetUp.users.dto.response.UserRes; import com.wakeUpTogetUp.togetUp.users.dto.response.UserTokenRes; -import com.wakeUpTogetUp.togetUp.users.oauth.GetSocialOAuthRes; -import com.wakeUpTogetUp.togetUp.users.oauth.OAuthService; import lombok.RequiredArgsConstructor; +import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; import javax.validation.Valid; -import java.io.IOException; import java.util.List; @@ -27,7 +25,6 @@ public class UserController { private final UserService userService; - private final OAuthService oAuthService; private final UserRepository userRepository; /** * 일반 회원가입 @@ -37,6 +34,7 @@ public class UserController { @NoAuth @ResponseBody @PostMapping() // + @Transactional() public BaseResponse join(@RequestBody UserReq userReq) { try { @@ -140,49 +138,10 @@ public BaseResponse deleteUser( userService.deleteUser(userId); - return new BaseResponse(Status.SUCCESS); + return new BaseResponse<>(Status.SUCCESS); } - /** - * 유저 소셜 로그인으로 리다이렉트 해주는 url - * [GET] /accounts/auth - * @return void - */ - // @NoAuth - @GetMapping("/auth/{socialLoginType}") //GOOGLE이 들어올 것이다. - @ResponseBody - public BaseResponse socialLoginRedirect(@PathVariable(name="socialLoginType") String SocialLoginPath) throws IOException { - LoginType socialLoginType= LoginType.valueOf(SocialLoginPath.toUpperCase()); - String redirectURL= oAuthService.request(socialLoginType); - - return new BaseResponse<>(Status.SUCCESS,redirectURL); - } - /** - * Social Login API Server 요청에 의한 callback 을 처리 - * @param socialLoginPath (GOOGLE, FACEBOOK, NAVER, KAKAO) - * @param code API Server 로부터 넘어오는 code - * @return SNS Login 요청 결과로 받은 Json 형태의 java 객체 (access_token, jwt_token, user_num 등) - */ - - - @ResponseBody - @GetMapping(value = "/auth/{socialLoginType}/callback") - public BaseResponse callback ( - @PathVariable(name = "socialLoginType") String socialLoginPath, - @RequestParam(name = "code") String code)throws IOException,BaseException{ - System.out.println(">> 소셜 로그인 API 서버로부터 받은 code :"+ code); - LoginType socialLoginType= LoginType.valueOf(socialLoginPath.toUpperCase()); - GetSocialOAuthRes getSocialOAuthRes=oAuthService.oAuthLogin(socialLoginType,code); - - return new BaseResponse<>(Status.SUCCESS,getSocialOAuthRes); - } - - - - - - } diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/model/User.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/model/User.java index 50d96ede..62adfc83 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/model/User.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/users/model/User.java @@ -24,6 +24,7 @@ public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(columnDefinition = "INT UNSIGNED") private Integer id = null; @Column(name = "name") diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GetSocialOAuthRes.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GetSocialOAuthRes.java deleted file mode 100644 index db54193d..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GetSocialOAuthRes.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.wakeUpTogetUp.togetUp.users.oauth; - -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.Setter; - -//클라이언트로 보낼 jwtToken, accessToken등이 담긴 객체 -@Getter -@Setter -@AllArgsConstructor -public class GetSocialOAuthRes { - - private String jwtToken; - private String user_name; - // private String accessToken; - private String tokenType; -} \ No newline at end of file diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleOAuthToken.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleOAuthToken.java deleted file mode 100644 index fea465e0..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleOAuthToken.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.wakeUpTogetUp.togetUp.users.oauth; - -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.Setter; - -//구글에 일회성 코드를 다시 보내 받아올 액세스 토큰을 포함한 JSON 문자열을 담을 클래스 -@AllArgsConstructor -@Getter -@Setter -public class GoogleOAuthToken { - private String access_token; - private int expires_in; - private String scope; - private String token_type; - private String id_token; -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleOauth.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleOauth.java deleted file mode 100644 index 971bb327..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleOauth.java +++ /dev/null @@ -1,106 +0,0 @@ -package com.wakeUpTogetUp.togetUp.users.oauth; - -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; -import lombok.RequiredArgsConstructor; -//import lombok.Value; -import org.springframework.http.*; -import org.springframework.stereotype.Component; - -import java.util.HashMap; -import java.util.Map; -import java.util.stream.Collectors; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.util.MultiValueMap; -import org.springframework.web.client.RestTemplate; - -@Component -@RequiredArgsConstructor -public class GoogleOauth implements SocialOauth { - - //application-dev.yml 에서 value annotation을 통해서 값을 받아온다. - private String GOOGLE_SNS_LOGIN_URL = "https://accounts.google.com/o/oauth2/v2/auth"; - - @Value("${spring.security.oauth2.client.registration.google.client-id}") - private String GOOGLE_SNS_CLIENT_ID; - - @Value("${spring.security.oauth2.client.registration.google.redirect-uri}") - private String GOOGLE_SNS_REDIRECT_URL; - - @Value("${spring.security.oauth2.client.registration.google.client-secret}") - private String GOOGLE_SNS_CLIENT_SECRET; - - @Value("${spring.security.oauth2.client.registration.google.scope}") - private String GOOGLE_DATA_ACCESS_SCOPE; - - private final ObjectMapper objectMapper; - // private final RestTemplateConfig restTemplate; - - @Override - public String getOauthRedirectURL() { - - Map params = new HashMap<>(); - params.put("scope", GOOGLE_DATA_ACCESS_SCOPE); - - params.put("response_type", "code"); - params.put("client_id", GOOGLE_SNS_CLIENT_ID); - params.put("redirect_uri", GOOGLE_SNS_REDIRECT_URL); - - //parameter를 형식에 맞춰 구성해주는 함수 - String parameterString = params.entrySet().stream() - .map(x -> x.getKey() + "=" + x.getValue()) - .collect(Collectors.joining("&")); - String redirectURL = GOOGLE_SNS_LOGIN_URL + "?" + parameterString; - System.out.println("redirectURL = " + redirectURL); - - return redirectURL; - /* - * https://accounts.google.com/o/oauth2/v2/auth?scope=profile&response_type=code - * &client_id="할당받은 id"&redirect_uri="access token 처리") - * 로 Redirect URL을 생성하는 로직을 구성 - * */ - } - - public ResponseEntity requestAccessToken(String code) { - String GOOGLE_TOKEN_REQUEST_URL="https://oauth2.googleapis.com/token"; - RestTemplate restTemplate=new RestTemplate(); - Map params = new HashMap<>(); - params.put("code", code); - params.put("client_id", GOOGLE_SNS_CLIENT_ID); - params.put("client_secret", GOOGLE_SNS_CLIENT_SECRET); - params.put("redirect_uri", GOOGLE_SNS_REDIRECT_URL); - params.put("grant_type", "authorization_code"); - - ResponseEntity responseEntity=restTemplate.postForEntity(GOOGLE_TOKEN_REQUEST_URL, - params,String.class); - - if(responseEntity.getStatusCode()== HttpStatus.OK){ - return responseEntity; - } - return null; - } - public GoogleOAuthToken getAccessToken(ResponseEntity response) throws JsonProcessingException { - System.out.println("response.getBody() = " + response.getBody()); - GoogleOAuthToken googleOAuthToken= objectMapper.readValue(response.getBody(),GoogleOAuthToken.class); - return googleOAuthToken; - - } - public ResponseEntity requestUserInfo(GoogleOAuthToken oAuthToken) { - String GOOGLE_USERINFO_REQUEST_URL="https://www.googleapis.com/oauth2/v1/userinfo"; - - //header에 accessToken을 담는다. - HttpHeaders headers = new HttpHeaders(); - headers.add("Authorization","Bearer "+oAuthToken.getAccess_token()); - RestTemplate restTemplate=new RestTemplate(); - //HttpEntity를 하나 생성해 헤더를 담아서 restTemplate으로 구글과 통신하게 된다. - HttpEntity> request = new HttpEntity(headers); - ResponseEntity response=restTemplate.exchange(GOOGLE_USERINFO_REQUEST_URL, HttpMethod.GET,request,String.class); - System.out.println("response.getBody() = " + response.getBody()); - return response; - } - - public GoogleUser getUserInfo(ResponseEntity userInfoRes) throws JsonProcessingException{ - GoogleUser googleUser=objectMapper.readValue(userInfoRes.getBody(),GoogleUser.class); - return googleUser; - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleUser.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleUser.java deleted file mode 100644 index f772ac27..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/GoogleUser.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.wakeUpTogetUp.togetUp.users.oauth; - -import com.wakeUpTogetUp.togetUp.users.model.User; -import com.wakeUpTogetUp.togetUp.users.LoginType; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.Setter; - - -//구글(서드파티)로 액세스 토큰을 보내 받아올 구글에 등록된 사용자 정보 -@AllArgsConstructor -@Getter -@Setter -public class GoogleUser { - public String id; - public String email; - public Boolean verifiedEmail; - public String name; - public String givenName; - public String familyName; - public String picture; - public String locale; - - public User toEntity() { - return User.builder() - .username(name) - .email(email) - .loginType(LoginType.GOOGLE) - .build(); - } - // .id(id) - } - -// public GoogleUser toEntity(){ -// return User.builder() -// .username(name) -// .email(email) -// .loginType(LoginType.GOOGLE) -// .build(); -// } -// // .id(id) -//} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/OAuthService.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/OAuthService.java deleted file mode 100644 index 8b3c50e1..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/OAuthService.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.wakeUpTogetUp.togetUp.users.oauth; - -import com.wakeUpTogetUp.togetUp.users.LoginType; -import com.wakeUpTogetUp.togetUp.users.model.User; -import com.wakeUpTogetUp.togetUp.utils.JwtService; -import com.wakeUpTogetUp.togetUp.users.UserRepository; -import lombok.RequiredArgsConstructor; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.http.ResponseEntity; -import org.springframework.stereotype.Service; -import javax.servlet.http.HttpServletResponse; -import java.io.IOException; - -//import static com.wakeUpTogetUp.togetUp.users.oauth.ProviderType.GOOGLE; - - - -@Service -@RequiredArgsConstructor -public class OAuthService { - private final GoogleOauth googleOauth; - private final HttpServletResponse response; - private final JwtService jwtService; - private final UserRepository userRepository; - - @Value("${jwt.secret-key}") - private String secretKey; - - @Value("${jwt.token.expired-time-ms}") - private Long expiredTimeMs; - - public String request(LoginType socialLoginType) throws IOException { - String redirectURL; - switch (socialLoginType) { - case GOOGLE: { - //각 소셜 로그인을 요청하면 소셜로그인 페이지로 리다이렉트 해주는 프로세스이다. - redirectURL = googleOauth.getOauthRedirectURL(); - - } - break; - default: { - throw new IllegalArgumentException("알 수 없는 소셜 로그인 형식입니다."); - } - - } - - // response.sendRedirect(redirectURL); - return redirectURL; - } - - public GetSocialOAuthRes oAuthLogin(LoginType socialLoginType, String code) throws IOException { - - switch (socialLoginType) { - case GOOGLE: { - //구글로 일회성 코드를 보내 액세스 토큰이 담긴 응답객체를 받아옴 - ResponseEntity accessTokenResponse = googleOauth.requestAccessToken(code); - //응답 객체가 JSON형식으로 되어 있으므로, 이를 deserialization해서 자바 객체에 담을 것이다. - GoogleOAuthToken oAuthToken = googleOauth.getAccessToken(accessTokenResponse); - - //액세스 토큰을 다시 구글로 보내 구글에 저장된 사용자 정보가 담긴 응답 객체를 받아온다. - ResponseEntity userInfoResponse = googleOauth.requestUserInfo(oAuthToken); - //다시 JSON 형식의 응답 객체를 자바 객체로 역직렬화한다. - GoogleUser googleUser = googleOauth.getUserInfo(userInfoResponse); - - String user_email = googleUser.getEmail(); - String user_name=googleUser.getName(); - System.out.println("here4"+user_email); - - //우리 서버의 db와 대조하여 해당 user가 존재하는 지 확인한다. - int user_num= userRepository.countByEmail(user_email);//accountProvider.getUserNum(user_id); - - if(user_num!=0){ - //서버에 user가 존재하면 앞으로 회원 인가 처리를 위한 jwtToken을 발급한다. - // TODO : userId 가져와서 넣기 - String jwtToken = jwtService.generateAccessToken(9, secretKey, expiredTimeMs);//"dfdda";//jwtService.createJwt(user_num, user_id); - //액세스 토큰과 jwtToken, 이외 정보들이 담긴 자바 객체를 다시 전송한다. - - GetSocialOAuthRes getSocialOAuthRes = new GetSocialOAuthRes(jwtToken, user_name, oAuthToken.getToken_type()); - return getSocialOAuthRes; - } - else //서버에 user가 존재하지 않으면 회원가입을 한다. - { - User user =googleUser.toEntity(); - userRepository.save(user); - // TODO : 토큰 고정됨? - System.out.println("여기!"+user); - String jwtToken = "dfdda";//jwtService.createJwt(user_num, user_id); - GetSocialOAuthRes getSocialOAuthRes = new GetSocialOAuthRes(jwtToken, user_name, oAuthToken.getToken_type()); - return getSocialOAuthRes; - //throw new BaseException(BaseResponseStatus.ACCOUNT_DOESNT_EXISTS); - } - } - default: { - throw new IllegalArgumentException("알 수 없는 소셜 로그인 형식입니다."); - } - - } - } -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/SocialOauth.java b/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/SocialOauth.java deleted file mode 100644 index 6cb5615d..00000000 --- a/src/main/java/com/wakeUpTogetUp/togetUp/users/oauth/SocialOauth.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.wakeUpTogetUp.togetUp.users.oauth; - -public interface SocialOauth { - /** - * 각 소셜 로그인 페이지로 redirect할 URL build - * 사용자로부터 로그인 요청을 받아 소셜 로그인 서버 인증용 코드 요청 - */ - String getOauthRedirectURL(); -} diff --git a/src/main/java/com/wakeUpTogetUp/togetUp/utils/mapper/EntityDtoMapper.java b/src/main/java/com/wakeUpTogetUp/togetUp/utils/mapper/EntityDtoMapper.java index d2489dad..df63aafd 100644 --- a/src/main/java/com/wakeUpTogetUp/togetUp/utils/mapper/EntityDtoMapper.java +++ b/src/main/java/com/wakeUpTogetUp/togetUp/utils/mapper/EntityDtoMapper.java @@ -9,8 +9,6 @@ import com.wakeUpTogetUp.togetUp.mission.dto.response.MissionCompleteLogRes; import com.wakeUpTogetUp.togetUp.mission.model.Mission; import com.wakeUpTogetUp.togetUp.mission.model.MissionCompleteLog; -import com.wakeUpTogetUp.togetUp.routine.dto.response.RoutineRes; -import com.wakeUpTogetUp.togetUp.routine.model.Routine; import org.mapstruct.Mapping; import org.mapstruct.factory.Mappers; @@ -34,10 +32,7 @@ public interface EntityDtoMapper { List toGetMissionResList(List missionList); - // Routine - @Mapping(target = "alarmId", source = "alarm.id") - RoutineRes toRoutineRes(Routine routine); - List toRoutineResList(List routineList); + // MissionCompleteLog @Mapping(target = "userId", source = "user.id") diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 50a6c3d0..a48187ff 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,4 +1,4 @@ spring: profiles: - active: local + active: dev include: oauth \ No newline at end of file