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 | 4 months ago
  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 | 4 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)
  2. 0

    ----------System.err:(34/2714)---------- Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled. Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize= java.lang.BootstrapMethodError: call site initialization exception at java.lang.invoke.CallSite.makeSite(java.base@9-internal/CallSite.java:347) at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(java.base@9-internal/MethodHandleNatives.java:250) at java.lang.invoke.MethodHandleNatives.linkCallSite(java.base@9-internal/MethodHandleNatives.java:240) at jdk.test.lib.Asserts.getMessage(Asserts.java:451) at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:292) at OverflowCodeCacheTest.test(OverflowCodeCacheTest.java:85) at OverflowCodeCacheTest.main(OverflowCodeCacheTest.java:57) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) Caused by: java.lang.invoke.StringConcatException: Generator failed at java.lang.invoke.StringConcatFactory.generate(java.base@9-internal/StringConcatFactory.java:732) at java.lang.invoke.StringConcatFactory.doStringConcat(java.base@9-internal/StringConcatFactory.java:637) at java.lang.invoke.StringConcatFactory.makeConcatWithConstants(java.base@9-internal/StringConcatFactory.java:552) at java.lang.invoke.CallSite.makeSite(java.base@9-internal/CallSite.java:300) ... 12 more Caused by: java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic at java.lang.invoke.BoundMethodHandle$Species_L11.copyWithExtendL(java.base@9-internal/Species_L11) at java.lang.invoke.MethodHandles.foldArguments(java.base@9-internal/MethodHandles.java:4837) at java.lang.invoke.MethodHandles.foldArguments(java.base@9-internal/MethodHandles.java:3814) at java.lang.invoke.StringConcatFactory$MethodHandleInlineCopyStrategy.generate(java.base@9-internal/StringConcatFactory.java:1602) at java.lang.invoke.StringConcatFactory.generate(java.base@9-internal/StringConcatFactory.java:727) ... 15 more

    JDK Bug System | 6 months ago | Joseph Provino
    java.lang.BootstrapMethodError: call site initialization exception at java.lang.invoke.CallSite.makeSite(java.base@9-internal/CallSite.java:347) at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(java.base@9-internal/MethodHandleNatives.java:250) at java.lang.invoke.MethodHandleNatives.linkCallSite(java.base@9-internal/MethodHandleNatives.java:240)
  3. 0

    To reproduce this, run the following in JIGSAW mode (with JIGSAW_HOME set to a JDK 9 jigsaw build with javafx modules). $ gradle --info -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests test.robot.javafx.embed.swing.RT30650Test test.robot.javafx.embed.swing.RT30650Test > test STANDARD_ERROR Exception in thread "JavaFX Application Thread" java.lang.BootstrapMethodError: java.lang.IllegalAccessError: class test.robot.javafx.embed.swing.RT30650GUI (in unnamed module @0x7f8ac96d) cannot access class com.sun.javafx.tk.TKPulseListener (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.tk to unnamed module @0x7f8ac96d at test.robot.javafx.embed.swing.RT30650GUI.lambda$start$2(RT30650GUI.java:98) at com.sun.javafx.application.PlatformImpl.lambda$runLater$5(javafx.graphics@9-internal/PlatformImpl.java:315) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(javafx.graphics@9-internal/PlatformImpl.java:314) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(javafx.graphics@9-internal/InvokeLaterDispatcher.java:96) at com.sun.glass.ui.gtk.GtkApplication._runLoop(javafx.graphics@9-internal/Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$5(javafx.graphics@9-internal/GtkApplication.java:139) at java.lang.Thread.run(java.base@9-internal/Thread.java:804) Caused by: java.lang.IllegalAccessError: class test.robot.javafx.embed.swing.RT30650GUI (in unnamed module @0x7f8ac96d) cannot access class com.sun.javafx.tk.TKPulseListener (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.tk to unnamed module @0x7f8ac96d ... 8 more Gradle Test Executor 47 finished executing tests. test.robot.javafx.embed.swing.RT30650Test > test FAILED java.lang.Exception: test timed out after 10000 milliseconds at jdk.internal.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:869) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1023) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1332) at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:205) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:148) at javafx.application.Application.launch(Application.java:252) at test.robot.javafx.embed.swing.RT30650GUI.test(RT30650GUI.java:65) at test.robot.javafx.embed.swing.RT30650Test.test(RT30650Test.java:39)

    JDK Bug System | 8 months ago | Kevin Rushforth
    java.lang.BootstrapMethodError: java.lang.IllegalAccessError: class test.robot.javafx.embed.swing.RT30650GUI (in unnamed module @0x7f8ac96d) cannot access class com.sun.javafx.tk.TKPulseListener (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.tk to unnamed module @0x7f8ac96d
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Javassist: Side effects of ClassPool.makeClass()?

    Stack Overflow | 1 year ago | MRalwasser
    java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: Could not initialize class java.lang.invoke.CallSite
  6. 0

    It seems that unicode file names are destroyed when creating the Uber jar

    GitHub | 6 months ago | danieldietrich
    java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: javaslang/?

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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