Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-6685178 : REGRESSION: NPE in ConnectorBootstrap when Agent.getManagementProperties() returns null.
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 6u7
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-04-07
  • Updated: 2010-09-28
  • Resolved: 2008-04-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u7 b02Fixed 7Resolved
Description
An NPE in ConnectorBootstrap is preventing the out-of-the-box management agent to initialize and start.

Comments
EVALUATION Need to check for null value in the call Agent.getManagementProperties().
2008-04-07

WORK AROUND This problem only shows up when the management agent is loaded through the Attach API. In order to workaround this problem just start the java application with the -Dcom.sun.managment.jmxremote option enabled (or any of the other management options available).
2008-04-07