java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants

JDK Bug System | Amy Lu | 4 months ago
  1. 0

    java/lang/String/concat/WithSecurityManager.java fails after JDK-8163878, on all platforms. #section:main ----------messages:(4/194)---------- command: main -Xverify:all WithSecurityManager reason: User specified action: run main/othervm -Xverify:all WithSecurityManager Mode: othervm [/othervm specified] elapsed time (seconds): 0.855 ----------configuration:(0/0)---------- ----------System.out:(0/0)---------- ----------System.err:(64/5072)---------- java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants at WithSecurityManager$1.checkPermission(WithSecurityManager.java:57) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.exists(java.base@9-ea/File.java:815) at jdk.internal.loader.URLClassPath$FileLoader.getResource(java.base@9-ea/URLClassPath.java:1039) at jdk.internal.loader.URLClassPath.getResource(java.base@9-ea/URLClassPath.java:216) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:463) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:460) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:459) at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:406) at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) at WithSecurityManager.main(WithSecurityManager.java:61) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.ExceptionInInitializerError: makeConcatWithConstants ... 20 more JavaTest Message: Test threw exception: java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants JavaTest Message: shutting down test java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants at WithSecurityManager$1.checkPermission(WithSecurityManager.java:57) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.exists(java.base@9-ea/File.java:815) at jdk.internal.loader.URLClassPath$FileLoader.getResource(java.base@9-ea/URLClassPath.java:1039) at jdk.internal.loader.URLClassPath.getResource(java.base@9-ea/URLClassPath.java:216) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:463) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:460) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:459) at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:406) at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:118) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.ExceptionInInitializerError: makeConcatWithConstants ... 15 more Exception: java.lang.BootstrapMethodError thrown from the UncaughtExceptionHandler in thread "MainThread" Exception in thread "main" java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants at WithSecurityManager$1.checkPermission(WithSecurityManager.java:57) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.exists(java.base@9-ea/File.java:815) at jdk.internal.loader.URLClassPath$FileLoader.getResource(java.base@9-ea/URLClassPath.java:1039) at jdk.internal.loader.URLClassPath.getResource(java.base@9-ea/URLClassPath.java:216) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:463) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:460) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:459) at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:406) at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:81) Caused by: java.lang.ExceptionInInitializerError: makeConcatWithConstants ... 14 more

    JDK Bug System | 4 months ago | Amy Lu
    java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants
  2. 0

    java.lang.ExceptionInInitializerError Introduced in Maven Build 2/20/2015 1.0-SNAPSHOT

    GitHub | 2 years ago | jorgejordan
    java.lang.ExceptionInInitializerError: null
  3. 0

    JCE1.2.2 & Tomcat Problem

    Oracle Community | 1 decade ago | 843810
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trustedCAs: java.lang.ClassCastException: org.apache.tomcat.protocol.WARConnection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error while reading config file!! URGENT!

    Oracle Community | 2 decades ago | 807556
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
  6. 0

    java.util.MissingResourceException

    Netbeans Bugzilla | 2 decades ago | jzajicek
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find bundle for base name org.openide.explorer.propertysheet.editors.Bundle, locale en at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)

    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.ExceptionInInitializerError

      makeConcatWithConstants

      at WithSecurityManager$1.checkPermission()
    2. Unknown
      WithSecurityManager$1.checkPermission
      1. WithSecurityManager$1.checkPermission(WithSecurityManager.java:57)
      1 frame
    3. com.sun.javatest
      MainWrapper.main
      1. com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:81)
      1 frame