5
环境信息
arthas-boot.jar或者as.sh的版本: xxx- Arthas 版本: 3.6.2
- 操作系统版本: Linux ubuntu 4.9.0-141-custom
- 目标进程的JVM版本: 1.8.0_171-b11
- 执行
arthas-boot的版本: xxx
- 使用stack命令
- 报错 java.lang.UnsupportedOperationException: class redefinition failed: attempted to change superclass or interfaces
期望能够正常执行stack命令
实际运行的结果2022-08-09 19:36:56 [arthas-command-execute] INFO c.t.a.core.util.InstrumentationUtils -ignore lambda class: org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask$$Lambda$1487/899812517, because jdk do not support retransform lambda class: https://github.com/alibaba/arthas/issues/1512.
2022-08-09 19:36:56 [arthas-command-execute] INFO c.t.a.core.util.InstrumentationUtils -ignore lambda class: org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask$$Lambda$1329/682502598, because jdk do not support retransform lambda class: https://github.com/alibaba/arthas/issues/1512.
2022-08-09 19:36:56 [arthas-command-execute] ERROR c.t.a.core.util.InstrumentationUtils -retransformClasses class error, name: org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask
java.lang.UnsupportedOperationException: class redefinition failed: attempted to change superclass or interfaces
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
at com.taobao.arthas.core.util.InstrumentationUtils.retransformClasses(InstrumentationUtils.java:32)
at com.taobao.arthas.core.command.klass100.JadCommand.processExactMatch(JadCommand.java:177)
at com.taobao.arthas.core.command.klass100.JadCommand.process(JadCommand.java:158)
at com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl.process(AnnotatedCommandImpl.java:82)
at com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl.access$100(AnnotatedCommandImpl.java:18)
at com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl$ProcessHandler.handle(AnnotatedCommandImpl.java:111)
at com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl$ProcessHandler.handle(AnnotatedCommandImpl.java:108)
at com.taobao.arthas.core.shell.system.impl.ProcessImpl$CommandProcessTask.run(ProcessImpl.java:385)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)