mofee commented on issue #11876:
URL: https://github.com/apache/skywalking/issues/11876#issuecomment-2303498622

   > > I had the same problem: apache-skywalking-java-agent-9.3.0 ERROR 
2024-08-20 18:20:34.670 main SkyWalkingAgent : index=0, batch=[class 
ch.qos.logback.classic.spi.LoggingEvent], types=[class 
ch.qos.logback.classic.spi.LoggingEvent] 
java.lang.UnsupportedOperationException: class redefinition failed: attempted 
to change superclass or interfaces at 
java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native 
Method) at 
java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:225)
 at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
 at java.base/java.lang.reflect.Method.invoke(Method.java:580) at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.utility.Invoker$Dispatcher.invoke(Unknown
 Source) at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.utility.dispatcher.JavaDispatcher$Dispatcher$ForNonStaticMethod.invoke(JavaDispatcher.java:1032)
 at org.apache.skywalking.apm
 
.dependencies.net.bytebuddy.utility.dispatcher.JavaDispatcher$ProxiedInvocationHandler.invoke(JavaDispatcher.java:1162)
 at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.$Proxy32.retransformClasses(Unknown
 Source) at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector$ForRetransformation.doApply(AgentBuilder.java:8336)
 at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector.apply(AgentBuilder.java:8151)
 at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy.apply(AgentBuilder.java:5848)
 at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default.doInstall(AgentBuilder.java:11462)
 at 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default.installOn(AgentBuilder.java:11362)
 at org.apache.skywalking.apm.agent.SkyWalkingAgent.installClassTran
 sformer(SkyWalkingAgent.java:152) at 
org.apache.skywalking.apm.agent.SkyWalkingAgent.premain(SkyWalkingAgent.java:105)
 at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
 at java.base/java.lang.reflect.Method.invoke(Method.java:580) at 
java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:560)
 at 
java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:572)
   > 
   > jar io.projectreactor reactor-core causing problems
   
   No, i found that it seems that the debug agent of IDEA conflicts with 
bytebuddy of skywalking java agent. It is OK to run without IDEA, or run (not 
debug)in IDEA does not report this error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to