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

java/lang/ref/ReferenceEnqueue.java fails with "RuntimeException: Error: poll() returned null; expected ref object"

    XMLWordPrintable

Details

    • gc
    • b79

    Backports

      Description

        ----------System.out:(0/0)----------
        ----------System.err:(14/873)----------
        java.lang.RuntimeException: Error: poll() returned null; expected ref object
        at ReferenceEnqueue$WeakRef.run(ReferenceEnqueue.java:74)
        at ReferenceEnqueue.main(ReferenceEnqueue.java:35)
        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:504)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:746)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Error: poll() returned null; expected ref object
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Error: poll() returned null; expected ref object

        Attachments

          Issue Links

            Activity

              People

                kbarrett Kim Barrett
                roland Roland Westrelin
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: