The server encountered an unexpected condition that prevented it from fulfilling the request. 解决方法

时间:2024-03-16 10:50:15

Type Exception Report

Message 1

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.ArrayIndexOutOfBoundsException: 1
	com.blackrui.servlet.BaseServlet.spilt(BaseServlet.java:96)
	com.blackrui.servlet.BaseServlet.responseView(BaseServlet.java:70)
	com.blackrui.servlet.BaseServlet.executeOper(BaseServlet.java:59)
	com.blackrui.servlet.BaseServlet.doPost(BaseServlet.java:40)
	com.blackrui.servlet.BaseServlet.doGet(BaseServlet.java:29)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.blackrui.filter.ChangeFielter.doFilter(ChangeFielter.java:17)

Note The full stack trace of the root cause is available in the server logs.

The server encountered an unexpected condition that prevented it from fulfilling the request. 解决方法

----------------------------

出现该问题的原因是因为数组下标越界导致的,

找到报错行,顺着报错行,检查遍历数组是否过界,

不出问题的话这个步骤可以解决数组下标越界异常

The server encountered an unexpected condition that prevented it from fulfilling the request. 解决方法

The server encountered an unexpected condition that prevented it from fulfilling the request. 解决方法