Note that there are some explanatory texts on larger screens.

plurals
  1. POPlay 2.0 unexpected exception StackOverflowError: null
    primarykey
    data
    text
    <p>When I try to compile my project I get the following exception:</p> <pre><code>! Internal server error, for request [GET /] -&gt; play.api.UnexpectedException: Unexpected exception [StackOverflowError: null] at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4$$anonfun$apply$12.apply(PlayReloader.scala:233) ~[na:na] at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4$$anonfun$apply$12.apply(PlayReloader.scala:226) ~[na:na] at scala.Option.map(Option.scala:133) ~[scala-library.jar:0.11.3] at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4.apply(PlayReloader.scala:226) ~[na:na] at sbt.PlayReloader$$anon$2$$anonfun$reload$3$$anonfun$4.apply(PlayReloader.scala:224) ~[na:na] at scala.Either$LeftProjection.map(Either.scala:183) ~[scala-library.jar:0.11.3] java.lang.StackOverflowError: null at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731) ~[scala-compiler.jar:na] at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271) ~[scala-compiler.jar:na] at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4138) ~[scala-compiler.jar:na] at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:731) ~[scala-compiler.jar:na] at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4271) ~[scala-compiler.jar:na] at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3353) ~[scala-compiler.jar:na] </code></pre> <p>I found the same <a href="https://play.lighthouseapp.com/projects/82401/tickets/613-stack-overflow-exception-while-trying-to-compile" rel="nofollow">issue</a> in the Play 2 issue tracker and they said that when the routes file grows it makes that exception.</p> <p>Is there a solution to this exception because my project doesn't compile anymore ?</p> <p>I'm using Play 2.0.3 for scala(my routes file is about 150 line)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload