Replies: 1 comment
-
|
Hi @ivantopo, we are looking forward to hear from you on the above topic. We are wondering if kanela runner can be used with Mac with M2 chip. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a play application with Kanela instrumentation agent. While running the application on Mac with M2 chip, Kanela agent doesn't start.
We have
addSbtPlugin("io.kamon" % "sbt-kanela-runner-play-2.8" % "2.0.12")
Here is the error in the logs. Please help in finding the reason.
[error] java.lang.IllegalStateException: Could not self-attach to current VM using external process
[error] at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:486)
[error] at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:420)
[error] at net.bytebuddy.agent.ByteBuddyAgent.attach(ByteBuddyAgent.java:248)
[error] at net.bytebuddy.agent.ByteBuddyAgent.attach(ByteBuddyAgent.java:223)
[error] at net.bytebuddy.agent.ByteBuddyAgent.attach(ByteBuddyAgent.java:210)
[error] at kamon.instrumentation.sbt.SbtKanelaRunner$.$anonfun$attachWithInstrumentationClassLoader$1(SbtKanelaRunner.scala:122)
[error] at kamon.instrumentation.sbt.SbtKanelaRunner$.withInstrumentationClassLoader(SbtKanelaRunner.scala:139)
[error] at kamon.instrumentation.sbt.SbtKanelaRunner$.attachWithInstrumentationClassLoader(SbtKanelaRunner.scala:121)
[error] at kamon.instrumentation.sbt.play.KanelaReloader$.startDevMode(KanelaReloader.scala:279)
[error] at play.sbt.run.KanelaPlayRun$.devModeServer$lzycompute$1(KanelaPlayRun.scala:65)
[error] at play.sbt.run.KanelaPlayRun$.devModeServer$1(KanelaPlayRun.scala:47)
[error] at play.sbt.run.KanelaPlayRun$.$anonfun$playRunTask$3(KanelaPlayRun.scala:72)
[error] at play.sbt.run.KanelaPlayRun$.$anonfun$playRunTask$3$adapted(KanelaPlayRun.scala:31)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] stack trace is suppressed; run last Compile / run for the full output
[error] (Compile / run) java.lang.IllegalStateException: Could not self-attach to current VM using external process
Beta Was this translation helpful? Give feedback.
All reactions