java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250)

JDK Bug System | Frank Yuan | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ----------System.err:(207/17447)---------- java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more STATUS:Passed.java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at java.util.concurrent.ConcurrentHashMap.fullAddCount(java.base@9-ea/ConcurrentHashMap.java:2583) at java.util.concurrent.ConcurrentHashMap.addCount(java.base@9-ea/ConcurrentHashMap.java:2332) at java.util.concurrent.ConcurrentHashMap.replaceNode(java.base@9-ea/ConcurrentHashMap.java:1179) at java.util.concurrent.ConcurrentHashMap.remove(java.base@9-ea/ConcurrentHashMap.java:1108) at java.lang.invoke.MethodType$ConcurrentWeakInternSet.expungeStaleElements(java.base@9-ea/MethodType.java:1291) at java.lang.invoke.MethodType$ConcurrentWeakInternSet.get(java.base@9-ea/MethodType.java:1250) at java.lang.invoke.MethodType.makeImpl(java.base@9-ea/MethodType.java:305) at java.lang.invoke.MethodType.methodType(java.base@9-ea/MethodType.java:210) at java.lang.invoke.LambdaForm.methodType(java.base@9-ea/LambdaForm.java:550) at java.lang.invoke.DirectMethodHandle.preparedLambdaForm(java.base@9-ea/DirectMethodHandle.java:175) at java.lang.invoke.DirectMethodHandle.make(java.base@9-ea/DirectMethodHandle.java:86) at java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(java.base@9-ea/MethodHandles.java:2033) at java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager(java.base@9-ea/MethodHandles.java:1990) at java.lang.invoke.MethodHandles$Lookup.getDirectMethodForConstant(java.base@9-ea/MethodHandles.java:2221) at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(java.base@9-ea/MethodHandles.java:2170) at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(java.base@9-ea/MethodHandleNatives.java:499) ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250) at Test4822050.parse(Test4822050.java:79) at Test4822050.run(Test4822050.java:74) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ... 15 more STATUS:Failed.STATUS:Failed.STATUS:`main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom STATUS:Failed.STATUS:Failed.STATUS:Failed.STATUS:`main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom STATUS:Failed.STATUS:Failed. `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom Failed.`main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom Failed.`main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom STATUS:Failed.`main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom ----------rerun:(23/1607)*---------- HOME=/home/mach5-on \\ LC_ALL=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ TZ=localtime \\ buildid=BUILD_ID \\ CLASSPATH=/scratch/jenkins/workspace/9-dev/testresults/solaris-sparcv9/tier3/JTwork/jdk_test/classes/3/java/beans/XMLEncoder:/scratch/jenkins/workspace/9-dev/jdk/test/java/beans/XMLEncoder:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/javatest.jar:/scratch/jenkins/workspace/mach5data/unpacked/jpg/infra/builddeps/jtreg-4.2/1.2/jtreg/lib/jtreg.jar \\ /scratch/jenkins/workspace/9-dev/jdk/bin/java \\ -Dtest.src=/scratch/jenkins/workspace/9-dev/jdk/test/java/beans/XMLEncoder \\ -Dtest.src.path=/scratch/jenkins/workspace/9-dev/jdk/test/java/beans/XMLEncoder \\ -Dtest.classes=/scratch/jenkins/workspace/9-dev/testresults/solaris-sparcv9/tier3/JTwork/jdk_test/classes/3/java/beans/XMLEncoder \\ -Dtest.class.path=/scratch/jenkins/workspace/9-dev/testresults/solaris-sparcv9/tier3/JTwork/jdk_test/classes/3/java/beans/XMLEncoder \\ -Dtest.vm.opts='-ea -esa -Xmx512m' \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/scratch/jenkins/workspace/9-dev/jdk \\ -Dcompile.jdk=/scratch/jenkins/workspace/9-dev/jdk \\ -Dtest.timeout.factor=6.0 \\ -Dtest.modules=java.desktop \\ -ea \\ -esa \\ -Xmx512m \\ com.sun.javatest.regtest.agent.MainWrapper /scratch/jenkins/workspace/9-dev/testresults/solaris-sparcv9/tier3/JTwork/jdk_test/java/beans/XMLEncoder/Test4822050.d/main.0.jta result: Failed. Execution failed: `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom test result: Failed. Execution failed: `main' threw exception: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom

    JDK Bug System | 7 months ago | Frank Yuan
    java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250)

    Root Cause Analysis

    1. java.lang.BootstrapMethodError

      java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom at javax.xml.parsers.FactoryFinder.find(java.xml@9-ea/FactoryFinder.java:225) at javax.xml.parsers.SAXParserFactory.newInstance(java.xml@9-ea/SAXParserFactory.java:132) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:375) at com.sun.beans.decoder.DocumentHandler$1.run(java.desktop@9-ea/DocumentHandler.java:372) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@9-ea/ProtectionDomain.java:77) at com.sun.beans.decoder.DocumentHandler.parse(java.desktop@9-ea/DocumentHandler.java:372) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:201) at java.beans.XMLDecoder$1.run(java.desktop@9-ea/XMLDecoder.java:199) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.beans.XMLDecoder.parsingComplete(java.desktop@9-ea/XMLDecoder.java:199) at java.beans.XMLDecoder.readObject(java.desktop@9-ea/XMLDecoder.java:250)

      at Test4822050.parse()
    2. Unknown
      Test4822050.run
      1. Test4822050.parse(Test4822050.java:79)
      2. Test4822050.run(Test4822050.java:74)
      2 frames