java.lang.ArrayIndexOutOfBoundsException: 26

Atlassian JIRA | Dieter Wimberger | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      26

      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.ChangelogServlet.doLineHistory(ChangelogServlet.java:296)
      6. com.cenqua.fisheye.web.ChangelogServlet.doImageMap(ChangelogServlet.java:94)
      7. com.cenqua.fisheye.web.ChangelogServlet.handleRequest(ChangelogServlet.java:78)
      8. com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:158)
      9. com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:214)
      10. com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67)
      10 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
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144)
      2 frames
    5. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      2 frames
    6. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    7. com.cenqua.fisheye
      TotalityFilter.doFilter
      1. com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167)
      1 frame
    8. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    9. com.atlassian.seraph
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:119)
      1 frame
    10. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
      2 frames
    11. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    12. Jetty Util
      GzipFilter.doFilter
      1. org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
      2. org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
      2 frames
    13. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    14. com.cenqua.fisheye
      UpfrontFilter.doFilter
      1. com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39)
      1 frame
    15. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    16. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame