Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4 upgrade to Akka 2.6 which I think broke Kamon monitoring #1410

Closed
n1bor opened this issue May 5, 2020 · 2 comments · Fixed by #1411
Closed

v0.4 upgrade to Akka 2.6 which I think broke Kamon monitoring #1410

n1bor opened this issue May 5, 2020 · 2 comments · Fixed by #1411

Comments

@n1bor
Copy link
Contributor

n1bor commented May 5, 2020

Getting this error:

2:20:28.254 [,] ERROR  fr.acinq.eclair.gui.FxPreloader - java.lang.ClassCastException: class akka.dispatch.ForkJoinExecutorConfigurator$ForkJoinExecutorServiceFactory cannot be cast to class kamon.instrumentation.akka.instrumentations.DispatcherInfo$HasDispatcherName (akka.dispatch.ForkJoinExecutorConfigurator$ForkJoinExecutorServiceFactory and kamon.instrumentation.akka.instrumentations.DispatcherInfo$HasDispatcherName are in unnamed module of loader 'app')
	at kamon.instrumentation.akka.instrumentations.CopyDispatcherInfoToExecutorServiceFactory$.exit(DispatcherInstrumentation.scala:126)
	at akka.dispatch.ForkJoinExecutorConfigurator.createExecutorServiceFactory(ForkJoinExecutorConfigurator.scala:108)
	at akka.dispatch.Dispatcher.<init>(Dispatcher.scala:53)
	at akka.dispatch.DispatcherConfigurator.<init>(Dispatchers.scala:278)
	at akka.dispatch.Dispatchers.configuratorFrom(Dispatchers.scala:239)
	at akka.dispatch.Dispatchers.lookupConfigurator(Dispatchers.scala:154)
	at akka.dispatch.Dispatchers.lookup(Dispatchers.scala:120)
	at akka.dispatch.Dispatchers.<init>(Dispatchers.scala:107)
	at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:964)
	at akka.actor.ActorSystem$.apply(ActorSystem.scala:283)
	at akka.actor.ActorSystem$.apply(ActorSystem.scala:327)
	at akka.actor.ActorSystem$.apply(ActorSystem.scala:271)

This is the fix
kamon-io/kamon-akka@073c05c
So need version 2.0.1 - we are on 2.0.0

@n1bor
Copy link
Contributor Author

n1bor commented May 5, 2020

https://github.com/kamon-io/kamon-akka/releases/tag/v2.0.1
Show this adds the 2.6 akka support.

@t-bast
Copy link
Member

t-bast commented May 6, 2020

Good catch, I'll update this asap.

@t-bast t-bast mentioned this issue May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants