Jump to content

Encountered Client-Side NPE when joining modded server


CA Akira

Recommended Posts

Minecraft Version: 1.18.2

Forge Version: 40.1.84

Logs: Client: https://gist.github.com/Akiraca/04c52485839b0299b34486dceb943310 Server: https://mclo.gs/XM2BNi7 (please ignore the last part where the server runs into an error)

Image of the error message: 199431823-b5e33834-8a61-49e6-b2e6-905482

Description of issue: Internal Exception: java.lang.NullPointerException: Cannot invoke "net.minecraft.network.protocol.Packet.m_5797_(net.minecraft.network.PacketListener)" because "packet" is null

Edited by CA Akira
Link to comment
Share on other sites

  • CA Akira changed the title to Encountered Client-Side NPE when joining modded server

One of your mods has broken networking code.

This is a list of all the mods that are creating custom channels.

Quote

[02:53:48] [Netty Client IO #1/ERROR]: Channels [blue_skies:main,structure_gel:main,guardvillagers:main,sophisticatedbackpacks:channel,toms_storage:main,redstonepen:default_ch,essentials:channel,minecraft:treechop-channel,constructionwand:main,worldstripper:network,diet:main,forge:tier_sorting,alexsmobs:main_channel,chiselsandbits:chiselsandbits,paraglider:master,kleeslabs:network,crafttweaker:main,blueprint:net,moreminecarts:example,create:main,createaddition:main,comforts:main,doubleslabs:main,carryon:carryonpackets,citadel:main_channel,create_confectionery:create_confectionery,curios:main,enchantwithmob:net,polymorph:main,selene:network,quark:main,damagetilt:main,supplementaries:network,sophisticatedcore:channel,geckolib3:main,twilightforest:channel] rejected vanilla connections

You should check you have the latest versions of these mods. And check if any of these have known issues,

 

You didn't post your debug.log so we can't see much else.

And Mojang's networking errors are logged at DEBUG. To see them you need to add the following property to your jvm arguments (same place you change the memory)

Quote

-Dforge.logging.mojang.level=debug

But I suspect it won't show which mod is causing the problem? Since this is a missing data issue there is probably no relevant information to log.

We might be able to work it out from previous messages in the log.

 

Failing that, you will need to experiment in a test/backup world with removing mods until you find the problem one.

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.

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.

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.