Created
July 17, 2015 12:50
-
-
Save cheptsov/0b2de0377430828db696 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dao.topics outerJoin dao.comments on { case (topic, comment) => comment.topicId === topic.id }).list | |
Results in | |
play.api.Application$$anon$1: Execution exception[[SlickException: Expected a collection type, found UnassignedType]] | |
at play.api.Application$class.handleError(Application.scala:296) ~[play_2.11-2.3.7.jar:2.3.7] | |
at play.api.DefaultApplication.handleError(Application.scala:402) [play_2.11-2.3.7.jar:2.3.7] | |
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [play_2.11-2.3.7.jar:2.3.7] | |
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [play_2.11-2.3.7.jar:2.3.7] | |
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36) [scala-library-2.11.5.jar:na] | |
Caused by: scala.slick.SlickException: Expected a collection type, found UnassignedType | |
at scala.slick.ast.TypeUtil$.asCollectionType$extension(Type.scala:240) ~[slick_2.11-2.1.0.jar:na] | |
at scala.slick.compiler.EmulateOuterJoins.convert(EmulateOuterJoins.scala:53) ~[slick_2.11-2.1.0.jar:na] | |
at scala.slick.compiler.EmulateOuterJoins$$anonfun$convert$1.apply(EmulateOuterJoins.scala:55) ~[slick_2.11-2.1.0.jar:na] | |
at scala.slick.compiler.EmulateOuterJoins$$anonfun$convert$1.apply(EmulateOuterJoins.scala:55) ~[slick_2.11-2.1.0.jar:na] | |
at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:15) ~[slick_2.11-2.1.0.jar:na] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment