java.lang.IllegalArgumentException: Can't serialize object of type class org.springframework.context.supp* *ort.ClassPathXmlApplicationContext*

Google Groups | vipin mandloi | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Akka configured seed nodes are leaving cluster and unreachable/reachable warning message is getting logged.

    Google Groups | 6 months ago | vipin mandloi
    java.lang.IllegalArgumentException: Can't serialize object of type class org.springframework.context.supp* *ort.ClassPathXmlApplicationContext*

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't serialize object of type class org.springframework.context.supp* *ort.ClassPathXmlApplicationContext*

      at akka.cluster.protobuf.ClusterMessageSerializer.toBinary()
    2. Akka Cluster
      ClusterMessageSerializer.toBinary
      1. akka.cluster.protobuf.ClusterMessageSerializer.toBinary(ClusterMessageSerializer.scala:74)
      1 frame
    3. Akka Actor
      Serialization$$anonfun$serialize$1.apply
      1. akka.serialization.Serialization$$anonfun$serialize$1.apply(Serialization.scala:90)
      2. akka.serialization.Serialization$$anonfun$serialize$1.apply(Serialization.scala:90)
      2 frames
    4. Scala
      Try$.apply
      1. scala.util.Try$.apply(Try.scala:161)
      1 frame
    5. Akka Actor
      Serialization.serialize
      1. akka.serialization.Serialization.serialize(Serialization.scala:90)
      1 frame
    6. Akka Remote
      DaemonMsgCreateSerializer$$anonfun$propsProto$1$1.apply
      1. akka.remote.serialization.DaemonMsgCreateSerializer.serialize(DaemonMsgCreateSerializer.scala:107)
      2. akka.remote.serialization.DaemonMsgCreateSerializer$$anonfun$propsProto$1$1.apply(DaemonMsgCreateSerializer.scala:56)
      3. akka.remote.serialization.DaemonMsgCreateSerializer$$anonfun$propsProto$1$1.apply(DaemonMsgCreateSerializer.scala:56)
      3 frames
    7. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.immutable.List.foreach(List.scala:318)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      5 frames
    8. Akka Remote
      EndpointWriter$$anonfun$serializeMessage$1.apply
      1. akka.remote.serialization.DaemonMsgCreateSerializer.propsProto$1(DaemonMsgCreateSerializer.scala:56)
      2. akka.remote.serialization.DaemonMsgCreateSerializer.toBinary(DaemonMsgCreateSerializer.scala:62)
      3. akka.remote.MessageSerializer$.serialize(MessageSerializer.scala:36)
      4. akka.remote.EndpointWriter$$anonfun$serializeMessage$1.apply(Endpoint.scala:842)
      5. akka.remote.EndpointWriter$$anonfun$serializeMessage$1.apply(Endpoint.scala:842)
      5 frames
    9. Scala
      DynamicVariable.withValue
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
      1 frame
    10. Akka Remote
      EndpointWriter$$anonfun$2.applyOrElse
      1. akka.remote.EndpointWriter.serializeMessage(Endpoint.scala:841)
      2. akka.remote.EndpointWriter.writeSend(Endpoint.scala:742)
      3. akka.remote.EndpointWriter$$anonfun$2.applyOrElse(Endpoint.scala:717)
      3 frames
    11. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:465)
      1 frame
    12. Akka Remote
      EndpointActor.aroundReceive
      1. akka.remote.EndpointActor.aroundReceive(Endpoint.scala:410)
      1 frame
    13. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:487)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:221)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:231)
      5 frames
    14. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253)
      3. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346)
      4. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      5. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      5 frames