A long-plagued problem [description the server encountered an internal error () that prevented it from fulfilling

Source: Internet
Author: User
Tags apache tomcat

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: An exception occurred processing JSP page/index. jsp at line 53

50: Surveys = (survey) allsurvey. Get (I );
51: option = surveys. getoptions (). replaceall ("<br/> ",""). replaceall ("& nbsp ;",""). replaceall ("<p> ",""). replaceall ("</P> ","");

 

Option = surveys. getoptions (). charat (3) + ""; // after modification

52: value = surveys. getcounts ();
53: Test. adddata (option. charat (0) + "", (INT) value, "options/Values"); the reason is that the parameter exceeds the maximum limit.
54 :}
55:
56: // 3 ????????? ‰?? ± ?? € §

Stacktrace:
Org. Apache. Jasper. servlet. jspservletwrapper. handlejspexception (jspservletwrapper. Java: 510)
Org. Apache. Jasper. servlet. jspservletwrapper. Service (jspservletwrapper. Java: 419)
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)
Org. springframework. Orm. hibernate3.support. opensessioninviewfilter. dofilterinternal (opensessioninviewfilter. Java: 174)
Org. springframework. Web. Filter. onceperrequestfilter. dofilter (onceperrequestfilter. Java: 77)

Root Cause

Java. Lang. indexoutofboundsexception: Index: 1, size: 1
Java. util. arraylist. rangecheck (arraylist. Java: 547)
Java. util. arraylist. Get (arraylist. Java: 322)
Org. jfree. Data. defaultkeyedvalues2d. getvalue (defakeykeyedvalues2d. Java: 123)
Org. jfree. Data. Category. defaultcategorydataset. getvalue (defacategcategorydataset. Java: 96)
Org. jfree. Data. General. datasetutilities. iteratecategoryrangebounds (datasetutilities. Java: 817)
Org. jfree. Data. General. datasetutilities. findrangebounds (datasetutilities. Java: 744)
Org. jfree. Data. General. datasetutilities. findrangebounds (datasetutilities. Java: 720)
Org. jfree. Chart. Renderer. Category. abstractcategoryitemrenderer. findrangebounds (abstractcategoryitemrenderer. Java: 550)
Org. jfree. Chart. Plot. categoryplot. getdatarange (categoryplot. Java: 2450)
Org. jfree. Chart. axis. numberaxis. autoadjustrange (numberaxis. Java: 380)
Org. jfree. Chart. axis. numberaxis. Configure (numberaxis. Java: 363)
Org. jfree. Chart. Plot. categoryplot. datasetchanged (categoryplot. Java: 1472)
Org. jfree. Data. General. abstractdataset. policylisteners (abstractdataset. Java: 155)
Org. jfree. Data. General. abstractdataset. firedatasetchanged (abstractdataset. Java: 136)
Org. jfree. Data. Category. defaultcategorydataset. addvalue (defacategcategorydataset. Java: 184)
Org. jfree. Data. Category. defaultcategorydataset. addvalue (defacategcategorydataset. Java: 195)
Com. ygkq. usermanager. Controller. utils. drawbar. adddata (drawbar. Java: 108)
Org. Apache. jsp. index_jsp. _ jspservice (index_jsp.java: 124)
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: 377)
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)
Org. springframework. Orm. hibernate3.support. opensessioninviewfilter. dofilterinternal (opensessioninviewfilter. Java: 174)
Org. springframework. Web. Filter. onceperrequestfilter. dofilter (onceperrequestfilter. Java: 77)

Note the full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.

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

Apache Tomcat/6.0.29

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.