Tifara Markovits wrote:
> i wrote a servlet and it compiled and worked fine. i was fine tuning
> some things and i tried to run the servlet again and i got "the server
> made a boo boo"(error 500) and in my jserv log file i got this error:
>
> [20/07/1999 11:55:18:639 EDT] java.lang.ArrayIndexOutOfBoundsException
> at LoginHandler1.doPost(Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java)
> at org.apache.jserv.JServConnection.run(JServConnection.java)
> at java.lang.Thread.run(Thread.java:466)
> ----------
> and in my mod_jserv log i got this error:
>
> [20/07/1999 15:55:18:624] (ERROR) ajp11: Servlet Error:
> java.lang.ArrayIndexOutOfBoundsException: null
> [20/07/1999 15:55:18:624] (ERROR) an error returned handling request
> via protocol "ajpv11"
>
> ----------
> does anyone know what this means? i didn't change anything major in my
> code ( i changed a variable name). i searched the faq and didn't find
> anything that helped. thanks
>
You won't find anything in the FAQ, because it's not a JServ problem.
Your LoginHandler1 servlet threw an ArrayIndexOutOfBounds exception in
it's doPost method (in other words, you used a subscript somewhere that
was outside the current length of a String or something like that).
JServ caught that exception for you (so that you would not crash the
servlet engine itself), and reported back an error. You should
investigate that code to see what happened.
Craig McClanahan
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]