Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-119961

FATAL ERROR: java.lang.ExceptionInInitializerError while i have no folder created

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.12.1
    • Fix Version/s: None
    • Labels:
    • Environment:

      Ubuntu 17.04
      OpenJDK Java 8/9 Runtime

    • Confirmation Status:
      Unconfirmed

      Description

      I tried to launch minecraft for the first time on my computer, but this message was shown to me.

      Bootstrap (v5)
      Current time is Aug 4, 2017, 7:12:42 PM
      System.getProperty('os.name') == 'Linux'
      System.getProperty('os.version') == '4.10.0-28-generic'
      System.getProperty('os.arch') == 'amd64'
      System.getProperty('java.version') == '9-Ubuntu'
      System.getProperty('java.vendor') == 'Oracle Corporation'
      System.getProperty('sun.arch.data.model') == '64'
      
      FATAL ERROR: java.lang.ExceptionInInitializerError
      	at java.base/javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:66)
      	at java.base/javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2610)
      	at java.base/javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2634)
      	at java.base/sun.security.ssl.CipherSuite$BulkCipher.isUnlimited(CipherSuite.java:602)
      	at java.base/sun.security.ssl.CipherSuite$BulkCipher.<init>(CipherSuite.java:574)
      	at java.base/sun.security.ssl.CipherSuite$BulkCipher.<clinit>(CipherSuite.java:460)
      	at java.base/sun.security.ssl.CipherSuite.<clinit>(CipherSuite.java:1074)
      	at java.base/sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuiteList(SSLContextImpl.java:354)
      	at java.base/sun.security.ssl.SSLContextImpl.access$100(SSLContextImpl.java:42)
      	at java.base/sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:590)
      	at java.base/java.lang.Class.forName0(Native Method)
      	at java.base/java.lang.Class.forName(Class.java:292)
      	at java.base/java.security.Provider$Service.getImplClass(Provider.java:1844)
      	at java.base/java.security.Provider$Service.newInstance(Provider.java:1820)
      	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
      	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
      	at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:169)
      	at java.base/javax.net.ssl.SSLContext.getDefault(SSLContext.java:99)
      	at java.base/javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:123)
      	at java.base/javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:335)
      	at java.base/javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:292)
      	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:86)
      	at java.base/sun.net.www.protocol.https.Handler.openConnection(Handler.java:62)
      	at java.base/java.net.URL.openConnection(URL.java:1100)
      	at net.minecraft.bootstrap.Downloader.getConnection(Downloader.java:151)
      	at net.minecraft.bootstrap.Downloader.run(Downloader.java:46)
      	at net.minecraft.bootstrap.Bootstrap.execute(Bootstrap.java:92)
      	at net.minecraft.bootstrap.Bootstrap.main(Bootstrap.java:381)
      Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
      	at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:118)
      	... 28 more
      Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited
      	at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:324)
      	at java.base/javax.crypto.JceSecurity.access$000(JceSecurity.java:73)
      	at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:109)
      	at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:106)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:105)
      	... 28 more
      
      
      Please fix the error and restart.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ThunderTecke ThunderTecke
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: