-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
vjtop-1.0.5在 jdk1.7.0_80运行空指针异常 #144
Comments
你能JMX连一下,看有没有java.nio.BufferPool对象 |
VMinfo.java 371行报错:Cannot resolve method 'getMappedBufferPool() |
|
fixed |
[root@xx]# vjtop.sh 3028
/home/ftprazor/yong/vjtools/jdk1.7.0_80/bin/java
java.lang.NullPointerException
at com.vip.vjtools.vjtop.VMInfo.updateMemoryPool(VMInfo.java:359)
at com.vip.vjtools.vjtop.VMInfo.update(VMInfo.java:226)
at com.vip.vjtools.vjtop.VMDetailView.printView(VMDetailView.java:64)
at com.vip.vjtools.vjtop.VJTop.run(VJTop.java:159)
at com.vip.vjtools.vjtop.VJTop.main(VJTop.java:141)
PID: 3028 - 11:43:46 JVM: 1.6.0_41 USER: root UPTIME: 2d22h
PROCESS: 0.00% cpu( 0.00% of 8 core), 346 thread
MEMORY: 1763m rss, 1769m peak, 0m swap | DISK: 0B read, 0B write
THREAD: 330 live, 45 daemon, 336 peak, 0 new | CLASS: 13003 loaded, 282 unloaded, 0 new
HEAP: 192m/387m/389m eden, 34m/56m sur, 611m/1008m old
NON-HEAP: 55m/56m/64m perm, 19m/22m/48m codeCache
java.lang.NullPointerException
at com.vip.vjtools.vjtop.VMDetailView.printJvmInfo(VMDetailView.java:158)
at com.vip.vjtools.vjtop.VMDetailView.printView(VMDetailView.java:71)
at com.vip.vjtools.vjtop.VJTop.run(VJTop.java:159)
at com.vip.vjtools.vjtop.VJTop.main(VJTop.java:141)
The text was updated successfully, but these errors were encountered: