ViaRewind

ViaRewind

7.4k Downloads

1.7 death crash - ArrayIndexOutOfBoundsException: 4

franxyk opened this issue ยท 5 comments

commented

Describe the bug, provide any errors
On use ViaRewind on sv 1.16, enter mc client 1.7, when dying the client crashes

How can we reproduce it?
Steps to reproduce the behavior:

  1. Start spigot server 1.16.x
  2. Login on 1.7 client'
  3. Death on any reason

Expected behaviour
Spawn on death screen, without crashing the mc client.

Screenshots
none

ViaVersion Dump:
https://dump.viaversion.com/006b92741d70375f0d0d5856d956692e6cb5720a2e8306fcac74c20a6803e452

Additional server info
Only use viaversion, Viabackwards and ViaRewind

Checklist (mark with [X] to check)

IMPORTANT: Follow the Checklist or we can't reproduce your issue and your issue will be close

commented

i can reproduce by joining geyser 1.16 test server with 1.7.10 client
It seems Forge isn't affected?

[15:44:47] [Client thread/FATAL]: Unreported exception thrown!
java.lang.ArrayIndexOutOfBoundsException: 4
	at net.minecraft.class_988.method_2527(class_988.java:1633) ~[client-intermediary.jar:?]
	at net.minecraft.class_1845.method_7596(class_1845.java:827) ~[client-intermediary.jar:?]
	at net.minecraft.class_2040.method_7869(class_2040.java:39) ~[client-intermediary.jar:?]
	at net.minecraft.class_2040.method_1831(class_2040.java:9) ~[client-intermediary.jar:?]
	at net.minecraft.class_1957.method_7390(class_1957.java:174) ~[client-intermediary.jar:?]
	at net.minecraft.class_477.method_1242(class_477.java:212) ~[client-intermediary.jar:?]
	at net.minecraft.class_1600.method_2954(class_1600.java:1306) ~[client-intermediary.jar:?]
	at net.minecraft.class_1600.method_2916(class_1600.java:774) ~[client-intermediary.jar:?]
	at net.minecraft.class_1600.method_5580(class_1600.java:728) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:148) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.8.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
	at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) [NewLaunch.jar:?]
	at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175) [NewLaunch.jar:?]
	at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185) [NewLaunch.jar:?]
	at org.polymc.EntryPoint.listen(EntryPoint.java:144) [NewLaunch.jar:?]
	at org.polymc.EntryPoint.main(EntryPoint.java:74) [NewLaunch.jar:?]
---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 8/31/22 3:44 PM
Description: Unexpected error

java.lang.ArrayIndexOutOfBoundsException: 4
	at net.minecraft.class_988.method_2527(class_988.java:1633)
	at net.minecraft.class_1845.method_7596(class_1845.java:827)
	at net.minecraft.class_2040.method_7869(class_2040.java:39)
	at net.minecraft.class_2040.method_1831(class_2040.java:9)
	at net.minecraft.class_1957.method_7390(class_1957.java:174)
	at net.minecraft.class_477.method_1242(class_477.java:212)
	at net.minecraft.class_1600.method_2954(class_1600.java:1306)
	at net.minecraft.class_1600.method_2916(class_1600.java:774)
	at net.minecraft.class_1600.method_5580(class_1600.java:728)
	at net.minecraft.client.main.Main.main(Main.java:148)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
	at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175)
	at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185)
	at org.polymc.EntryPoint.listen(EntryPoint.java:144)
	at org.polymc.EntryPoint.main(EntryPoint.java:74)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at net.minecraft.class_988.method_2527(class_988.java:1633)
	at net.minecraft.class_1845.method_7596(class_1845.java:827)
	at net.minecraft.class_2040.method_7869(class_2040.java:39)
	at net.minecraft.class_2040.method_1831(class_2040.java:9)
	at net.minecraft.class_1957.method_7390(class_1957.java:174)
	at net.minecraft.class_477.method_1242(class_477.java:212)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [class_481['creeper123123321'/281, l='MpServer', x=214.01, y=64.62, z=-20.06]]
	Chunk stats: MultiplayerChunkCache: 303, 303
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (240,63,35), Chunk: (at 0,3,3 in 15,2; contains blocks 240,0,32 to 255,255,47), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 15312 game time, 15312 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Forced entities: 63 total; [class_969['Creeper'/386, l='MpServer', x=194.75, y=25.00, z=-24.47], class_1712['Horse'/132, l='MpServer', x=260.47, y=64.00, z=-9.22], class_978['Skeleton'/389, l='MpServer', x=193.50, y=63.00, z=12.50], class_944['Cow'/134, l='MpServer', x=262.00, y=64.00, z=3.44], class_1573['entity.MinecartChest.name'/7, l='MpServer', x=158.50, y=30.06, z=-6.50], class_969['Creeper'/405, l='MpServer', x=181.50, y=19.00, z=-16.50], class_982['Zombie'/284, l='MpServer', x=212.96, y=63.00, z=-20.56], class_1402['Bat'/412, l='MpServer', x=173.63, y=54.96, z=-15.13], class_980['Spider'/288, l='MpServer', x=172.50, y=63.00, z=-17.50], class_949['Sheep'/39, l='MpServer', x=177.47, y=69.00, z=-47.50], class_1573['entity.MinecartChest.name'/40, l='MpServer', x=160.50, y=31.06, z=-36.50], class_949['Sheep'/41, l='MpServer', x=168.31, y=67.00, z=-42.47], class_1573['entity.MinecartChest.name'/43, l='MpServer', x=163.50, y=25.06, z=-30.50], class_978['Skeleton'/45, l='MpServer', x=174.13, y=26.00, z=-20.91], class_1573['entity.MinecartChest.name'/48, l='MpServer', x=175.50, y=17.06, z=-9.50], class_1573['entity.MinecartChest.name'/176, l='MpServer', x=182.50, y=26.08, z=-83.50], class_978['Skeleton'/49, l='MpServer', x=174.31, y=18.00, z=-2.47], class_978['Skeleton'/50, l='MpServer', x=167.50, y=21.00, z=16.50], class_943['Chicken'/55, l='MpServer', x=178.53, y=63.00, z=-17.59], class_949['Sheep'/56, l='MpServer', x=198.00, y=63.00, z=-11.97], class_1573['entity.MinecartChest.name'/57, l='MpServer', x=188.50, y=17.06, z=3.50], class_1573['entity.MinecartChest.name'/58, l='MpServer', x=183.50, y=19.06, z=13.50], class_978['Skeleton'/59, l='MpServer', x=190.47, y=17.00, z=6.22], class_948['Pig'/60, l='MpServer', x=196.30, y=63.00, z=2.55], class_1573['entity.MinecartChest.name'/61, l='MpServer', x=183.50, y=18.06, z=18.50], class_943['Chicken'/63, l='MpServer', x=176.84, y=67.00, z=-36.78], class_943['Chicken'/64, l='MpServer', x=181.50, y=70.00, z=-53.41], class_1573['entity.MinecartChest.name'/65, l='MpServer', x=184.50, y=25.06, z=-79.50], class_969['Creeper'/67, l='MpServer', x=204.50, y=25.00, z=-64.50], class_943['Chicken'/69, l='MpServer', x=194.88, y=70.00, z=-66.22], class_943['Chicken'/70, l='MpServer', x=190.69, y=70.00, z=-57.19], class_943['Chicken'/71, l='MpServer', x=198.88, y=70.00, z=-60.19], class_943['Chicken'/72, l='MpServer', x=206.03, y=70.00, z=-57.97], class_943['Chicken'/73, l='MpServer', x=206.66, y=67.00, z=-42.31], class_949['Sheep'/74, l='MpServer', x=199.75, y=64.00, z=-21.75], class_949['Sheep'/75, l='MpServer', x=209.63, y=66.00, z=-37.66], class_978['Skeleton'/76, l='MpServer', x=198.34, y=15.00, z=-9.47], class_949['Sheep'/77, l='MpServer', x=194.28, y=63.00, z=-11.09], class_948['Pig'/78, l='MpServer', x=198.22, y=64.00, z=-17.72], class_980['Spider'/336, l='MpServer', x=167.50, y=69.00, z=-46.50], class_481['creeper123123321'/281, l='MpServer', x=214.01, y=64.62, z=-20.06], class_948['Pig'/81, l='MpServer', x=198.22, y=63.00, z=10.75], class_982['Zombie'/339, l='MpServer', x=244.50, y=43.00, z=19.50], class_949['Sheep'/84, l='MpServer', x=205.72, y=66.00, z=-39.78], class_949['Sheep'/85, l='MpServer', x=214.75, y=70.00, z=-53.09], class_1402['Bat'/86, l='MpServer', x=203.44, y=17.10, z=-8.25], class_944['Cow'/87, l='MpServer', x=229.06, y=64.00, z=-26.84], class_948['Pig'/88, l='MpServer', x=213.25, y=67.00, z=-42.19], class_944['Cow'/97, l='MpServer', x=225.50, y=68.00, z=-44.19], class_969['Creeper'/353, l='MpServer', x=198.50, y=22.00, z=-23.50], class_944['Cow'/98, l='MpServer', x=228.54, y=66.00, z=-39.54], class_969['Creeper'/102, l='MpServer', x=231.78, y=44.00, z=25.25], class_1402['Bat'/103, l='MpServer', x=238.88, y=15.00, z=25.25], class_948['Pig'/109, l='MpServer', x=249.63, y=64.00, z=-23.72], class_944['Cow'/111, l='MpServer', x=254.13, y=63.00, z=-6.19], class_944['Cow'/112, l='MpServer', x=258.13, y=64.00, z=-12.75], class_978['Skeleton'/114, l='MpServer', x=249.19, y=45.00, z=21.34], class_969['Creeper'/370, l='MpServer', x=182.47, y=20.00, z=-10.28], class_944['Cow'/124, l='MpServer', x=261.04, y=68.00, z=-46.96], class_944['Cow'/125, l='MpServer', x=261.52, y=68.00, z=-48.71], class_978['Skeleton'/126, l='MpServer', x=258.50, y=19.00, z=-21.50], class_980['Spider'/383, l='MpServer', x=253.50, y=64.00, z=-22.50], class_1712['Horse'/127, l='MpServer', x=260.88, y=64.00, z=-10.88]]
	Retry entities: 0 total; []
	Server brand: Paper (VIAaaS C: 1.7.6-1.7.10 (5) S: 1.16.4/5 (754))
	Server type: Non-integrated multiplayer server
Stacktrace:
	at net.minecraft.class_478.method_4684(class_478.java:289)
	at net.minecraft.class_1600.method_2945(class_1600.java:1972)
	at net.minecraft.class_1600.method_5580(class_1600.java:742)
	at net.minecraft.client.main.Main.main(Main.java:148)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
	at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175)
	at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185)
	at org.polymc.EntryPoint.listen(EntryPoint.java:144)
	at org.polymc.EntryPoint.main(EntryPoint.java:74)

-- System Details --
Details:
	Minecraft Version: 1.7.10
	Operating System: Linux (amd64) version 5.15.0-46-generic
	Java Version: 1.8.0_332, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 319163384 bytes (304 MB) / 447741952 bytes (427 MB) up to 954728448 bytes (910 MB)
	JVM Flags: 2 total; -Xms128m -Xmx1024m
	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	Launched Version: 1.7.10
	LWJGL: 2.9.4
	OpenGL: Mesa Intel(R) UHD Graphics 620 (WHL GT2) GL version 4.6 (Compatibility Profile) Mesa 21.3.9 (git-78c96ae5b6), Intel
	GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

	Is Modded: Definitely; Client brand changed to 'fabric'
	Type: Client (map_client.txt)
	Resource Packs: []
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
	Anisotropic Filtering: Off (1)
commented

method_7596 -> ClientPlayPacketListener.onEquipmentUpdate

commented

Crash message: java.lang.ArrayIndexOutOfBoundsException: 4
(Latest Paper 1.16.5 + Via ci builds)

commented

Please fill out the bug report given to you and don't delete its contents. Thank you!

commented

Please fill out the bug report given to you and don't delete its contents. Thank you!

clever