|
I've just had a crash caused by my failing to update a dependency (play-mailer) after updating to 2.5.1. This resulted in a NoSuchMethodError when someone tried to send a mail, which is to be expected. However, I did not expect that this would have crashed the whole Play process, with subsequent requests giving the following error: [error] p.c.s.n.PlayRequestHandler - Exception caught in channelRead future java.lang.IllegalStateException: Attempted to call materialize() after the ActorMaterializer has been shut down. at akka.stream.impl.ActorMaterializerImpl.materialize( ActorMaterializerImpl.scala:88) at akka.stream.impl.ActorMaterializerImpl.materialize( ActorMaterializerImpl.scala:79) at akka.stream.scaladsl.RunnableGraph.run(Flow.scala:354) at akka.stream.scaladsl.Source.runWith(Source.scala:93) at play.core.server.netty.NettyModelConversion.createStreamedResponse( NettyModelConversion.scala:237) at play.core.server.netty.NettyModelConversion.convertResult( NettyModelConversion.scala:173) at play.core.server.netty. PlayRequestHandler$$anonfun$play$core$server$netty$PlayRequestHandler$$handleAction$2 .apply(PlayRequestHandler.scala:259) at play.core.server.netty. PlayRequestHandler$$anonfun$play$core$server$netty$PlayRequestHandler$$handleAction$2 .apply(PlayRequestHandler.scala:255) at scala.util.Success$$anonfun$map$1.apply(Try.scala:237) at scala.util.Try$.apply(Try.scala:192) I don't recall crashes of this type (NoSuchMethodError or NoClassDefFound) being quite so, erm, final, and taking the entire site down. Has anyone else run into this? Did it happen on 2.4? You received this message because you are subscribed to the Google Groups "play-framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/aeac1de3-2c1a-4b97-b8ba-75c7d6774560%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. asked Mar 30 2016 at 15:29 |