Zenith Attributes

Zenith Attributes

5M Downloads

Exception occurred in netty pipeline io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException

Faryzal2020 opened this issue ยท 6 comments

commented

I made a dedicated server for the Prominent II RPG 2 days ago and it works well, we made spawn building, add serverside mods and config everything, but some time after that this error spammed the logs and the logfile size would reach 1GB if it keep going for a few minutes.
So i tried MANY things to troubleshoot, and few hours after no sleep i found a temporary solution which is changing the server's port from 25565 to 25564. After that it works for a few hours and then the error shows up again.
Then i tried to make a new folder, run a vanilla fabric 0.14.25 for minecraft 1.20.1, vanilla works, then i add some mods that i think would be the problem until error shows up, then remove the mods one by one until i found the culprit.
The error reproduced with fabric 0.14.25 and i only installed zenith attributes 0.1.3 (that the modpack uses) and its dependencies.
latest.log

commented

what was the culprit then?

commented

why zenith attributes 0.1.3? Does this happen with 0.2.2?

commented

my tests determined that zenith attributes was the culprit
the modpack (Prominence II) is using zenith attributes 0.1.3, idk if 0.2.2 would work because updating one mod usually requires to update many other things as well

commented

In my dev instance, the game prints Unknown custom packed identifier: zenith_attributes:crit_particles when CritParticleMessage.sendTo is called.

I believe the problem is that ClientPlayNetworking.registerGlobalReceiver is never called, but networking code is fairly new to me so I'm not sure

commented

google search results many people with this error except they're clientside error when trying to connect to a server, meanwhile my error is on the server side, spamming the console until the server stopped responding.
i haven't find any solutions for this except changing the game server's port number, which is a temporary duct tape fix because sometimes the error would come back in a few days and we have to change the port number again.

commented

0.2.3 brings that pr, might(??) be fixed... 0.1.3 is a really old version though so IDK if it's even still a problem...