Copy codeThe Code is as follows:
Java. lang. IllegalStateException
At org. apache. catalina. connector. ResponseFacade. sendError (ResponseFacade. java: 405)
At org. apache. struts2.dispatcher. Dispatcher. sendError (Dispatcher. java: 725)
At org. apache. struts2.dispatcher. Dispatcher. serviceAction (Dispatcher. java: 488)
At org. apache. struts2.dispatcher. FilterDispatcher. doFilter (FilterDispatcher. java: 467)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 215)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 188)
At org. springframework. web. filter. CharacterEncodingFilter. doFilterInternal (CharacterEncodingFilter. java: 96)
At org. springframework. web. filter. OncePerRequestFilter. doFilter (OncePerRequestFilter. java: 75)
At org. apache. catalina. core. ApplicationFilterChain. internalDoFilter (ApplicationFilterChain. java: 215)
At org. apache. catalina. core. ApplicationFilterChain. doFilter (ApplicationFilterChain. java: 188)
At org. apache. catalina. core. StandardWrapperValve. invoke (StandardWrapperValve. java: 213)
At org. apache. catalina. core. StandardContextValve. invoke (StandardContextValve. java: 174)
At org. apache. catalina. core. StandardHostValve. invoke (StandardHostValve. java: 127)
At org. apache. catalina. valves. ErrorReportValve. invoke (ErrorReportValve. java: 117)
At org. apache. catalina. core. StandardEngineValve. invoke (StandardEngineValve. java: 108)
At org. apache. catalina. connector. CoyoteAdapter. service (CoyoteAdapter. java: 174)
At org. apache. coyote. http11.Http11Processor. process (Http11Processor. java: 874)
At org. apache. coyote. http11.Http11BaseProtocol $ Http11ConnectionHandler. processConnection (Http11BaseProtocol. java: 665)
At org.apache.tomcat.util.net. PoolTcpEndpoint. processSocket (PoolTcpEndpoint. java: 528)
At org.apache.tomcat.util.net. LeaderFollowerWorkerThread. runIt (LeaderFollowerWorkerThread. java: 81)
At org. apache. tomcat. util. threads. ThreadPool $ ControlRunnable. run (ThreadPool. java: 689)
At java. lang. Thread. run (Thread. java: 595)
The previous query indicates that the page has called the response. sendRedirect () method twice. After a return null is added, the problem is solved successfully.
Therefore, if an exception of the same type is reported during page Jump, you can use the same method to solve the problem.