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.StringIndexOutOfBoundsException: String index out of range: -1
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1938)
java.lang.String.substring(String.java:1905)
com.fredck.FCKeditor.FCKeditor.retrieveBrowserVersion(FCKeditor.java:263)
com.fredck.FCKeditor.FCKeditor.isCompatible(FCKeditor.java:251)
com.fredck.FCKeditor.FCKeditor.create(FCKeditor.java:292)
com.fredck.FCKeditor.tags.FCKeditorTag.doAfterBody(FCKeditorTag.java:689)
org.apache.jsp.admin.news.edit_jsp._jspx_meth_FCK_005feditor_005f0(edit_jsp.java:322)
org.apache.jsp.admin.news.edit_jsp._jspService(edit_jsp.java:246)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
Apache Tomcat/6.0.13
org.apache.jasper.JasperException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 明顯的數組越界,仔細看看。