mircokroon / minecraft-world-downloader

Download Minecraft worlds, extend server's render distance. 1.12.2 - 1.21
GNU General Public License v3.0
1.25k stars 84 forks source link

Error loading into realm world. #610

Open ItIsAdam opened 1 year ago

ItIsAdam commented 1 year ago

Describe the bug Loading into the world just gives me an error?

Steps to reproduce Microsoft login Realms Error everytime

Log output java.lang.ArrayIndexOutOfBoundsException: Index 19632 out of bounds for length 19632 at packets.DataTypeProvider.readNext(DataTypeProvider.java:76) at packets.DataTypeProvider$1.read(DataTypeProvider.java:198) at java.base/java.io.InputStream.read(InputStream.java:296) at java.base/java.io.DataInputStream.readFully(DataInputStream.java:208) at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:594) at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:550) at se.llbit.nbt.StringTag.read(StringTag.java:46) at se.llbit.nbt.NamedTag.read(NamedTag.java:58) at packets.DataTypeProvider.readNbtTag(DataTypeProvider.java:195) at packets.handler.version.ClientBoundGamePacketHandler_1_18.lambda$new$1(ClientBoundGamePacketHandler_1_18.java:32) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.RuntimeException: Invalid VarInt found! Packet structure may have changed. at packets.DataReader.readVarInt(DataReader.java:70) at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111) at game.data.entity.EntityRegistry.destroyEntities(EntityRegistry.java:187) at packets.handler.ClientBoundGamePacketHandler.lambda$new$5(ClientBoundGamePacketHandler.java:60) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69)
at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38)
at packets.handler.PacketHandler.handle(PacketHandler.java:57)
at packets.DataReader.readPackets(DataReader.java:163)
at packets.DataReader.pushData(DataReader.java:118)
at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106)
at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103)
at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62) java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62) java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at game.data.dimension.DimensionCodec.readDimensions(DimensionCodec.java:84) at game.data.dimension.DimensionCodec.fromNbt(DimensionCodec.java:69) at packets.handler.version.ClientBoundGamePacketHandler_1_19.lambda$new$0(ClientBoundGamePacketHandler_1_19.java:38) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[9] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[9] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583) java.lang.ArrayIndexOutOfBoundsException: Index 9 out of bounds for length 9 at packets.DataTypeProvider.readNext(DataTypeProvider.java:76) at packets.DataTypeProvider$1.read(DataTypeProvider.java:198) at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:295) at java.base/java.io.DataInputStream.readByte(DataInputStream.java:275) at se.llbit.nbt.NamedTag.read(NamedTag.java:54) at packets.DataTypeProvider.readNbtTag(DataTypeProvider.java:195) at game.data.chunk.version.Chunk_1_14.parseHeightMaps(Chunk_1_14.java:62) at game.data.chunk.version.Chunk_1_18.parse(Chunk_1_18.java:49) at game.data.chunk.ChunkFactory.parseChunk(ChunkFactory.java:127) at game.data.chunk.ChunkFactory.readChunkDataPacket(ChunkFactory.java:144) at game.data.chunk.ChunkFactory.parse(ChunkFactory.java:104) at game.data.chunk.ChunkFactory.lambda$addChunk$9(ChunkFactory.java:91) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) java.lang.RuntimeException: Invalid VarInt found! Packet structure may have changed. at packets.DataReader.readVarInt(DataReader.java:70) at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111) at game.data.chunk.version.Chunk_1_18.parse(Chunk_1_18.java:51) at game.data.chunk.ChunkFactory.parseChunk(ChunkFactory.java:127) at game.data.chunk.ChunkFactory.readChunkDataPacket(ChunkFactory.java:144) at game.data.chunk.ChunkFactory.parse(ChunkFactory.java:104) at game.data.chunk.ChunkFactory.lambda$addChunk$9(ChunkFactory.java:91) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Chunk could not be parsed!

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[10]

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[9] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583) java.lang.ArrayIndexOutOfBoundsException java.lang.RuntimeException: Invalid VarInt found! Packet structure may have changed. at packets.DataReader.readVarInt(DataReader.java:70) at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111) at game.data.chunk.version.Chunk_1_18.parse(Chunk_1_18.java:51) at game.data.chunk.ChunkFactory.parseChunk(ChunkFactory.java:127) at game.data.chunk.ChunkFactory.readChunkDataPacket(ChunkFactory.java:144) at game.data.chunk.ChunkFactory.parse(ChunkFactory.java:104) at game.data.chunk.ChunkFactory.lambda$addChunk$9(ChunkFactory.java:91) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Chunk could not be parsed!

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 11 out of bounds for byte[4] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readLong(DataTypeProvider.java:155) at packets.DataTypeProvider.readUUID(DataTypeProvider.java:224) at game.data.entity.PlayerEntity.parse(PlayerEntity.java:22) at game.data.entity.EntityRegistry.lambda$addPlayer$6(EntityRegistry.java:88) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at util.ExceptionHandling.attempt(ExceptionHandling.java:22) at game.data.entity.EntityRegistry.lambda$addPlayer$7(EntityRegistry.java:86)

java.lang.RuntimeException: Invalid VarInt found! Packet structure may have changed. at packets.DataReader.readVarInt(DataReader.java:70) at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111)

java.lang.RuntimeException: Invalid VarInt found! Packet structure may have changed. at packets.DataReader.readVarInt(DataReader.java:70) at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111) at game.data.entity.EntityRegistry.destroyEntities(EntityRegistry.java:187) at packets.handler.ClientBoundGamePacketHandler.lambda$new$5(ClientBoundGamePacketHandler.java:60) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.run(ProxyServer.java:62) java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 11 out of bounds for byte[4] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readLong(DataTypeProvider.java:155) at packets.DataTypeProvider.readUUID(DataTypeProvider.java:224) at game.data.entity.PlayerEntity.parse(PlayerEntity.java:22) at game.data.entity.EntityRegistry.lambda$addPlayer$6(EntityRegistry.java:88) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at util.ExceptionHandling.attempt(ExceptionHandling.java:22) at game.data.entity.EntityRegistry.lambda$addPlayer$7(EntityRegistry.java:86) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[9] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216)

java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 17 out of bounds for byte[9] at java.base/java.lang.System.arraycopy(Native Method) at packets.DataTypeProvider.readByteArray(DataTypeProvider.java:90) at packets.DataTypeProvider.readDouble(DataTypeProvider.java:216) at packets.handler.ServerBoundGamePacketHandler.lambda$new$0(ServerBoundGamePacketHandler.java:20) at packets.handler.PacketHandler.handle(PacketHandler.java:57) at packets.DataReader.readPackets(DataReader.java:163) at packets.DataReader.pushData(DataReader.java:118) at proxy.ProxyServer.lambda$run$4(ProxyServer.java:86) at util.ExceptionHandling.attempt(ExceptionHandling.java:12) at proxy.ProxyServer.lambda$run$6(ProxyServer.java:83) at java.base/java.lang.Thread.run(Thread.java:1583)

Version

KalebXOXOXOXO commented 1 year ago

im having the same issue let me know if you find a fix

secretbetta commented 1 year ago

Same issue here. Happens even on earlier releases so most likely 1.20.2 broke the world downloader.

secretbetta commented 1 year ago

This bug has also been reported in another issue: #609