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

javax/management/remote/mandatory/threads/ExecutorTest.java fails intermittently

XMLWordPrintable

        javax/management/remote/mandatory/threads/ExecutorTest.java fails intermittently

        #section:main
        ----------messages:(3/111)----------
        command: main ExecutorTest
        reason: User specified action: run main ExecutorTest
        elapsed time (seconds): 0.858
        ----------System.out:(13/244)----------

        TEST: rmi
        Test with no executor in env
        Got notifications
        Test with null executor in env
        Got notifications
        Test with non-null executor in env
        Got notifications
        Executor was called enough times

        Ignoring protocol: iiop

        Ignoring protocol: jmxmp
        ----------System.err:(20/1589)----------
        java.lang.reflect.UndeclaredThrowableException
        at com.sun.proxy.$Proxy0.execute(Unknown Source)
        at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.doRun(ClientNotifForwarder.java:560)
        at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run(ClientNotifForwarder.java:451)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1158)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:632)
        at java.lang.Thread.run(Thread.java:747)
        Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:520)
        at ExecutorTest$CountInvocationHandler.invoke(ExecutorTest.java:240)
        ... 6 more
        Caused by: java.util.concurrent.RejectedExecutionException: Task com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher@5d5b68bb rejected from java.util.concurrent.ThreadPoolExecutor@5964f7c8[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 9]
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2073)
        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:839)
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1385)
        ... 11 more
        STATUS:Failed.`main' threw exception: java.lang.reflect.UndeclaredThrowableException

              hb Harsha Wardhana B (Inactive)
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: