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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Frank Yuan,
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.