Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Need help, error while joining newly setup modded server

Recommended Posts

Hello, I am getting this error when connecting to a new forge world I'm working on. All of the mods match and the server boots perfectly fine. The server log just shows the reason for disconnect as "Disconnected". I've logged out and logged back in, ensure compatibility of all mods, set the server settings to default, restarted it probably a dozen times. Apart from removing each mod to see if one of them is causing this, is there anything else I should try first?


The specific error is basically impossible to Google because of it's length.


Failed to connect to the server

Internal Exception: java.lang.NullPointerException: Cannot invoke "java.util.function.BiConsumer.accept(Object, Object)" because "codec.messageConsumer" is null



Link to comment
Share on other sites

It shows you attempting to connect. Then no error whatsoever is shown and another connection attempt happens (without the previous one even ending, according to the logs). The same thing happens with the 2nd connection attempt (it does not end), then the game is shut down.

Please start the server with -Dforge.logging.mojang.level=debug and post an updated server debug.log.

Link to comment
Share on other sites

I actually resolved this by removing the Obfuscate mod. For some reason it was clashing with the Framework mod and sending the login into loops. Still investigating but everything seems to work fine when that mod was removed. Thank you for your help! 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.