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

NullPointerException in java.util.concurrent.ThreadLocalRandom.getProbe()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 9
    • 9
    • hotspot

      Different tests started to fail with the root cause being a NullPointerException in java.util.concurrent.ThreadLocalRandom.getProbe():

      Caused by: java.lang.NullPointerException
      at java.util.concurrent.ThreadLocalRandom.getProbe(ThreadLocalRandom.java:982)
      at java.util.concurrent.ConcurrentHashMap.fullAddCount(ConcurrentHashMap.java:2581)
      at java.util.concurrent.ConcurrentHashMap.addCount(ConcurrentHashMap.java:2330)
      at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1080)
      at java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1547)
      at java.lang.invoke.MethodType$ConcurrentWeakInternSet.add(MethodType.java:1282)
      at java.lang.invoke.MethodType.makeImpl(MethodType.java:314)
      at java.lang.invoke.MethodHandleNatives.findMethodHandleType(MethodHandleNatives.java:287)
      at java.util.concurrent.ThreadLocalRandom.initialSeed(ThreadLocalRandom.java:137)
      at java.util.concurrent.ThreadLocalRandom.<clinit>(ThreadLocalRandom.java:134)

            thartmann Tobias Hartmann
            zmajo Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: