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

loopsAndThreads: java.lang.BootstrapMethodError: call site initialization exception, Caused by: java.lang.NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 7u60
    • hotspot
    • b07
    • generic
    • solaris

      Test vm/mlvm/indy/stress/java/loopsAndThreads fails with java.lang.BootstrapMethodError: call site initialization exception

      Test writes:
      Stress time: 60 seconds
      Stress iterations factor: 10
      Stress threads factor: 100
      # ERROR: Caught exception in Thread[Thread-73,5,main]
      # ERROR: java.lang.BootstrapMethodError: call site initialization exception
      # ERROR: at java.lang.invoke.CallSite.makeSite(CallSite.java:298)
      # ERROR: at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:294)
      # ERROR: at vm.mlvm.indy.stress.java.loopsAndThreads.INDIFY_Test.runThread(INDIFY_Test.java:12551)
      # ERROR: at vm.mlvm.share.MultiThreadedTest$2.run(MultiThreadedTest.java:46)
      # ERROR: at java.lang.Thread.run(Thread.java:722)
      # ERROR: Caused by: java.lang.NullPointerException
      # ERROR: at java.lang.invoke.InvokeGeneric.dispatch(InvokeGeneric.java:106)
      # ERROR: at java.lang.invoke.InvokeGeneric.dispatchWithConversion(InvokeGeneric.java:117)
      # ERROR: at java.lang.invoke.CallSite.makeSite(CallSite.java:270)
      # ERROR: ... 4 more
      # ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest$2.run(MultiThreadedTest.java:56):
      # ERROR: Thread Thread[Thread-73,5,main] failed
      ### TRACE 1: Target was called 1089482 times of 1090000
      ### TRACE 1: TEST FAILED


      #>
      #> SUMMARY: Following errors occured
      #> during test execution:
      #>
      # ERROR: Caught exception in Thread[Thread-73,5,main]
      # ERROR: java.lang.BootstrapMethodError: call site initialization exception
      # ERROR: at java.lang.invoke.CallSite.makeSite(CallSite.java:298)
      # ERROR: at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:294)
      # ERROR: at vm.mlvm.indy.stress.java.loopsAndThreads.INDIFY_Test.runThread(INDIFY_Test.java:12551)
      # ERROR: at vm.mlvm.share.MultiThreadedTest$2.run(MultiThreadedTest.java:46)
      # ERROR: at java.lang.Thread.run(Thread.java:722)
      # ERROR: Caused by: java.lang.NullPointerException
      # ERROR: at java.lang.invoke.InvokeGeneric.dispatch(InvokeGeneric.java:106)
      # ERROR: at java.lang.invoke.InvokeGeneric.dispatchWithConversion(InvokeGeneric.java:117)
      # ERROR: at java.lang.invoke.CallSite.makeSite(CallSite.java:270)
      # ERROR: ... 4 more
      # ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest$2.run(MultiThreadedTest.java:56):
      # ERROR: Thread Thread[Thread-73,5,main] failed

      It's pretty hard to reproduce it. I was able to reproduce it on 93rd iteration.

            neliasso Nils Eliasson (Inactive)
            ppunegov Pavel Punegov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: