java.lang.ArrayIndexOutOfBoundsException: 26

Atlassian JIRA | Dieter Wimberger | 8 years ago
  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 | 8 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 | 8 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 | 8 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 | 8 years ago | Partha Kamal [Atlassian]
    java.lang.ArrayIndexOutOfBoundsException: 60
  6. 0

    {code} scala> case class Foo(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int, g: Int, h: Int, i: Int, j: Int, k: Int, l: Int, m: Int, n: Int, o: Int, p: Int, q: Int, r: Int, s: Int, t: Int, u: Int, v: Int, w: Int, x: Int, y: Int, z: Int) {code} In 2.10: {code} <console>:7: error: Implementation restriction: case classes cannot have more than 22 parameters. case class Foo(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int, g: Int, h: Int, i: Int, j: Int, k: Int, l: Int, m: Int, n: Int, o: Int, p: Int, q: Int, r: Int, s: Int, t: Int, u: Int, v: Int, w: Int, x: Int, y: Int, z: Int) ^ error: while compiling: <console> during phase: typer library version: version 2.10.0 compiler version: version 2.10.0 reconstructed args: last tree to typer: Literal(Constant(())) symbol: null symbol definition: null tpe: Unit symbol owners: context owners: object Foo -> object $iw -> object $iw -> object $read -> package $line5 == Enclosing template or block == Template( runtime.this.AbstractFunction22[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Foo] // parents ValDef( private "_" <tpt> <empty> ) // 2 statements DefDef( // def <init>: <?> in object Foo <method> "<init>" [] List(Nil) <tpt> Block( Apply( super."<init>" Nil ) () ) ) DefDef( // final override def toString: <?> in object Foo <method> final override "toString" [] List(Nil) <tpt> "Foo" ) ) == Expanded type of tree == TypeRef(TypeSymbol(final abstract class Unit extends AnyVal)) uncaught exception during compilation: java.lang.ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException: 26 at scala.tools.nsc.ast.TreeDSL$CODE$.makeTupleTerm(TreeDSL.scala:313) at scala.tools.nsc.ast.TreeDSL$CODE$.SOME(TreeDSL.scala:302) at scala.tools.nsc.typechecker.Unapplies$class.scala$tools$nsc$typechecker$Unapplies$$caseClassUnapplyReturnValue(Unapplies.scala:101) at scala.tools.nsc.typechecker.Unapplies$$anonfun$3.apply(Unapplies.scala:160) at scala.tools.nsc.typechecker.Unapplies$$anonfun$3.apply(Unapplies.scala:160) at scala.tools.nsc.typechecker.Unapplies$class.caseModuleUnapplyMeth(Unapplies.scala:160) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1.caseModuleUnapplyMeth(ReplGlobal.scala:24) at scala.tools.nsc.typechecker.Namers$Namer.addApplyUnapply(Namers.scala:1242) at scala.tools.nsc.typechecker.Namers$Namer.templateSig(Namers.scala:872) at scala.tools.nsc.typechecker.Namers$Namer.getSig$1(Namers.scala:1300) at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1347) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply$mcV$sp(Namers.scala:709) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:708) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:708) at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$logAndValidate(Namers.scala:1385) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:708) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:707) at scala.tools.nsc.typechecker.Namers$$anon$1.completeImpl(Namers.scala:1496) at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter$class.complete(Namers.scala:1504) at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1494) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1217) at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1352) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5119) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5458) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2770) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$1$$anonfun$apply$27.apply(Typers.scala:2828) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$1.apply(Typers.scala:2827) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$1.apply(Typers.scala:2826) at scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:315) at scala.tools.nsc.typechecker.Typers$Typer.addSynthetics$1(Typers.scala:2826) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2874) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1862) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1769) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5401) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5458) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2770) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:2870) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:2870) at scala.collection.immutable.List.loop$1(List.scala:164) at scala.collection.immutable.List.mapConserve(List.scala:180) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2870) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1862) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1769) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5401) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5458) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2770) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:2870) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:2870) at scala.collection.immutable.List.loop$1(List.scala:164) at scala.collection.immutable.List.mapConserve(List.scala:180) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2870) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1862) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1769) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5401) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5458) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2770) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:2870) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:2870) at scala.collection.immutable.List.loop$1(List.scala:164) at scala.collection.immutable.List.mapConserve(List.scala:180) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2870) at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5127) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5404) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5458) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:29) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5509) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:98) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:461) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:90) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:90) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1156) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:90) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1574) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1548) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1544) at scala.tools.nsc.interpreter.IMain.compileSourcesKeepingRun(IMain.scala:425) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compileAndSaveRun(IMain.scala:798) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compile(IMain.scala:758) at scala.tools.nsc.interpreter.IMain$Request.compile$lzycompute(IMain.scala:933) at scala.tools.nsc.interpreter.IMain$Request.compile(IMain.scala:928) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:600) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:565) at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:745) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:790) at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:702) at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:566) at scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:573) at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:576) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:867) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:822) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:822) at scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:135) at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:822) at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:83) at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:96) at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:105) at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala) That entry seems to have slain the compiler. Shall I replay your session? I can re-run each line except the last one. {code} Similar in 2.11: {code} <console>:7: error: Implementation restriction: case classes cannot have more than 22 parameters. case class Foo(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int, g: Int, h: Int, i: Int, j: Int, k: Int, l: Int, m: Int, n: Int, o: Int, p: Int, q: Int, r: Int, s: Int, t: Int, u: Int, v: Int, w: Int, x: Int, y: Int, z: Int) ^ error: while compiling: <console> during phase: typer library version: version 2.11.0-20130206-121550-5545f35730 compiler version: version 2.11.0-20130206-121550-5545f35730 reconstructed args: last tree to typer: Ident(Foo) symbol: <none> (flags: ) symbol definition: <none> symbol owners: context owners: object Foo -> object $iw -> object $iw -> object $read -> package $line3 == Enclosing template or block == Template( runtime.this.AbstractFunction22[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Foo] // parents ValDef( private "_" <tpt> <empty> ) // 2 statements DefDef( // def <init>: <?> in object Foo <method> "<init>" [] List(Nil) <tpt> Block( Apply( super."<init>" Nil ) () ) ) DefDef( // final override def toString: <?> in object Foo <method> final override <synthetic> "toString" [] List(Nil) <tpt> "Foo" ) ) uncaught exception during compilation: ArrayIndexOutOfBoundsException("26") @ scala.tools.nsc.ast.TreeDSL$CODE$.makeTupleTerm(TreeDSL.scala:265) java.lang.ArrayIndexOutOfBoundsException: 26 at scala.tools.nsc.ast.TreeDSL$CODE$.makeTupleTerm(TreeDSL.scala:265) at scala.tools.nsc.ast.TreeDSL$CODE$.SOME(TreeDSL.scala:254) at scala.tools.nsc.typechecker.Unapplies$class.scala$tools$nsc$typechecker$Unapplies$$caseClassUnapplyReturnValue(Unapplies.scala:89) at scala.tools.nsc.typechecker.Unapplies$$anonfun$3.apply(Unapplies.scala:148) at scala.tools.nsc.typechecker.Unapplies$$anonfun$3.apply(Unapplies.scala:148) at scala.tools.nsc.typechecker.Unapplies$class.caseModuleUnapplyMeth(Unapplies.scala:148) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1.caseModuleUnapplyMeth(ReplGlobal.scala:23) at scala.tools.nsc.typechecker.Namers$Namer.addApplyUnapply(Namers.scala:1403) at scala.tools.nsc.typechecker.Namers$Namer.templateSig(Namers.scala:902) at scala.tools.nsc.typechecker.Namers$Namer.moduleSig(Namers.scala:960) at scala.tools.nsc.typechecker.Namers$Namer.getSig$1(Namers.scala:1457) at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1472) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply$mcV$sp(Namers.scala:750) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:749) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:749) at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$logAndValidate(Namers.scala:1499) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:749) at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:741) at scala.tools.nsc.typechecker.Namers$$anon$1.completeImpl(Namers.scala:1614) at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter$class.complete(Namers.scala:1622) at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1612) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1260) at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1396) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4919) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5240) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:28) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2792) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2$$anonfun$apply$32.apply(Typers.scala:2854) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2.apply(Typers.scala:2853) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$addSynthetics$1$2.apply(Typers.scala:2852) at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:775) at scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:333) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:774) at scala.tools.nsc.typechecker.Typers$Typer.addSynthetics$1(Typers.scala:2852) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2900) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1953) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1826) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5188) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5240) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:28) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2792) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:2896) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:2896) at scala.collection.immutable.List.loop$1(List.scala:164) at scala.collection.immutable.List.mapConserve(List.scala:180) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2896) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1953) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1826) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5188) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5240) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:28) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2792) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:2896) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:2896) at scala.collection.immutable.List.loop$1(List.scala:164) at scala.collection.immutable.List.mapConserve(List.scala:180) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2896) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1953) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1826) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5188) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5240) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:28) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2792) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:2896) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:2896) at scala.collection.immutable.List.loop$1(List.scala:164) at scala.collection.immutable.List.mapConserve(List.scala:180) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2896) at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:4925) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5191) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5240) at scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:28) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5299) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:99) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:409) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:90) at scala.collection.Iterator$class.foreach(Iterator.scala:725) at scala.collection.AbstractIterator.foreach(Iterator.scala:1156) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:90) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1504) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1479) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1475) at scala.tools.nsc.interpreter.IMain.compileSourcesKeepingRun(IMain.scala:410) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compileAndSaveRun(IMain.scala:748) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.compile(IMain.scala:708) at scala.tools.nsc.interpreter.IMain$Request.compile$lzycompute(IMain.scala:852) at scala.tools.nsc.interpreter.IMain$Request.compile(IMain.scala:847) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:573) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:538) at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:567) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:612) at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:524) at scala.tools.nsc.interpreter.ILoop.processLine(ILoop.scala:380) at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:397) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:680) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:666) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:666) at scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:95) at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:666) at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:81) at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:94) at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:103) at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala) That entry seems to have slain the compiler. Shall I replay your session? I can re-run each line except the last one. {code} It doesn't crash in 2.9.2.

    Scala JIRA | 4 years ago | Simon Ochsenreither
    java.lang.ArrayIndexOutOfBoundsException: 26

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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