JDK-8027209 : javax/management/monitor/ThreadPoolAccTest.java fails intermittently
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-10-24
  • Updated: 2014-04-29
  • Resolved: 2013-11-12
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.
JDK 8 Other
8 b117Fixed port-stage-ppc-aixFixed
Related Reports
Duplicate :  
Relates :  
Description
javax/management/monitor/ThreadPoolAccTest.java
TESTFAIL:javax/management/monitor/ThreadPoolAccTest.java

This test was reported fail with fastdebug VM in JDK-7061191, along with other javax/management tests.

It also fails intermittently in TL nightly testing, with same NPE as JDK-7061191:

----------messages:(3/121)----------
command: main ThreadPoolAccTest
reason: User specified action: run main ThreadPoolAccTest 
elapsed time (seconds): 5.272
----------System.out:(23/1003)----------
>>> CREATE MBeanServer
>>> CREATE ObservedObject = :type=ObservedObject,instance=0
>>> CREATE Monitor = :type=CounterMonitor,instance=0
>>> RUN Principal = role1
>>> CREATE ObservedObject = :type=ObservedObject,instance=1
>>> CREATE Monitor = :type=GaugeMonitor,instance=1
>>> RUN Principal = role1
>>> CREATE ObservedObject = :type=ObservedObject,instance=2
>>> CREATE Monitor = :type=StringMonitor,instance=2
>>> RUN Principal = role1
>>> CREATE ObservedObject = :type=ObservedObject,instance=3
>>> CREATE Monitor = :type=CounterMonitor,instance=3
>>> RUN Principal = role2
>>> CREATE ObservedObject = :type=ObservedObject,instance=4
>>> CREATE Monitor = :type=GaugeMonitor,instance=4
>>> RUN Principal = role2
>>> CREATE ObservedObject = :type=ObservedObject,instance=5
>>> CREATE Monitor = :type=StringMonitor,instance=5
>>> RUN Principal = role2
>>> Monitor = :type=CounterMonitor,instance=0
>>> ObservedObject = :type=ObservedObject,instance=0
>>> ObservedAttribute = Integer
>>> Principal = null
----------System.err:(14/731)----------
java.lang.NullPointerException
	at ThreadPoolAccTest.runTest(ThreadPoolAccTest.java:162)
	at ThreadPoolAccTest.main(ThreadPoolAccTest.java:192)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:744)

JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.NullPointerException


Comments
ILW=MLH=P4, Intermittent test failures, no known workaround
28-10-2013