This page is no longer maintained — Please continue to the home page at www.scala-lang.org

failing build

1 reply
fizzy
Joined: 2009-08-30,
User offline. Last seen 3 years 9 weeks ago.
Hi Everyone,I have a maven build that dies on the scala compile with a StackOverflowError. I am using scala 2.9.1. The weird bit is this only happens on the build server and not on the client boxes.
Hopefully someone can nudge me in the right direction on this.
regards, Glen


PS Here is a snippet of the stack trace.
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4144)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3353)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3353)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:624)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3353)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4104)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1920)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3951)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4350)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4356)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4144)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3353)
[INFO]  at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3353)
[INFO]   
Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
Re: failing build
The first thing to try it to simply allocate more stack the the compiler process.
-Xss2M
-jason
On Mon, Dec 5, 2011 at 4:43 PM, Glen Marchesani <glen@model3.net> wrote:
Hi Everyone,I have a maven build that dies on the scala compile with a StackOverflowError. I am using scala 2.9.1. The weird bit is this only happens on the build server and not on the client boxes.
Hopefully someone can nudge me in the right direction on this.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland