java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.routing.RoutedActorCell$AjcClosure1.run(RoutedActorCell.scala:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) 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)[ERROR]
No Bugmate found.