[Let's Do] API

[Let's Do] API

13M Downloads

[BUG] [Let's do Vinery] Out of Bounds error when joining servers

Subthy opened this issue ยท 3 comments

commented

What mod appears to be problematic?

๐Ÿท Vinery

Is there an existing issue for this?

  • I have searched the existing issues

Is the mod running in an unstable environment?

  • I am using a supported modloader (Forge, Fabric, Quilt)
  • I have self built the mod
  • This is running in a dev environment

Current Behavior

So, when some (not all for some reason, even tho everyone is using the same pack) players try to join my server with Let's do Vinery, they are met with error
Connection Lost Internal Exception: io.netty.handler.codec.DecoderException: java.lang.ArrayIndexOutOfBoundsException: Index 17067361 out of bounds for length 13 when joining the server, they will show up in chat that they joined, but get automatically disconnected. For some people repairing profile multiple times in a row in CurseFroge app helps, but for some it doesn't.

I am certain that it's this mod, because I cut the modpack that I use in multiple batches and added them one by one in a testing server and made the people that had the issue join. When I added this mod the issue appeared again. Plus I made sure that players that had the issue had the latest GPU drivers and Java 17 installed. I do not think it's the servers fault, as they are able to join on other servers that are hosted on the same machine.

Expected Behavior

Ability to be able to join the server.

Steps To Reproduce

  1. Setup a server
  2. Upload the Let's do Vinery 1.4.28 to it
  3. Try joining
  4. You might get the error, but you might not.

Relevant log output

I don't know exact part in debug that might be the issue

What modloader are you running the mod on?

Forge

Anything else?

debug.9.log

I was redirected here by satisfyu from my original post satisfyu/Let-s-Do-Hub#261

commented

Here is the modpack: https://www.curseforge.com/minecraft/modpacks/pokeasub

I downgraded to the lowest version I can without running into issues or problems on my end (1.4.25 now), but seems it didn't fix the issue. I remember using 1.4.7 version of the mod before the 0.3.0 update of my pack with almost the same mods and it didn't seem to cause the issue.

commented

Please share your modpack. If we can't reproduce the issue it won't get fixt. And vinery alone always seems to work.

commented

Same Problem, also with Cobblemon, it seems to show up as different serialization and array out of bounds errors.

According to the Discord of Cobblemon, even just base mod + (?any) LetsDo seems to make this crash.
It for some reason works on Windows and on LAN, but not in a Linux Environment (dedicated host).
Windows + Java 17.0.12(Adoptium Eclipse) works
Linux (i assume debian) + Java 17.0.11(Adoptium Eclipse) does not work.
Using these Versions:
grafik

Also important, the error ist not a 100% given. There is a small chance that it will let you join on a new world, repeatedly joining could lead to the error, it could also be that existing data is a problem. Files stored client side, having the wrong New Line termination could be at fault. I assume this because having Server and Client be on Windows seem to make it work.

Also note in my case the Server and Client both seem to not close correctly 100% of the time too. It hangs, and needs to be killedvia Task Manager from time to time, but i assume this is because of the Distant Horizons Alpha which hangs in save because of the changed maximum world height. I'm not sure about this though.

Just so you can check more logs if you want check this out, there are some logs about it.
Discord: https://discord.gg/cobblemon
grafik

(clean boot, only tried joining)
Server log
debug.log
latest.log

Client log
debug.log
latest.log

Log's from others(first three i could find on the discord of cobblemon):
(Client - Cobblemon 1.5.2 + LetsDo)
https://mclo.gs/JLG4JUe
2024-07-12-4.log.gz
https://mclo.gs/lvEn25m

Another random Array out of bounds. (The errors range from different Serialization errors [108, 111, 101, 65, 64, but most of the time it's 111, and sometimes it's an ArrayOutOfBounds.])
grafik

The modpack mrpack:
https://1drv.ms/u/c/60530c99c9024a45/EXnUnSnCJZxNi7aRAJ9N5s8BCLsFF80WOUpmcMHg6liHNQ?e=IN1g52