case class SendContactsUploadedEmail(user: User, conference: Conference, count: Int, ingoId: String, contacts: List[User])
If i remove whole package ingo/lib/email where all usages of this file located in this subproject, then this subproject compiled. But when i return just this file the same error begin appeared:
mac:WebApp den$ sbt common/compile
Detected sbt version 0.12.1
[info] Loading project definition from /Users/den/Projects/InGo/WebApp/project
[info] Set current project to root (in build file:/Users/den/Projects/InGo/WebApp/)
[info] Formatting 6 Scala sources {file:/Users/den/Projects/InGo/WebApp/}common(compile) ...
[info] Compiling 7 Scala sources to /Users/den/Projects/InGo/WebApp/common/target/scala-2.10/classes...
[error]
[error] while compiling: /Users/den/Projects/InGo/WebApp/common/src/main/scala/ingo/lib/email/msgs.scala
[error] during phase: patmat
[error] library version: version 2.10.2
[error] compiler version: version 2.10.2
[error] reconstructed args: -deprecation -feature -d /Users/den/Projects/InGo/WebApp/common/target/scala-2.10/classes -language:postfixOps -language:implicitConversions -language:reflectiveCalls -bootclasspath << CLASSPATH_THERE >> -unchecked
[error]
[error] last tree to typer: Throw
[error] symbol: null
[error] symbol definition: null
[error] tpe: Nothing
[error] symbol owners:
[error] context owners: method productElement -> class SendRankedEmail -> package email
[error]
[error] == Enclosing template or block ==
[error]
[error] CaseDef( // tree.tpe=Nothing
[error] "_" // tree.tpe=Int
[error] Throw( // tree.tpe=Nothing
[error] Apply( // def <init>(x$1: String): IndexOutOfBoundsException in class IndexOutOfBoundsException, tree.tpe=IndexOutOfBoundsException
[error] new IndexOutOfBoundsException."<init>" // def <init>(x$1: String): IndexOutOfBoundsException in class IndexOutOfBoundsException, tree.tpe=(x$1: String)IndexOutOfBoundsException
[error] Apply( // def toString(): String in class Any, tree.tpe=String
[error] "x$1"."toString" // def toString(): String in class Any, tree.tpe=()String
[error] Nil
[error] )
[error] )
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(TypeSymbol(final abstract class Nothing extends Any))
[error]
[error] uncaught exception during compilation: java.lang.StackOverflowError
java.lang.StackOverflowError
<< STACK_TRACE_THERE >>
[error] (common/compile:compile) java.lang.StackOverflowError
[error] Total time: 35 s, completed 26.06.2013 14:07:05
mac:WebApp den$ rm common/src/main/scala/ingo/lib/email/*.scala
mac:WebApp den$ ls common/src/main/scala/ingo/lib/email/
mac:WebApp den$ sbt common/compile
Detected sbt version 0.12.1
[info] Loading project definition from /Users/den/Projects/InGo/WebApp/project
[info] Set current project to root (in build file:/Users/den/Projects/InGo/WebApp/)
[success] Total time: 1 s, completed 26.06.2013 14:08:06
mac:WebApp den$ git checkout HEAD -- common/src/main/scala/ingo/lib/email/msgs.scala
mac:WebApp den$ ls common/src/main/scala/ingo/lib/email/
msgs.scala
mac:WebApp den$ sbt common/compile
Detected sbt version 0.12.1
[info] Loading project definition from /Users/den/Projects/InGo/WebApp/project
[info] Set current project to root (in build file:/Users/den/Projects/InGo/WebApp/)
[info] Formatting 1 Scala source {file:/Users/den/Projects/InGo/WebApp/}common(compile) ...
[info] Compiling 1 Scala source to /Users/den/Projects/InGo/WebApp/common/target/scala-2.10/classes...
[error]
[error] while compiling: /Users/den/Projects/InGo/WebApp/common/src/main/scala/ingo/lib/email/msgs.scala
[error] during phase: patmat
[error] library version: version 2.10.2
[error] compiler version: version 2.10.2
[error] reconstructed args: -deprecation -feature -d /Users/den/Projects/InGo/WebApp/common/target/scala-2.10/classes -language:postfixOps -language:implicitConversions -language:reflectiveCalls -bootclasspath << CLASSPATH_THERE >> -unchecked
[error]
[error] last tree to typer: Throw
[error] symbol: null
[error] symbol definition: null
[error] tpe: Nothing
[error] symbol owners:
[error] context owners: method productElement -> class SendRankedEmail -> package email
[error]
[error] == Enclosing template or block ==
[error]
[error] CaseDef( // tree.tpe=Nothing
[error] "_" // tree.tpe=Int
[error] Throw( // tree.tpe=Nothing
[error] Apply( // def <init>(x$1: String): IndexOutOfBoundsException in class IndexOutOfBoundsException, tree.tpe=IndexOutOfBoundsException
[error] new IndexOutOfBoundsException."<init>" // def <init>(x$1: String): IndexOutOfBoundsException in class IndexOutOfBoundsException, tree.tpe=(x$1: String)IndexOutOfBoundsException
[error] Apply( // def toString(): String in class Any, tree.tpe=String
[error] "x$1"."toString" // def toString(): String in class Any, tree.tpe=()String
[error] Nil
[error] )
[error] )
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(TypeSymbol(final abstract class Nothing extends Any))
[error]
[error] uncaught exception during compilation: java.lang.StackOverflowError
java.lang.StackOverflowError
<< STACK_TRACE_THERE >>
[error] (common/compile:compile) java.lang.StackOverflowError
[error] Total time: 33 s, completed 26.06.2013 14:10:03
mac:WebApp den$
Thanks, Denis.