Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动报错 #2982

Open
1 task done
fanyuanhang opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

启动报错 #2982

fanyuanhang opened this issue Jan 9, 2025 · 0 comments

Comments

@fanyuanhang
Copy link

fanyuanhang commented Jan 9, 2025

  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: xxx
  • Arthas 版本: xxx
  • 操作系统版本: xxx
  • 目标进程的JVM版本: xxx
  • 执行arthas-boot的版本: xxx

重现问题的步骤

  1. xxx
  2. xxx
  3. xxx

期望的结果

What do you expected from the above steps?

实际运行的结果

实际运行结果,最好有详细的日志,异常栈。尽量贴文本。

把异常信息贴到这里
root@iZ2zeclgm6tesstqavptwwZ local]# java -Darthas.debug=true -jar arthas-boot.jar
[INFO] JAVA_HOME: /usr/lib/jvm/jdk1.8.0_202/jre
[INFO] arthas-boot version: 4.0.4
[INFO] Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.
* [1]: 19502 math-game.jar
1
[INFO] arthas home: /root/.arthas/lib/4.0.4/arthas
[INFO] Try to attach process 19502
Picked up JAVA_TOOL_OPTIONS: 
com.sun.tools.attach.AttachOperationFailedException: java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile
        at sun.tools.attach.LinuxVirtualMachine.execute(LinuxVirtualMachine.java:229)
        at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
        at sun.tools.attach.HotSpotVirtualMachine.getSystemProperties(HotSpotVirtualMachine.java:144)
        at com.taobao.arthas.core.Arthas.attachAgent(Arthas.java:105)
        at com.taobao.arthas.core.Arthas.<init>(Arthas.java:27)
        at com.taobao.arthas.core.Arthas.main(Arthas.java:161)
[ERROR] Start arthas failed, exception stack trace: 
[ERROR] attach fail, targetPid: 19502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant