Why I am getting this exception when logging in to my own local Minecraft server? [duplicate]

Why I am getting this exception when logging in to my own local Minecraft server? [duplicate] - Diligent black female worker setting signboard outside cafeteria at sunny day

I set up a Spigot server on my PC, created from the latest BuildTools. There are no errors on startup, but I can't log in due to a Java security exception.

I've tried updating Java to the latest release, creating a clean server directory, running both CraftBukkit and Spigot builds, with the matching version of Minecraft. I've connected to both 127.0.0.1 and localhost, with and without specifying the port. In all cases the error is the same. This only happens with my local server- I'm able to log in to multiple remote servers just fine.

Client message:

Failed to connect to the server Disconnected

Console message:

[11:20:38 WARN]: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA [11:20:38 WARN]: at javax.crypto.Cipher.getInstance(Cipher.java:540) ... [11:20:38 INFO]: com.mojang.authlib.GameProfile@479afd0d[id=<null>,name=WildWeazel,properties={},legacy=false] (/127.0.0.1:51608) lost connection: Internal Exception: java.lang.NullPointerException






Pictures about "Why I am getting this exception when logging in to my own local Minecraft server? [duplicate]"

Why I am getting this exception when logging in to my own local Minecraft server? [duplicate] - Creative group of colleagues during work process
Why I am getting this exception when logging in to my own local Minecraft server? [duplicate] - Group of local women with axes chopping logs while working in rural area near shabby house in countryside against grassy hill
Why I am getting this exception when logging in to my own local Minecraft server? [duplicate] - Queue waiting for Asian food counter in restaurant



How do you fix an internal exception in Minecraft?

Edit the Java Path in the Launcher Settings Then open the Minecraft Launcher & select Edit Profile. Now, under Java Settings (Advanced), checkmark the option of Executable. Now apply your changes & check if the internal exception issue is resolved.

How do I fix internal exception Java Ioexception An existing connection was forcibly closed by the remote host?

How do I fix the Minecraft server error java. io. ioexception?
  • Turn off Windows Firewall. Click on Start and select Settings. ...
  • Change server-side view distance. Stop the server if running. ...
  • Chane your IPv4 DNS address. Press Windows Key + R to open Run. ...
  • Check your network for issues. ...
  • Reinstall Java. ...
  • Reinstall Minecraft.







  • Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ketut Subiyanto, Helena Lopes, Quang Nguyen Vinh, Darya Sannikova