5
环境信息
arthas-boot.jar
或者as.sh
的版本:3.6.7- Arthas 版本: 3.6.7
- 操作系统版本: Ubuntu 22.04
- 目标进程的JVM版本: opendjk17
- 执行
arthas-boot
的版本: 3.6.7
- 在控制执行logger命令没有没有响应
有日志信息返回
实际运行的结果2023-09-14 08:57:02 [arthas-command-execute] ERROR c.t.a.c.command.logger.LoggerCommand -arthas loggger command try to define helper class error: com.taobao.arthas.core.command.logger.LogbackHelper2a869a16366d8b97
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "cause" is null
at com.taobao.arthas.common.ReflectException.<init>(ReflectException.java:9)
at com.taobao.arthas.common.ReflectUtils.defineClass(ReflectUtils.java:493)
at com.taobao.arthas.common.ReflectUtils.defineClass(ReflectUtils.java:418)
at com.taobao.arthas.core.command.logger.LoggerCommand.helperClassNameWithClassLoader(LoggerCommand.java:301)
at com.taobao.arthas.core.command.logger.LoggerCommand.loggerInfo(LoggerCommand.java:315)
at com.taobao.arthas.core.command.logger.LoggerCommand.loggers(LoggerCommand.java:237)
at com.taobao.arthas.core.command.logger.LoggerCommand.process(LoggerCommand.java:144)
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.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)