Easy NPC

Easy NPC

2M Downloads

Version 1.20.1 Failure to connect to the server on the client only when there are NPCs in the area with the error Internal Exception: io.netty.handler.codec.DecoderException: java.lang.ArrayIndexOutOfBoundsException

Lusserr opened this issue ยท 5 comments

commented

I have been trying to solve it in different ways and it has even given similar errors with different identifiers, for example
Internal Exception: io.netty.handler.codec.DecoderException: Unknown serializer type
have also tried to update the versions and if they do not match the server, I am quite desperate I really need this mod
Client:side
https://mclo.gs/6hSDffr
Server:side
https://mclo.gs/CvAgJXd

commented

ImageI have the same problem but for me it's when I install a humanoid

commented

Please provide a full client log from the start of the game up to the crash.

The following section is particularly important:

[13:31:43] [modloading-worker-0/INFO]: ? Register Easy NPC Entity Data Serializers ...
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer ActionEventSet with id 34
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer CustomAttributes with id 35
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer DialogDataSet with id 36
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer DisplayAttributeSet with id 37
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer EntityAttributes with id 38
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer MerchantOffers with id 39
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer ModelPose with id 40
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer ObjectiveDataSet with id 41
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer CustomPosition with id 42
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer Profession with id 43
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer RenderDataSet with id 44
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer CustomRotation with id 45
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer CustomScale with id 46
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer SkinDataEntry with id 47
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer SoundDataSet with id 48
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer HashSet:UUID with id 49
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer HashSet:String with id 50
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer TradingDataSet with id 51
[13:31:43] [modloading-worker-0/INFO]: Registered entity data serializer UUID with id 52

If the IDs do not match between the client and the server, such as:

  • Registered entity data serializer ActionEventSet with id 34 on the client, but
  • Registered entity data serializer ActionEventSet with id 35 on the server,

this will likely cause decoder issues.

In most cases, this happens due to other mods registering serializers in a different order on the server and/or client. Identifying the conflicting mod(s) may help resolve the issue.

commented

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.

commented

This issue was closed because it has been stalled for 5 days with no activity.

commented

is this issue being worked on? I'm still getting it no my server.