Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2200479 | 6u22 | Daniel Daugherty | P4 | Closed | Won't Fix |
On Windows when TMP variable is set to nonexistent directory, NullPointerException is thrown:
> set TMP=n:\nonexistent
> jps
Exception in thread "main" java.lang.NullPointerException
at sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.activeVms(LocalVmManager.java:127)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.activeVms(MonitoredHostProvider.java:133)
at sun.tools.jps.Jps.main(Jps.java:45)
> jconsole
(no connection dialog is displayed)
> set TMP=n:\nonexistent
> jps
Exception in thread "main" java.lang.NullPointerException
at sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.activeVms(LocalVmManager.java:127)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.activeVms(MonitoredHostProvider.java:133)
at sun.tools.jps.Jps.main(Jps.java:45)
> jconsole
(no connection dialog is displayed)
- backported by
-
JDK-2200479 NPE is thrown when TMP set to non-existent directory
-
- Closed
-
- duplicates
-
JDK-6537552 JConsole get NPE if TMP directory doesn't exist
-
- Closed
-
-
JDK-6988963 NPE is thrown when TMP set to non-existent directory
-
- Closed
-
- relates to
-
JDK-6335921 AttachProvider.listVirtualMachines should only return VMs that we can attach too
-
- Resolved
-