libooo / lose4better

Automatically exported from code.google.com/p/lose4better
0 stars 0 forks source link

data servlet bug: java.lang.ArrayIndexOutOfBoundsException: 17 at com.broadcon.fit.DataServlet.calcChartData(DataServlet.java:209) #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
see app log: 

05-31 09:26AM 23.299 /weight/data 500 140ms 412cpu_ms 255api_cpu_ms 0kb 
www.lose4better.com Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
Trident/4.0; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
123.114.169.131 - - [31/May/2009:09:26:23 -0700] "GET /weight/data 
HTTP/1.1" 500 0 "http://www.lose4better.com/pages/weight/open-flash-
chart.swf" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
Trident/4.0; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)" "www.lose4better.com"
W 05-31 09:26AM 23.432
/weight/data
java.lang.ArrayIndexOutOfBoundsException: 17
    at com.broadcon.fit.DataServlet.calcChartData(DataServlet.java:209)
    at com.broadcon.fit.DataServlet.doGet(DataServlet.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)

Original issue reported on code.google.com by lib...@gmail.com on 31 May 2009 at 4:45

GoogleCodeExporter commented 9 years ago

Original comment by lib...@gmail.com on 31 May 2009 at 4:46

GoogleCodeExporter commented 9 years ago
the array pxs and pxy should init size to weightRecords.size()

Original comment by raven...@gmail.com on 1 Jun 2009 at 1:54