You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error during processing the command: java.lang.NullPointerException, message:null, please check $HOME/logs/arthas/arthas.log for more details.
把异常信息贴到这里
2024-07-22 15:03:08 [arthas-command-execute] ERROR c.t.a.c.s.system.impl.ProcessImpl -Error during processing the command:
java.lang.NullPointerException: null
at com.taobao.arthas.core.util.ThreadUtil.getFullStacktrace(ThreadUtil.java:307)
at com.taobao.arthas.core.command.view.ThreadView.draw(ThreadView.java:31)
at com.taobao.arthas.core.command.view.ThreadView.draw(ThreadView.java:20)
at com.taobao.arthas.core.distribution.impl.TermResultDistributorImpl.appendResult(TermResultDistributorImpl.java:28)
at com.taobao.arthas.core.shell.system.impl.ProcessImpl.appendResult(ProcessImpl.java:268)
at com.taobao.arthas.core.shell.system.impl.ProcessImpl.access$2100(ProcessImpl.java:38)
at com.taobao.arthas.core.shell.system.impl.ProcessImpl$CommandProcessImpl.appendResult(ProcessImpl.java:620)
at com.taobao.arthas.core.command.monitor200.ThreadCommand.processTopBusyThreads(ThreadCommand.java:218)
at com.taobao.arthas.core.command.monitor200.ThreadCommand.process(ThreadCommand.java:122)
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:855)
at com.alibaba.wisp.engine.WispTask.runOutsideWisp(WispTask.java:299)
at com.alibaba.wisp.engine.WispTask.runCommand(WispTask.java:274)
at com.alibaba.wisp.engine.WispTask.access$100(WispTask.java:53)
at com.alibaba.wisp.engine.WispTask$CacheableCoroutine.run(WispTask.java:241)
at java.dyn.CoroutineBase.startInternal(CoroutineBase.java:62)
在 wisp 的场景,执行 thread -n -1 会出错 #2342 这个错误修改不完全
环境信息
重现问题的步骤
期望的结果
得到进程信息
实际运行的结果
Error during processing the command: java.lang.NullPointerException, message:null, please check $HOME/logs/arthas/arthas.log for more details.
ThreadUtil.getFullStacktrace方法,没有对参数中的BusyThreadInfo中为null的信息做判断,导致NPE
The text was updated successfully, but these errors were encountered: