United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6685178 REGRESSION: NPE in ConnectorBootstrap when Agent.getManagementProperties() returns null.
JDK-6685178 : REGRESSION: NPE in ConnectorBootstrap when Agent.getManagementProperties() returns null.

Details
Type:
Bug
Submit Date:
2008-04-07
Status:
Resolved
Updated Date:
2010-09-28
Project Name:
JDK
Resolved Date:
2008-04-08
Component:
core-svc
OS:
generic
Sub-Component:
java.lang.management
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u7
Fixed Versions:
6u7 (b02)

Related Reports
Backport:
Backport:

Sub Tasks

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



Hardware and Software, Engineered to Work Together