HTTP Status 500 – Internal Server Error


Type Exception Report

Message java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

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

Exception

javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
	it.inera.opaclib.web.OpaclibServlet.doGet(OpaclibServlet.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:53)

Root Cause

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
	it.inera.opaclib.util.RPNHandler.<init>(RPNHandler.java:417)
	it.inera.opaclib.multirequest.ParamsHelper.loadParams(ParamsHelper.java:65)
	it.inera.opaclib.web.command.ZCommand.execute(ZCommand.java:43)
	it.inera.opaclib.web.OpaclibServlet.doGet(OpaclibServlet.java:103)
	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:53)

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


Apache Tomcat/9.0.43 (Debian)