Why I am getting this exception when logging in to my own local Minecraft server? [duplicate]
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] - Creative group of colleagues during work process](/assets/images/why_i_am_getting_this_exception_when_logging_in_to_my_own_local_minecraft_server_duplicate_1.jpeg)
![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] - Group of local women with axes chopping logs while working in rural area near shabby house in countryside against grassy hill](/assets/images/why_i_am_getting_this_exception_when_logging_in_to_my_own_local_minecraft_server_duplicate_2.jpeg)
![Why I am getting this exception when logging in to my own local Minecraft server? [duplicate] - Queue waiting for Asian food counter in restaurant Why I am getting this exception when logging in to my own local Minecraft server? [duplicate] - Queue waiting for Asian food counter in restaurant](/assets/images/why_i_am_getting_this_exception_when_logging_in_to_my_own_local_minecraft_server_duplicate_3.jpeg)
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?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
