Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4482

Encryption error on latest spigot build?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • None
    • None
    • Java 10, latest Spigot Build (does not occur on java 8)

      I have not tested on Java 9.

      This was a bitch to test.

    • CraftBukkit version git-Spigot-e4d0c66-f3f2fe5 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT), Java 10
    • N/A
    • Yes

      This error thrown on startup:

      [21:20:12 INFO]: Loading properties [21:20:12 INFO]: Default game type: SURVIVAL [21:20:12 INFO]: This server is running CraftBukkit version git-Spigot-e4d0c66-f3f2fe5 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) [21:20:12 INFO]: Using 4 threads for Netty based IO [21:20:12 INFO]: Server Ping Player Sample Count: 12 [21:20:12 INFO]: Debug logging is disabled [21:20:13 INFO]: Generating keypair [21:20:13 WARN]: Exception in thread "Spigot Metrics Thread" [21:20:13 WARN]: java.lang.ExceptionInInitializerError [21:20:13 WARN]: at java.base/javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:65) [21:20:13 WARN]: at java.base/javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2613) [21:20:13 WARN]: at java.base/javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2635) [21:20:13 WARN]: at java.base/sun.security.ssl.CipherSuite$BulkCipher.isUnlimited(CipherSuite.java:603) [21:20:13 WARN]: at java.base/sun.security.ssl.CipherSuite$BulkCipher.<init>(CipherSuite.java:575) [21:20:13 WARN]: at java.base/sun.security.ssl.CipherSuite$BulkCipher.<clinit>(CipherSuite.java:461) [21:20:13 WARN]: at java.base/sun.security.ssl.CipherSuite.<clinit>(CipherSuite.java:1075) [21:20:13 WARN]: at java.base/sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuiteList(SSLContextImpl.java:354) [21:20:13 WARN]: at java.base/sun.security.ssl.SSLContextImpl.access$100(SSLContextImpl.java:42) [21:20:13 WARN]: at java.base/sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:590) [21:20:13 WARN]: at java.base/java.lang.Class.forName0(Native Method) [21:20:13 WARN]: at java.base/java.lang.Class.forName(Class.java:291) [21:20:13 WARN]: at java.base/java.security.Provider$Service.getImplClass(Provider.java:1848) [21:20:13 WARN]: at java.base/java.security.Provider$Service.newInstance(Provider.java:1824) [21:20:13 WARN]: at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236) [21:20:13 WARN]: at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164) [21:20:13 WARN]: at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:168) [21:20:13 WARN]: at java.base/javax.net.ssl.SSLContext.getDefault(SSLContext.java:99) [21:20:13 WARN]: at java.base/javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:123) [21:20:13 WARN]: at java.base/javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:335) [21:20:13 WARN]: at java.base/javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:292) [21:20:13 WARN]: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:95) [21:20:13 WARN]: at java.base/sun.net.www.protocol.https.Handler.openConnection(Handler.java:62) [21:20:13 WARN]: at java.base/sun.net.www.protocol.https.Handler.openConnection(Handler.java:57) [21:20:13 WARN]: at java.base/java.net.URL.openConnection(URL.java:1051) [21:20:13 WARN]: at org.spigotmc.Metrics.postPlugin(Metrics.java:424) [21:20:13 WARN]: at org.spigotmc.Metrics.access$4(Metrics.java:345) [21:20:13 WARN]: at org.spigotmc.Metrics$1.run(Metrics.java:240) [21:20:13 WARN]: at java.base/java.util.TimerThread.mainLoop(Timer.java:556) [21:20:13 WARN]: at java.base/java.util.TimerThread.run(Timer.java:506) [21:20:13 WARN]: Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism [21:20:13 WARN]: at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:118) [21:20:13 WARN]: ... 30 more [21:20:13 WARN]: Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited [21:20:13 WARN]: at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:324) [21:20:13 WARN]: at java.base/javax.crypto.JceSecurity.access$000(JceSecurity.java:73) [21:20:13 WARN]: at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:109) [21:20:13 WARN]: at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:106) [21:20:13 WARN]: at java.base/java.security.AccessController.doPrivileged(Native Method) [21:20:13 WARN]: at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:105) [21:20:13 WARN]: ... 30 more

       

      On player join: 
      [21:20:30 INFO]: com.mojang.authlib.GameProfile@3f3ca404[id=<null>,name=TheMinecraftBaws,properties={},legacy=false] (/107.77.160.32:63263) lost connection: Internal Exception: java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity [21:20:30 INFO]: com.mojang.authlib.GameProfile@51cf2de6[id=<null>,name=TheMinecraftBaws,properties={},legacy=false] (/107.77.160.76:63269) lost connection: Internal Exception: java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
       Players end in attachment

            Unassigned Unassigned
            QuantumBeast QuantumBeast
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: