Home > Back-end >  The correct springboot session session event listener threw the exception
The correct springboot session session event listener threw the exception

Time:11-09

I learned in learning springboot interceptor a
Discovery method write parameters HttpSession session when an error
But the session is not null

When I remove parameter does not have an error,
To seek the solution
Below is the error message and the session address:
The 16:28:10 2020-11-08. 6412-372 ERROR [nio - 8080 - exec - 1] O.A.C.C.C. [Tomcat]. [localhost]. [/] : the Session event listener threw the exception

Java. Lang. AbstractMethodError: org, apache tomcat, websocket. Server WsSessionListener. SessionCreated (Ljavax/servlet/HTTP/HttpSessionEvent;) V
The at org. Apache. Catalina. Session. StandardSession. TellNew (StandardSession. Java: 387) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Session. StandardSession. SetId (StandardSession. Java: 361) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Session. StandardSession. SetId (StandardSession. Java: 342) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Session. ManagerBase. CreateSession (ManagerBase. Java: 719) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Connector. Request. DoGetSession (3043) Request. Java: [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Connector. Request. GetSession (2441) Request. Java: [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Connector. RequestFacade. GetSession (RequestFacade. Java: 908) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Connector. RequestFacade. GetSession (RequestFacade. Java: 920) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Springframework. Web. Servlet. MVC) method. The annotation. ServletRequestMethodArgumentResolver. ResolveArgument (ServletRequestMethodArgumentResolver. Java: 137) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. MVC) method. The annotation. ServletRequestMethodArgumentResolver. ResolveArgument (ServletRequestMethodArgumentResolver. Java: 122) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Method. Support. HandlerMethodArgumentResolverComposite. ResolveArgument (HandlerMethodArgumentResolverComposite. Java: 121) [spring - web - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Method. Support. InvocableHandlerMethod. GetMethodArgumentValues (InvocableHandlerMethod. Java: 167) [spring - web - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Method. Support. InvocableHandlerMethod. InvokeForRequest (InvocableHandlerMethod. Java: 134) [spring - web - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. MVC) method. The annotation. ServletInvocableHandlerMethod. InvokeAndHandle (ServletInvocableHandlerMethod. Java: 105) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. MVC) method. The annotation. RequestMappingHandlerAdapter. InvokeHandlerMethod (RequestMappingHandlerAdapter. Java: 878) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. MVC) method. The annotation. RequestMappingHandlerAdapter. HandleInternal (RequestMappingHandlerAdapter. Java: 792) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. MVC. Method. AbstractHandlerMethodAdapter. Handle (AbstractHandlerMethodAdapter. Java: 87) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 1040) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 943) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 1006) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
The at org. Springframework. Web. Servlet. FrameworkServlet. DoGet (FrameworkServlet. Java: 898) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
At javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 626) [servlet - API. The jar: na]
The at org. Springframework. Web. Servlet. FrameworkServlet. Service (FrameworkServlet. Java: 883) [spring - webmvc - 5.2.9. The jar: 5.2.9. RELEASE]
At javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 733) [servlet - API. The jar: na]
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 231) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
At org, apache tomcat, websocket server WsFilter. DoFilter (53) WsFilter. Java: [tomcat embed - websocket - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166) [tomcat embed - core - 9.0.38. Jar: 9.0.38]
The at org. Springframework. Web. Filter. RequestContextFilter. DoFilterInternal (RequestContextFilter. Java: 100) [spring - web - 5.2.9. The jar: 5.2.9. RELEASE]
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related