Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting exception running visualgc

rita_7856Mar 6 2015 — edited Mar 6 2015

Hi Everyone,

I Installed jvmstat and setup environment variables, and when I try to run:

$ visualgc 4117

Exception in thread "main" java.lang.NullPointerException

    at com.sun.jvmstat.tools.visualgc.MonitoredVmModel.getPermUsed(MonitoredVmModel.java:302)

    at com.sun.jvmstat.tools.visualgc.GCSample.<init>(GCSample.java:139)

    at com.sun.jvmstat.tools.visualgc.VisualGC.main(VisualGC.java:128)

Has anyone face this type of problem before?

Thanks

RR

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 3 2015
Added on Mar 6 2015
0 comments
1,314 views