Jump to content

Recommended Posts

Posted

Attempting to connect to multiplayer via a VPN LAN connection (LogMeIn Hamachi)

When either of us try connecting to each other we both get this error:
Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException

Any help in fixing this would be amazing!

Posted (edited)

You  need to post the logs/debug.log so we can see the full error.

But from the little you show, it looks like one of your mods has broken networking code.

Usually the only way to find it is to experiment with removing mods until the problem goes away. (Backup your world before removing mods).

Edited by warjort
  • Like 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Hi, I've never done this before so I hope this is the right file.

 

  Reveal hidden contents

 

Posted

The only NullPointerException in that log is this:

  Quote

[24Dec2022 16:11:32.867] [Render thread/ERROR] [net.minecraft.client.Options/]: Failed to load options
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.renderer.GpuWarnlistManager.m_109251_()" because the return value of "net.minecraft.client.Minecraft.m_91105_()" is null
    at net.minecraft.client.Options.m_231934_(Options.java:196) ~[client-1.19.2-20220805.130853-srg.jar%23469!/:?]

Expand  

Which suggests there is a problem with your options.txt

Or maybe a mod is breaking this processing?

 

But I don't think this is the cause of your crash.

Since this is network related, Mojang log those errors at DEBUG level which isn't enabled for minecraft code by default.

To see the error you need to add the following to your "java properties/arguments"

-Dforge.logging.mojang.level=debug

For the Mojang launcher it is in the installation configuration where you configure the -Xmx memory parameter

Installations -> edit -> more options -> jvm arguments

 

But as I said above. Mojang's network logging generally doesn't identify the problem mod. 

The only way to find the mod is to experiment with removing mods.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.