0

HTTP Status 500 -

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

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:500)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:428)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.util.ArrayList.RangeCheck(Unknown Source)
java.util.ArrayList.get(Unknown Source)
com.mhub.ocs.dataaccess.MhubuserDAO.findByProperty(MhubuserDAO.java:106)
com.mhub.ocs.dataaccess.MhubuserDAO.findByUsername(MhubuserDAO.java:125)
com.mhub.ocs.aas.DelegateLoginAuthenticator.authenticate(DelegateLoginAuthenticator.java:25)
org.apache.jsp.ServiceLoginAuth_jsp._jspService(ServiceLoginAuth_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by javaAddict
0

Read the stack trace. It tells you exactly the error. It is very basic. For someone who writes jsp shouldn't have a problem in correcting it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.