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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Manoj Santhakumaran, 10 months ago
akka.dispatch.Envelope cannot be cast to akka.kamon.instrumentation.InstrumentedEnvelope
java.lang.ClassCastException: akka.dispatch.Envelope cannot be cast to akka.kamon.instrumentation.InstrumentedEnvelope
at akka.kamon.instrumentation.ActorCellInstrumentation.afterSendMessageInActorCell(ActorInstrumentation.scala:60)
at akka.routing.RoutedActorCell.sendMessage_aroundBody0(RoutedActorCell.scala:138)
at akka.kamon.instrumentation.NoOpRouterMonitor$.processMessage(RouterMonitor.scala:35)
at akka.kamon.instrumentation.RoutedActorCellInstrumentation.aroundSendMessageInRouterActorCell(RouterInstrumentation.scala:29)
at akka.routing.RoutedActorCell.sendMessage(RoutedActorCell.scala:138)
at akka.actor.Cell$class.sendMessage(ActorCell.scala:294)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:373)
at akka.actor.RepointableActorRef.$bang(RepointableActorRef.scala:166)
at akka.io.SelectionHandler$SelectorBasedManager$$anonfun$workerForCommandHandler$1.applyOrElse(SelectionHandler.scala:87)
at akka.actor.Actor$class.aroundReceive(Actor.scala:480)
at akka.io.SelectionHandler$SelectorBasedManager.aroundReceive(SelectionHandler.scala:78)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:525)
at akka.actor.ActorCell.invoke(ActorCell.scala:494)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.