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

RedefineNestmateAttr/TestNestmateAttr.java fails due to ObjectCollectedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • core-svc
    • b19
    • x86_64
    • linux

      The following test failed in the JDK 14 CI:

      com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java

      Here's a snippet from the log file:

      ----------System.err:(26/2622)----------
      [11ms] run args: [ -cp /opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1428/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1367c1da-e273-412a-8b45-5322dd026e5f/runs/5932db7b-c64d-48a7-af4d-51330d5de022/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.d:/opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1428/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1367c1da-e273-412a-8b45-5322dd026e5f/runs/5932db7b-c64d-48a7-af4d-51330d5de022/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/test/lib:/opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1428/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1367c1da-e273-412a-8b45-5322dd026e5f/runs/5932db7b-c64d-48a7-af4d-51330d5de022/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/com/sun/jdi, Target, HostA]
      [2792ms] FAILED: Exception occured in eventHandler: com.sun.jdi.ObjectCollectedException
      com.sun.jdi.ObjectCollectedException
      at jdk.jdi/com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:55)
      at jdk.jdi/com.sun.tools.jdi.ReferenceTypeImpl.classLoader(ReferenceTypeImpl.java:234)
      at TestNestmateAttr.findReferenceTypes(TestNestmateAttr.java:382)
      at TestNestmateAttr.methodEntered(TestNestmateAttr.java:321)
      at TestScaffold$EventHandler.notifyEvent(TestScaffold.java:202)
      at TestScaffold$EventHandler.run(TestScaffold.java:276)
      at java.base/java.lang.Thread.run(Thread.java:830)
      java.lang.Exception: TestNestmateAttr: failure reported - check log for details
      at TestNestmateAttr.runTests(TestNestmateAttr.java:248)
      at TestScaffold.startTests(TestScaffold.java:431)
      at TestNestmateAttr.main(TestNestmateAttr.java:228)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.Exception: TestNestmateAttr: failure reported - check log for details
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: TestNestmateAttr: failure reported - check log for details
      IOException reading output of child java interpreter:Stream closed
      ----------rerun:(39/7038)*----------


      This line stands out to me:

      FAILED: Exception occured in eventHandler: com.sun.jdi.ObjectCollectedException

            dholmes David Holmes
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: