Please post a gist with the full stack trace. You might need to run
last compile:compileIncremental to see that if SBT suppresses it by default.
It can also be helpful to run with
-Ytyper-debug -Ylog:all to try to get an idea about what part of the code and compiler intersected just before the crash. You'll get reams of output, but the end of the log can be interesting.
You can also attach a debugger to the compiler with a breakpoint set on the
sbt -jvm-debug 5006 compile should open up a remote debug port. Add
"org.scala-lang" % "scala-compiler" % "2.11.7" as an
libraryDependency to a SBT project and import that into your IDE, or manually add the following to the IDE classpath:
Then attach the debugger.