Jump to content

[1.19.2] Crash after shooting Bow net.minecraft.core.Registry.m_7981_(Object)


Recommended Posts

Posted (edited)

Shooting any bow kicks me from my server with the message "Internal Exception: io.netty.handler.codec.EnconderException: java.lang.NullPointerException". Trying to replicate the issue in a Singleplayer world works fine until i press escape which causes a crash. Seems to be some mod after i've updated them, but i can't figure out which one it is. Happens with all vanilla and modded bows, but not with crossbows.

Crashlog:

  Reveal hidden contents

 

Edited by ToastiMan
Making it easier for people having the same issues
  • ToastiMan changed the title to [1.19.2] Crash after shooting Bow net.minecraft.core.Registry.m_7981_(Object)
  • 2 months later...
Posted

I was about to tear my hair out because I couldn't figure out what was causing this, much appreciated. For further reference for anyone searching like I was, it can also appear in the server's logs as the following:

[Netty Epoll Server IO #4/ERROR] [net.minecraft.network.PacketEncoder/]: Error receiving packet 106

java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null

This was personally on 1.20.1, and likely is caused by not having the "Survive" mod, or any other similar dependencies of UnionLib while it is still installed. The variable "attribute.name.generic.draw_speed" is getting called when shooting a bow, but isn't pointing to anything causing the NullPointerException in the logs.

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.