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

vmTestbase/gc/gctests/LargeObjects/large004/TestDescription.java failed with NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      x86_64
    • OS:
      linux

      Description

      Added field objC .... 1
      Added field objP .... 1
      0: Testing non-null after GC force for: nsk.share.gc.newclass.public_combination_schild
      0: Unloading class: nsk.share.gc.newclass.public_combination_schild
      0: Result of uloading class nsk.share.gc.newclass.public_combination_schild: true
      0: Loading class: nsk.share.gc.newclass.static_combination_schild
      0: Class loaded: nsk.share.gc.newclass.static_combination_schild
      0: Instance of the class: nsk.share.gc.newclass.static_combination_schild@e6fe965
      Added field objC .... 1
      Added field objP .... 1
      0: Testing non-null after GC force for: nsk.share.gc.newclass.static_combination_schild
      0: Unloading class: nsk.share.gc.newclass.static_combination_schild
      0: Result of uloading class nsk.share.gc.newclass.static_combination_schild: false
      0: Loading class: nsk.share.gc.newclass.transient_combination_schild
      0: Class loaded: nsk.share.gc.newclass.transient_combination_schild
      0: Instance of the class: nsk.share.gc.newclass.transient_combination_schild@36d88a1f
      Added field objC .... 1
      Added field objP .... 1
      0: Testing non-null after GC force for: nsk.share.gc.newclass.transient_combination_schild
      0: Unloading class: nsk.share.gc.newclass.transient_combination_schild
      0: Result of uloading class nsk.share.gc.newclass.transient_combination_schild: false
      0: Loading class: nsk.share.gc.newclass.volatile_combination_schild
      0: Class loaded: nsk.share.gc.newclass.volatile_combination_schild
      0: Instance of the class: nsk.share.gc.newclass.volatile_combination_schild@42ae1480
      Exception in
      gc.gctests.LargeObjects.large001.large001$Worker@3139913e
      nsk.share.TestFailure: Unexpected exception:
      at gc.gctests.LargeObjects.large001.large001$Worker.run(large001.java:179)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:83)
      Caused by: java.lang.NullPointerException
      at java.base/java.lang.String.length(String.java:674)
      at java.base/java.lang.String.startsWith(String.java:1448)
      at java.base/java.lang.String.startsWith(String.java:1491)
      at gc.gctests.LargeObjects.large001.large001$Worker.addObjRef(large001.java:191)
      at gc.gctests.LargeObjects.large001.large001$Worker.run(large001.java:148)
      ... 1 more
      Failures summary:
      nsk.share.TestFailure: Unexpected exception:
      at gc.gctests.LargeObjects.large001.large001$Worker.run(large001.java:179)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:83)
      Caused by: java.lang.NullPointerException
      at java.base/java.lang.String.length(String.java:674)
      at java.base/java.lang.String.startsWith(String.java:1448)
      at java.base/java.lang.String.startsWith(String.java:1491)
      at gc.gctests.LargeObjects.large001.large001$Worker.addObjRef(large001.java:191)
      at gc.gctests.LargeObjects.large001.large001$Worker.run(large001.java:148)
      ... 1 more
      ----------System.err:(16/960)----------
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.share.gc.GC.runTest(GC.java:114)
      at gc.gctests.LargeObjects.large001.large001.main(large001.java:253)
      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:567)
      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: nsk.share.TestFailure: Test exit code: 97
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: nsk.share.TestFailure: Test exit code: 97

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: