You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Lagom 1.5.0.RC2 devmode getting following exception when accessing service
ava.lang.ClassCastException: class scala.runtime.Nothing$ is not assignable from class akka.discovery.SimpleServiceDiscovery
at akka.actor.ReflectiveDynamicAccess.$anonfun$getClassFor$1(ReflectiveDynamicAccess.scala:24)
at scala.util.Try$.apply(Try.scala:213)
at akka.actor.ReflectiveDynamicAccess.getClassFor(ReflectiveDynamicAccess.scala:21)
at akka.discovery.Discovery$.checkClassPathForOldDiscovery(Discovery.scala:111)
at akka.discovery.Discovery.(Discovery.scala:17)
at akka.discovery.Discovery$.createExtension(Discovery.scala:103)
at akka.discovery.Discovery$.createExtension(Discovery.scala:96)
at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:962)
at akka.actor.ExtensionId.apply(Extension.scala:79)
at akka.actor.ExtensionId.apply$(Extension.scala:78)
at akka.discovery.Discovery$.apply(Discovery.scala:97)
at com.lightbend.lagom.internal.registry.DevModeServiceDiscovery$.apply(DevModeServiceDiscovery.scala:43)
at com.lightbend.l
The text was updated successfully, but these errors were encountered:
Lagom 1.5.0 is released and have been gone under different tests and experimentation and we never saw this issue. I have the impression that this can be related with some dirty build on your environment.
Can you update your app to Lagom 1.5.0, run an sbt clean and test it again?
Using Lagom 1.5.0.RC2 devmode getting following exception when accessing service
ava.lang.ClassCastException: class scala.runtime.Nothing$ is not assignable from class akka.discovery.SimpleServiceDiscovery
at akka.actor.ReflectiveDynamicAccess.$anonfun$getClassFor$1(ReflectiveDynamicAccess.scala:24)
at scala.util.Try$.apply(Try.scala:213)
at akka.actor.ReflectiveDynamicAccess.getClassFor(ReflectiveDynamicAccess.scala:21)
at akka.discovery.Discovery$.checkClassPathForOldDiscovery(Discovery.scala:111)
at akka.discovery.Discovery.(Discovery.scala:17)
at akka.discovery.Discovery$.createExtension(Discovery.scala:103)
at akka.discovery.Discovery$.createExtension(Discovery.scala:96)
at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:962)
at akka.actor.ExtensionId.apply(Extension.scala:79)
at akka.actor.ExtensionId.apply$(Extension.scala:78)
at akka.discovery.Discovery$.apply(Discovery.scala:97)
at com.lightbend.lagom.internal.registry.DevModeServiceDiscovery$.apply(DevModeServiceDiscovery.scala:43)
at com.lightbend.l
The text was updated successfully, but these errors were encountered: