Hi community:
        When using skywalking java agent, our service failed to start showing 
the following exception:
        Do you have any idea about this?

{"agent_name”:"xxx","level":"ERROR","throwable":"\njava.lang.UnsupportedOperationException:
 class redefinition failed: attempted to change superclass or interfaces\n\tat 
java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native 
Method)\n\tat 
java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:169)\n\tat
 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)\n\tat 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\n\tat
 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat 
org.apache.skywalking.apm.dependencies.net.bytebuddy.utility.Invoker$Dispatcher.invoke(Unknown
 Source)\n\tat 
org.apache.skywalking.apm.dependencies.net.bytebuddy.utility.dispatcher.JavaDispatcher$Dispatcher$ForNonStaticMethod.invoke(JavaDispatcher.java:1032)\n\tat
 
org.apache.skywalking.apm.dependencies.net.bytebuddy.utility.dispatcher.JavaDispatcher$ProxiedInvocationHandler.invoke(JavaDispatcher.java:1162)\n\tat
 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.$Proxy52.retransformClasses(Unknown
 Source)\n\tat 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector$ForRetransformation.doApply(AgentBuilder.java:8336)\n\tat
 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector.apply(AgentBuilder.java:8151)\n\tat
 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy.apply(AgentBuilder.java:5848)\n\tat
 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default.doInstall(AgentBuilder.java:11462)\n\tat
 
org.apache.skywalking.apm.dependencies.net.bytebuddy.agent.builder.AgentBuilder$Default.installOn(AgentBuilder.java:11362)\n\tat
 
org.apache.skywalking.apm.agent.SkyWalkingAgent.installClassTransformer(SkyWalkingAgent.java:158)\n\tat
 
org.apache.skywalking.apm.agent.SkyWalkingAgent.premain(SkyWalkingAgent.java:111)\n\tat
 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)\n\tat 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\n\tat
 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat 
java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)\n\tat
 
java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)\n","logger":"SkyWalkingAgent","thread":"main","message":"Skywalking-Agent-Log
 agentTag:prod index\u003d0, batch\u003d[class 
java.util.concurrent.ScheduledThreadPoolExecutor, class 
java.util.concurrent.ThreadPoolExecutor], types\u003d[class 
java.util.concurrent.ScheduledThreadPoolExecutor, class 
java.util.concurrent.ThreadPoolExecutor]","timestamp":"2024-09-11 06:37:37.021”}


B.R.

Reply via email to