akka.remote.EndpointException: Failed to write message to the transport Caused by: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class z.x.engine.BBDestEHInstance] value failed (z.x.engine.BBError): id cannot be null - akka.remote.EndpointWriter, akkaThrd=x-akka.remote.default-remote-dispatcher-6, thrd=x-akka.actor.default-dispatcher-4, lgr=akka.remote.EndpointWriter callstack-snipit: ..... .....

GitHub | mbknor | 7 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

    Exceptions from serializer.toBinary should be handled as transient

    GitHub | 7 months ago | mbknor
    akka.remote.EndpointException: Failed to write message to the transport Caused by: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class z.x.engine.BBDestEHInstance] value failed (z.x.engine.BBError): id cannot be null - akka.remote.EndpointWriter, akkaThrd=x-akka.remote.default-remote-dispatcher-6, thrd=x-akka.actor.default-dispatcher-4, lgr=akka.remote.EndpointWriter callstack-snipit: ..... .....

    Root Cause Analysis

    1. akka.remote.EndpointException

      Failed to write message to the transport Caused by: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class z.x.engine.BBDestEHInstance] value failed (z.x.engine.BBError): id cannot be null - akka.remote.EndpointWriter, akkaThrd=x-akka.remote.default-remote-dispatcher-6, thrd=x-akka.actor.default-dispatcher-4, lgr=akka.remote.EndpointWriter callstack-snipit: ..... .....

      at no.nextgentel.oss.akkatools.serializing.JacksonJsonSerializer.toBinary()
    2. no.nextgentel.oss
      JacksonJsonSerializer.toBinary
      1. no.nextgentel.oss.akkatools.serializing.JacksonJsonSerializer.toBinary(JacksonJsonSerializer.scala:84)
      1 frame
    3. Akka Remote
      EndpointWriter$$anonfun$serializeMessage$1.apply
      1. akka.remote.MessageSerializer$.serialize(MessageSerializer.scala:37)
      2. akka.remote.EndpointWriter$$anonfun$serializeMessage$1.apply(Endpoint.scala:886)
      3. akka.remote.EndpointWriter$$anonfun$serializeMessage$1.apply(Endpoint.scala:886)
      3 frames
    4. Scala
      DynamicVariable.withValue
      1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
      1 frame
    5. Akka Remote
      EndpointWriter$$anonfun$4.applyOrElse
      1. akka.remote.EndpointWriter.serializeMessage(Endpoint.scala:885)
      2. akka.remote.EndpointWriter.writeSend(Endpoint.scala:780)
      3. akka.remote.EndpointWriter$$anonfun$4.applyOrElse(Endpoint.scala:755)
      3 frames
    6. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      1 frame
    7. Akka Remote
      EndpointActor.aroundReceive
      1. akka.remote.EndpointActor.aroundReceive(Endpoint.scala:447)
      1 frame
    8. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    9. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames