play.api.UnexpectedException: Unexpected exception[ValidationFailed: akka-cluster.conf @ file:/.../akka-cluster.conf: 19: akka.cluster.seed-nodes: Wrong value type at 'akka.cluster.seed-nodes', expecting: object with keys [0] but got: list]

GitHub | oleksiys | 5 months ago
  1. 0

    Can't set the seed-nodes via system properties

    GitHub | 5 months ago | oleksiys
    play.api.UnexpectedException: Unexpected exception[ValidationFailed: akka-cluster.conf @ file:/.../akka-cluster.conf: 19: akka.cluster.seed-nodes: Wrong value type at 'akka.cluster.seed-nodes', expecting: object with keys [0] but got: list]
  2. 0

    checkValid is broken

    GitHub | 4 years ago | carrot-garden
    com.typesafe.config.ConfigException$ValidationFailed: reference.conf: 2: member-config: No setting at 'member-config', expecting: object with keys [batch-size, is-master, name]
  3. 0

    Lists created using properties with numeric keys do not pass checkValid()

    GitHub | 3 years ago | robdavid
    com.typesafe.config.ConfigException$ValidationFailed: properties: akka.loggers: Wrong value type at 'akka.loggers', expecting: list but got: object with keys [0], properties: akka.extensions: Wrong value type at 'akka.extensions', expecting: list but got: object with keys [0], properties: akka.cluster.seed-nodes: Wrong value type at 'akka.cluster.seed-nodes', expecting: list but got: object with keys [3, 2, 1, 0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Handemelindo 1 times, last 4 months ago

Root Cause Analysis

  1. com.typesafe.config.ConfigException$ValidationFailed

    akka-cluster.conf @ file:/.../akka-cluster.conf: 19: akka.cluster.seed-nodes: Wrong value type at 'akka.cluster.seed-nodes', expecting: object with keys [0] but got: list

    at com.typesafe.config.impl.SimpleConfig.checkValid()
  2. Config
    SimpleConfig.checkValid
    1. com.typesafe.config.impl.SimpleConfig.checkValid(SimpleConfig.java:990)
    1 frame
  3. Akka Actor
    ActorSystem$.apply
    1. akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:161)
    2. akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:522)
    3. akka.actor.ActorSystem$.apply(ActorSystem.scala:142)
    4. akka.actor.ActorSystem$.apply(ActorSystem.scala:126)
    4 frames
  4. Play
    BuiltInComponentsFromContext.actorSystem
    1. play.api.libs.concurrent.ActorSystemProvider$.start(Akka.scala:300)
    2. play.api.libs.concurrent.ActorSystemProvider.get$lzycompute(Akka.scala:257)
    3. play.api.libs.concurrent.ActorSystemProvider.get(Akka.scala:256)
    4. play.api.BuiltInComponents$class.actorSystem(Application.scala:262)
    5. play.api.BuiltInComponentsFromContext.actorSystem$lzycompute(ApplicationLoader.scala:100)
    6. play.api.BuiltInComponentsFromContext.actorSystem(ApplicationLoader.scala:100)
    6 frames
  5. boot
    AppLoader.load
    1. boot.AppComponents.clusterSystem$lzycompute(AppLoader.scala:43)
    2. boot.AppComponents.clusterSystem(AppLoader.scala:43)
    3. boot.ClusterComponents$class.$init$(ClusterComponents.scala:18)
    4. boot.AppComponents.<init>(AppLoader.scala:28)
    5. boot.AppLoader.load(AppLoader.scala:23)
    5 frames
  6. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply(DevServerStart.scala:158)
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply(DevServerStart.scala:155)
    2 frames
  7. Play
    Threads$.withContextClassLoader
    1. play.utils.Threads$.withContextClassLoader(Threads.scala:21)
    1 frame
  8. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:155)
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:126)
    2 frames
  9. Scala
    Option.map
    1. scala.Option.map(Option.scala:146)
    1 frame
  10. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply(DevServerStart.scala:126)
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply(DevServerStart.scala:124)
    2 frames
  11. Scala
    Success.flatMap
    1. scala.util.Success.flatMap(Try.scala:231)
    1 frame
  12. Play Server
    DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply
    1. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:124)
    2. play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:116)
    2 frames
  13. Scala
    Future$PromiseCompletingRunnable.run
    1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
    2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
    2 frames
  14. Java RT
    ForkJoinWorkerThread.run
    1. java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
    2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    3. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    4. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    5. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
    5 frames