[
https://issues.apache.org/jira/browse/OFBIZ-4969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418322#comment-13418322
]
Leon commented on OFBIZ-4969:
-----------------------------
same as this version:
https://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java?r=1337662
Just replace the line 210.
> IndexOutOfBoundsException thrown by ServerHitBin.countHit
> ---------------------------------------------------------
>
> Key: OFBIZ-4969
> URL: https://issues.apache.org/jira/browse/OFBIZ-4969
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Leon
> Priority: Trivial
> Fix For: SVN trunk
>
> Attachments: OFBIZ-4969.patch
>
>
> Never happened before, but reacently, this weird exception thrown out when
> initiated a "json" request.
> {quote}
> 229156224 [http-bio-0.0.0.0-443-exec-6138] ERROR
> org.ofbiz.webapp.control.ControlServlet -
> ---- runtime exception report
> --------------------------------------------------
> Error in request handler:
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.add(FastList.java:228)
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:210)
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:84)
> org.ofbiz.webapp.stats.ServerHitBin.countEvent(ServerHitBin.java:66)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:409)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> ......
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira