HTTP Status 500 – Internal Server Error


Type Exception Report

Message java.lang.ArrayIndexOutOfBoundsException: 1

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

Exception

java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 1
	com.sw4i.commons.web.CommonFilter.reportException(CommonFilter.java:137)
	com.sw4i.commons.web.CommonFilter.doFilter(CommonFilter.java:65)

Root Cause

java.lang.ArrayIndexOutOfBoundsException: 1
	com.sw4i.platform.model.ItemPath.setPathname(ItemPath.java:130)
	com.sw4i.platform.model.ItemPath.<init>(ItemPath.java:24)
	com.sw4i.platform.model.ItemPath.findItem(ItemPath.java:171)
	com.sw4i.app.PageServlet.processRequest(PageServlet.java:67)
	com.sw4i.app.PageServlet.doGet(PageServlet.java:109)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.sw4i.commons.web.CommonFilter$1.execute(CommonFilter.java:60)
	com.sw4i.commons.web.LoginContext.withLoginContext(LoginContext.java:39)
	com.sw4i.commons.web.CommonFilter.doFilter(CommonFilter.java:57)

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


Apache Tomcat/8.5.65