Play Framework execution error

1

Good evening, I'm studying the Play Framework and I'm hitting on the following error:

! @6naojhb5b - Internal server error, for (GET) [/] ->

play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[MatchErro
r: java.lang.AssertionError: assertion failed: sig=<A:Ljava.lang.Object;>(Lplay.
libs.F$Callback2<Lplay.mvc.WebSocket$In<TA;>;Lplay.mvc.WebSocket$Out<TA;>;>;)Lpl
ay.mvc.WebSocket<TA;>;, index=45, tp=<notype> (of class java.lang.AssertionError
)]]
        at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(
HttpErrorHandler.scala:265) ~[play_2.11-2.4.2.jar:2.4.2]
        at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.
scala:191) ~[play_2.11-2.4.2.jar:2.4.2]
        at play.core.server.Server$class.logExceptionAndGetResult$1(Server.scala
:50) [play-server_2.11-2.4.2.jar:2.4.2]
        at play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:5
9) [play-server_2.11-2.4.2.jar:2.4.2]
        at play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:5
7) [play-server_2.11-2.4.2.jar:2.4.2]
        at scala.util.Either$RightProjection.flatMap(Either.scala:522) [scala-li
brary-2.11.6.jar:na]
        at play.core.server.Server$class.getHandlerFor(Server.scala:57) [play-se
rver_2.11-2.4.2.jar:2.4.2]
        at play.core.server.NettyServer.getHandlerFor(NettyServer.scala:33) [pla
y-netty-server_2.11-2.4.2.jar:2.4.2]
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$8.apply(Pl
ayDefaultUpstreamHandler.scala:139) [play-netty-server_2.11-2.4.2.jar:2.4.2]
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$8.apply(Pl
ayDefaultUpstreamHandler.scala:139) [play-netty-server_2.11-2.4.2.jar:2.4.2]
Caused by: scala.MatchError: java.lang.AssertionError: assertion failed: sig=<A:
Ljava.lang.Object;>(Lplay.libs.F$Callback2<Lplay.mvc.WebSocket$In<TA;>;Lplay.mvc
.WebSocket$Out<TA;>;>;)Lplay.mvc.WebSocket<TA;>;, index=45, tp=<notype> (of clas
s java.lang.AssertionError)
        at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReloa
d.scala:44) ~[na:na]
        at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReloa
d.scala:44) ~[na:na]
        at scala.Option.map(Option.scala:145) ~[scala-library-2.11.6.jar:na]
        at play.sbt.run.PlayReload$.taskFailureHandler(PlayReload.scala:44) ~[na
:na]
        at play.sbt.run.PlayReload$.compileFailure(PlayReload.scala:40) ~[na:na]

        at play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17)
 ~[na:na]
        at play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17)
 ~[na:na]
        at scala.util.Either$LeftProjection.map(Either.scala:377) ~[scala-librar
y-2.11.6.jar:na]
        at play.sbt.run.PlayReload$.compile(PlayReload.scala:17) ~[na:na]
        at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun
$apply$3$$anonfun$2.apply(PlayRun.scala:60) ~[na:na]

I'm not sure what he's complaining about, could anyone from the play help me?

I'm using the Eclipse IDE.

    
asked by anonymous 01.09.2015 / 06:00

2 answers

0

Next, I moved in my code and now the error that occurs at the time I run the COMPILE command is this:

[play-new] $ compile [info] Compiling 9 Scala sources and 5 Java sources to C:\play-new\target\scala- 2.11\classes... [trace] Stack trace suppressed: run last compile:compileIncremental for the full output. [error] (compile:compileIncremental) java.lang.AssertionError: assertion failed: sig=<A:Ljava.lang.Object;>(Lplay.libs.F$Callback2<Lplay.mvc.WebSocket$In<TA;>;L play.mvc.WebSocket$Out<TA;>;>;)Lplay.mvc.WebSocket<TA;>;, index=45, tp=<notype> [error] Total time: 3 s, completed 03/09/2015 23:12:33 [play-new] $ and this is the error that occurs when I try to access LOCALHOSTE: 9000

Execution exception [MatchError: java.lang.AssertionError: assertion failed: sig=<A:Ljava.lang.Object;>(Lplay.libs.F$Callback2<Lplay.mvc.WebSocket$In<TA;>;Lplay.mvc.WebSocket$Out<TA;>;>;)Lplay.mvc.WebSocket<TA;>;, index=45, tp=<notype> (of class java.lang.AssertionError)]

If someone can help me, I thank you, att.

    
04.09.2015 / 05:28
0

Oops, to let you know that I have solved the problem, I will soon develop a step-by-step tutorial on how to go through these problems, att.

    
09.09.2015 / 06:00