java.lang.ArrayIndexOutOfBoundsException: 60

Atlassian JIRA | Partha Kamal [Atlassian] | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Receive the following error in the logs {noformat} java.lang.ArrayIndexOutOfBoundsException: 60 at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.constructXYSeries(CalculatedBucketGraphXY.java:227) at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.<init>(CalculatedBucketGraphXY.java:67) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:175) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:146) at com.cenqua.fisheye.web.ViewRepositoryServlet.renderLineGraph(ViewRepositoryServlet.java:148) at com.cenqua.fisheye.web.ViewRepositoryServlet.doLineGraph(ViewRepositoryServlet.java:117) at com.cenqua.fisheye.web.ViewRepositoryServlet.handleDirRequest(ViewRepositoryServlet.java:83) at com.cenqua.fisheye.web.ViewRepositoryServlet.handleRequest(ViewRepositoryServlet.java:64) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:158) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:214) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) {noformat} This is due to the line: {code} while (dataPeriods[index].getEndTime() < slurpPeriod.getEndTime() && index < dataPeriods.length) { index++ } {code} where it should be {code} while (index < dataPeriods.length && dataPeriods[index].getEndTime() < slurpPeriod.getEndTime()) { index++ } {code}

    Atlassian JIRA | 9 years ago | Partha Kamal [Atlassian]
    java.lang.ArrayIndexOutOfBoundsException: 60
  2. 0

    Receive the following error in the logs {noformat} java.lang.ArrayIndexOutOfBoundsException: 60 at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.constructXYSeries(CalculatedBucketGraphXY.java:227) at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.<init>(CalculatedBucketGraphXY.java:67) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:175) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:146) at com.cenqua.fisheye.web.ViewRepositoryServlet.renderLineGraph(ViewRepositoryServlet.java:148) at com.cenqua.fisheye.web.ViewRepositoryServlet.doLineGraph(ViewRepositoryServlet.java:117) at com.cenqua.fisheye.web.ViewRepositoryServlet.handleDirRequest(ViewRepositoryServlet.java:83) at com.cenqua.fisheye.web.ViewRepositoryServlet.handleRequest(ViewRepositoryServlet.java:64) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:158) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:214) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) {noformat} This is due to the line: {code} while (dataPeriods[index].getEndTime() < slurpPeriod.getEndTime() && index < dataPeriods.length) { index++ } {code} where it should be {code} while (index < dataPeriods.length && dataPeriods[index].getEndTime() < slurpPeriod.getEndTime()) { index++ } {code}

    Atlassian JIRA | 9 years ago | Partha Kamal [Atlassian]
    java.lang.ArrayIndexOutOfBoundsException: 60
  3. 0

    When browsing a repository, Fisheye fails loading the line history graph and reports a server error below the graph. The error reported in the log is: 2008-06-15 21:47:45,373 WARN [btpool0-3] fisheye.app ChangelogServlet-doImageMap - could not create image map for http://fisheye.coalevo.net/changelog/shell-access/ java.lang.ArrayIndexOutOfBoundsException: 26 at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.constructXYSeries(CalculatedBucketGraphXY.java:227) at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.<init>(CalculatedBucketGraphXY.java:67) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:175) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:146) at com.cenqua.fisheye.web.ChangelogServlet.doLineHistory(ChangelogServlet.java:296) at com.cenqua.fisheye.web.ChangelogServlet.doImageMap(ChangelogServlet.java:94) at com.cenqua.fisheye.web.ChangelogServlet.handleRequest(ChangelogServlet.java:78) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:158) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:214) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:119) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) I have fully re-indexed the repository, but it did not resolve the problem, but logs don't report any problem while indexing. I have attached a screenshot of the problem, but you may as well visit our public repository: http://fisheye.coalevo.net/browse/shell-access

    Atlassian JIRA | 9 years ago | Dieter Wimberger
    java.lang.ArrayIndexOutOfBoundsException: 26
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When browsing a repository, Fisheye fails loading the line history graph and reports a server error below the graph. The error reported in the log is: 2008-06-15 21:47:45,373 WARN [btpool0-3] fisheye.app ChangelogServlet-doImageMap - could not create image map for http://fisheye.coalevo.net/changelog/shell-access/ java.lang.ArrayIndexOutOfBoundsException: 26 at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.constructXYSeries(CalculatedBucketGraphXY.java:227) at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.<init>(CalculatedBucketGraphXY.java:67) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:175) at com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:146) at com.cenqua.fisheye.web.ChangelogServlet.doLineHistory(ChangelogServlet.java:296) at com.cenqua.fisheye.web.ChangelogServlet.doImageMap(ChangelogServlet.java:94) at com.cenqua.fisheye.web.ChangelogServlet.handleRequest(ChangelogServlet.java:78) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:158) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:214) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:119) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) I have fully re-indexed the repository, but it did not resolve the problem, but logs don't report any problem while indexing. I have attached a screenshot of the problem, but you may as well visit our public repository: http://fisheye.coalevo.net/browse/shell-access

    Atlassian JIRA | 9 years ago | Dieter Wimberger
    java.lang.ArrayIndexOutOfBoundsException: 26

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      60

      at com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.constructXYSeries()
    2. com.cenqua.fisheye
      ActionDispatcherServlet.doGet
      1. com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.constructXYSeries(CalculatedBucketGraphXY.java:227)
      2. com.cenqua.fisheye.bucket.CalculatedBucketGraphXY.<init>(CalculatedBucketGraphXY.java:67)
      3. com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:175)
      4. com.cenqua.fisheye.bucket.BucketGraph.getXYSeries(BucketGraph.java:146)
      5. com.cenqua.fisheye.web.ViewRepositoryServlet.renderLineGraph(ViewRepositoryServlet.java:148)
      6. com.cenqua.fisheye.web.ViewRepositoryServlet.doLineGraph(ViewRepositoryServlet.java:117)
      7. com.cenqua.fisheye.web.ViewRepositoryServlet.handleDirRequest(ViewRepositoryServlet.java:83)
      8. com.cenqua.fisheye.web.ViewRepositoryServlet.handleRequest(ViewRepositoryServlet.java:64)
      9. com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:158)
      10. com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:214)
      11. com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67)
      11 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    4. Jetty Server
      ServletHolder.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      1 frame