|
Quick Lists
|
|
Bug ID:
|
6658779
|
|
Votes
|
0
|
|
Synopsis
|
Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException
|
|
Category
|
java:classes_management
|
|
Reported Against
|
|
|
Release Fixed
|
7(b26),
6u10(b20) (Bug ID:2160314)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
|
|
Submit Date
|
04-FEB-2008
|
|
Description
|
Just call HotSpotDiagnostic.getDiagnosticOptions() and you get the exception below:
java.lang.NullPointerException
at xxxxx .management.Flag.getVMOption(Flag.java:67)
at xxxxx .management.HotSpotDiagnostic.getDiagnosticOptions(HotSpotDiagnostic.java:48)
at GetDiagnosticOptions.checkDiagnosticOptions(GetDiagnosticOptions.java:56)
at GetDiagnosticOptions.main(GetDiagnosticOptions.java:46)
at xxxxx .reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at xxxxx .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at xxxxx .reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com. xxxxx .javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
at java.lang.Thread.run(Thread.java:674)
Works with 6u5 - throws NPE with 6u10 and OpenJDK 7.
Posted Date : 2008-02-04 15:54:50.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Some string VM option was changed from an empty string to NULL in HotSpot due to a fix for
6604006. So we need to deal with VM options with null value.
Posted Date : 2008-02-11 22:38:16.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |