sheiy opened a new issue, #12992:
URL: https://github.com/apache/skywalking/issues/12992

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   Java Agent (apache/skywalking-java)
   
   ### What happened
   
   skywalking-agent/activations/apm-toolkit-logging-common-9.3.0.jar loaded. 
   ERROR 2025-01-17 17:54:00.440 main SkyWalkingAgent : index=0, batch=[class 
org.apache.logging.log4j.core.impl.Log4jLogEvent, class 
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.log.GRPCLogClientAppender, 
class org.apache.logging.log4j.core.async.AsyncLoggerConfig, class 
org.apache.logging.log4j.core.appender.AsyncAppender, class 
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.TraceIdConverter, class 
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.SkyWalkingContextConverter], 
types=[class org.apache.logging.log4j.core.impl.Log4jLogEvent, class 
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.log.GRPCLogClientAppender, 
class org.apache.logging.log4j.core.async.AsyncLoggerConfig, class 
org.apache.logging.log4j.core.appender.AsyncAppender, class 
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.TraceIdConverter, class 
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.SkyWalkingContextConverter] 
   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.$Proxy35.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.installClassTransformer(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)
   
   
   ### What you expected to happen
   
   start success
   
   ### How to reproduce
   
   just run the app
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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