Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027209

javax/management/monitor/ThreadPoolAccTest.java fails intermittently

    Details

    • Subcomponent:
    • Resolved In Build:
      b117
    • Verification:
      Not verified

      Backports

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  egahlin Erik Gahlin
                  Reporter:
                  amlu Amy Lu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: