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 Availability Release.

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

EVALUATION Need to check for null value in the call Agent.getManagementProperties().

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).