程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> status-系統網頁出現這報錯:HTTP Status 500,是訪問JSP頁面哪個地方出錯了或者別的?

status-系統網頁出現這報錯:HTTP Status 500,是訪問JSP頁面哪個地方出錯了或者別的?

編輯:編程綜合問答
系統網頁出現這報錯:HTTP Status 500,是訪問JSP頁面哪個地方出錯了或者別的?

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 明顯的數組越界,仔細看看。

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved