java.lang.ClassCastException: akka.dispatch.Envelope cannot be cast to akka.kamon.instrumentation.InstrumentedEnvelope

Google Groups | Manoj Santhakumaran | 11 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.dispatch.Envelope cannot be cast to akka.kamon.instrumentation.InstrumentedEnvelope

    Google Groups | 11 months ago | Manoj Santhakumaran
    java.lang.ClassCastException: akka.dispatch.Envelope cannot be cast to akka.kamon.instrumentation.InstrumentedEnvelope
  2. 0

    Akka Clustering 2.2.0 - AdaptiveLoadBalancingRouter with Random - bug?

    Google Groups | 4 years ago | nightw...@gmail.com
    java.lang.IllegalArgumentException: n must be positive
  3. 0

    Kamon not started using sbt-aspectj-runner

    Google Groups | 1 year ago | Unknown author
    akka.ConfigurationException: configuration problem while creating [akka://booking/system/IO-TCP/selectors/$a/0] with dispatcher [akka.actor.default-dispatcher] and mailbox [akka.actor.default-mailbox]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      akka.dispatch.Envelope cannot be cast to akka.kamon.instrumentation.InstrumentedEnvelope

      at akka.kamon.instrumentation.ActorCellInstrumentation.afterSendMessageInActorCell()
    2. akka.kamon.instrumentation
      ActorCellInstrumentation.afterSendMessageInActorCell
      1. akka.kamon.instrumentation.ActorCellInstrumentation.afterSendMessageInActorCell(ActorInstrumentation.scala:60)
      1 frame
    3. Akka Actor
      RoutedActorCell$AjcClosure1.run
      1. akka.routing.RoutedActorCell.sendMessage_aroundBody0(RoutedActorCell.scala:138)
      2. akka.routing.RoutedActorCell$AjcClosure1.run(RoutedActorCell.scala:1)
      2 frames
    4. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    5. akka.kamon.instrumentation
      RoutedActorCellInstrumentation.aroundSendMessageInRouterActorCell
      1. akka.kamon.instrumentation.NoOpRouterMonitor$.processMessage(RouterMonitor.scala:35)
      2. akka.kamon.instrumentation.RoutedActorCellInstrumentation.aroundSendMessageInRouterActorCell(RouterInstrumentation.scala:29)
      2 frames
    6. Akka Actor
      Mailbox.exec
      1. akka.routing.RoutedActorCell.sendMessage(RoutedActorCell.scala:138)
      2. akka.actor.Cell$class.sendMessage(ActorCell.scala:294)
      3. akka.actor.ActorCell.sendMessage(ActorCell.scala:373)
      4. akka.actor.RepointableActorRef.$bang(RepointableActorRef.scala:166)
      5. akka.io.SelectionHandler$SelectorBasedManager$$anonfun$workerForCommandHandler$1.applyOrElse(SelectionHandler.scala:87)
      6. akka.actor.Actor$class.aroundReceive(Actor.scala:480)
      7. akka.io.SelectionHandler$SelectorBasedManager.aroundReceive(SelectionHandler.scala:78)
      8. akka.actor.ActorCell.receiveMessage(ActorCell.scala:525)
      9. akka.actor.ActorCell.invoke(ActorCell.scala:494)
      10. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      11. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      12. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      12 frames
    7. 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)[ERROR]
      4 frames