Bobby

Bobby

4M Downloads

IndexOutOfBoundsException on FakeChunkStorage

breadbyte opened this issue ยท 3 comments

commented

Whenever I try and join a server, I see a lot of these errors on my client (1.17):
https://gist.github.com/breadbyte/cd5a467ceeb21c136b971350530be0a1

The line referenced is https://github.com/Johni0702/bobby/blob/master/src/main/java/de/johni0702/minecraft/bobby/FakeChunkStorage.java#L204

As a workaround I tried deleting .bobby, but to no avail.

commented

Is it a vanilla server? Is it public so I could join myself?
Which dimension is this in? Does it use the experimental tall worlds data pack?
Do you get the same issue in single player?
Any other mods?

commented

Hi! Thanks for the questions.

I am playing on a private Spigot server, and the dimension is overworld.
For reference, my bobby version is https://github.com/Johni0702/bobby/releases/tag/v2.0.0

I did some testing myself, and got the following outcome:
I can reproduce the issue with a fresh copy of Spigot, without any datapacks or plugins.
Could not replicate on singleplayer.
Could not replicate on a Fabric server.

I can reproduce the issue with only these mods loaded alongside bobby:

  • Cloth API
  • Cloth Config
  • Fabric API
  • Mod Menu

If you would like more information or world copies, please let me know. Thanks for this awesome mod!

commented

I'm getting the same error, the server render distance is 16 and the client's is 32.
The server is Fabric and isn't using tall worlds.

[18:42:30] [Render thread/FATAL]: Error executing task on Client
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
	at de.johni0702.minecraft.bobby.FakeChunkStorage.deserialize(FakeChunkStorage.java:204) ~[bobby-2.0.0.jar:?]
	at de.johni0702.minecraft.bobby.FakeChunkManager.load(FakeChunkManager.java:280) ~[bobby-2.0.0.jar:?]
	at net.minecraft.class_631.handler$cij000$bobbyReplaceChunk(class_631.java:1647) ~[intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_631.method_2859(class_631.java:66) ~[intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_634.method_11107(class_634.java:689) ~[intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_2666.method_11486(class_2666.java:28) ~[intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_2666.method_11054(class_2666.java:6) ~[intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_1255.method_18859(class_1255.java:151) [intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_4093.method_18859(class_4093.java:23) [intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_1255.method_16075(class_1255.java:125) [intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_1255.method_5383(class_1255.java:110) [intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1077) [intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:730) [intermediary-minecraft-1.17-client.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:217) [intermediary-minecraft-1.17-client.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]

Mod list:

[18:41:21] [main/INFO]: [FabricLoader] Loading 141 mods:
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- com_github_shevek_parallelgzip@master-SNAPSHOT
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+4.1.1
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+1.17
	- [email protected]+a02b4463d5
	- [email protected]+2b5c62d03d
	- [email protected]+c345aea83d
	- [email protected]+a02b44633d
	- [email protected]+a02b4463d5
	- [email protected]+92519afa3d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+be9da3103d
	- [email protected]
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+a722d8c03d
	- [email protected]+92519afa3d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+b7ab61213d
	- [email protected]+a02b44633d
	- [email protected]+36b77c3e3d
	- [email protected]+kotlin.1.5.10
	- [email protected]+a02b4463d5
	- [email protected]+a02b44633d
	- [email protected]+92519afa3d
	- [email protected]+a02b44633d
	- [email protected]
	- [email protected]+b7ab6121d5
	- [email protected]+a02b44633d
	- [email protected]+92519afa3d
	- [email protected]+b7ab61213d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]
	- [email protected]+e2961fee3d
	- [email protected]+676f40fa3d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+92519afa3d
	- [email protected]+a02b44633d
	- [email protected]+b7ab61213d
	- [email protected]+198a96213d
	- [email protected]+a02b44633d
	- [email protected]
	- [email protected]+e36969833d
	- [email protected]+a02b44633d
	- [email protected]+a02b44633d
	- [email protected]+b7ab61213d
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+1.17
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+rev.341c70b
	- [email protected]
	- [email protected]
	- [email protected]+j1.2.0
	- java@16
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+1.17
	- [email protected]+1.17
	- [email protected]
	- [email protected]+1.17
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+1.17
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]
	- [email protected]+1.17.0
	- [email protected]
	- [email protected]+1.17
	- [email protected]
	- [email protected]
	- [email protected]+rev.908510e
	- [email protected]+1.17
	- [email protected]
	- [email protected]+1.17
	- [email protected]
	- [email protected]+5836-183ae4a
	- [email protected]+01-SNAPSHOT
	- [email protected]