
DecoderException: EntityPacketRewriter1_21_2
SheaFoxx opened this issue ยท 5 comments
/viaversion dump
Output
I can't join the server, and the command doesn't exist on another server, this is with ViaFabric not server side.
Console Error
Bug Description
Can't connect to 1.21.4 servers.
Steps to Reproduce
Minecraft 1.21.1 Client w/ Fabric, ViaFabric, ViaVersion, and ViaBackwards. (latest versions)
Connect to a vanilla 1.21.4 server.
Expected Behavior
Able to join the server.
Additional Server Info
No response
Checklist
- I have checked if this is specific to ViaFabric platform, and doesn't happen when running it on other platforms (Paper/Sponge/Velocity/Waterfall).
- I have included a ViaVersion dump.
- If applicable, I have included a paste (not a screenshot) of the error.
- I have tried the latest build(s) from https://ci.viaversion.com/ and the issue still persists.
Here's some relevant logs during initial startup which might be related
[01:01:30] [Via-Mappingloader-0/INFO] (ViaVersion) Loading block connection mappings ...
[01:01:30] [Via-Mappingloader-0/INFO] (ViaVersion) Using FastUtil Long2ObjectOpenHashMap for block connections
[01:01:30] [Via-Mappingloader-11/ERROR] (ViaVersion) Error during mapping loading of Protocol1_21_2To1_21_4
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Unknown global identifier index: 1398
at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1851) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java) ~[?:?]
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:1575) [?:?]
Caused by: java.lang.IllegalArgumentException: Unknown global identifier index: 1398
at knot/com.viaversion.viaversion.api.data.MappingDataLoader.identifierFromGlobalId(MappingDataLoader.java:106) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataLoader.identifiersFromGlobalIds(MappingDataLoader.java:281) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataBase.identifiersFromGlobalIds(MappingDataBase.java:116) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataBase.loadFullMappings(MappingDataBase.java:141) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataBase.load(MappingDataBase.java:83) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.protocol.AbstractProtocol.loadMappingData(AbstractProtocol.java:211) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1848) ~[?:?]
... 4 more
[01:01:30] [Render thread/INFO] (ViaRewind) Registering protocols...
[01:01:30] [Render thread/INFO] (ViaBackwards) Loading translations...
[01:01:30] [Render thread/INFO] (ViaBackwards) Registering protocols...
[01:01:31] [Via-Mappingloader-10/ERROR] (ViaVersion) Error during mapping loading of Protocol1_21_4To1_21_2
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Unknown global identifier index: 1398
at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:376) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:391) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:918) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:885) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:526) ~[?:?]
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:1575) [?:?]
Caused by: java.lang.IllegalArgumentException: Unknown global identifier index: 1398
at knot/com.viaversion.viaversion.api.data.MappingDataLoader.identifierFromGlobalId(MappingDataLoader.java:106) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataLoader.identifiersFromGlobalIds(MappingDataLoader.java:281) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataBase.identifiersFromGlobalIds(MappingDataBase.java:116) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataBase.loadFullMappings(MappingDataBase.java:140) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.data.MappingDataBase.load(MappingDataBase.java:83) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.api.protocol.AbstractProtocol.loadMappingData(AbstractProtocol.java:211) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at knot/com.viaversion.viaversion.protocol.ProtocolManagerImpl.lambda$addMappingLoaderFuture$1(ProtocolManagerImpl.java:503) ~[viaversion-5.2.2-SNAPSHOT-64b5720b4b825f21.jar:?]
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:907) ~[?:?]
... 5 more
[01:01:31] [Render thread/INFO] (ViaVersion) ViaVersion detected lowest supported version by the proxy: 1.8.x (47)
[01:01:31] [Render thread/INFO] (ViaVersion) Highest supported version by the proxy: 1.21.4 (769)
[01:01:31] [ViaFabric-2/INFO] (ViaVersion) Finished mapping loading, shutting down loader executor.
Update ViaBackwards and ViaVersion, otherwise something else is making the mappings fail.
As I said I have the latest versions of ViaVersion and ViaBackwards from Jenkins, and latest version of ViaFabric for 1.21.1.
It seems rude to close the issue before finding out if the suggestion solution was valid or if it worked or not.
As I said I have the latest versions of ViaVersion and ViaBackwards from Jenkins, and latest version of ViaFabric for 1.21.1.
It seems rude to close the issue before finding out if the suggestion solution was valid or if it worked or not.
Provide the client logs as this doesn't sound right.
I tried to make a clean instance but couldn't reproduce it, tried for hours and figured out that it's Replay Mod, and it's not a consistent issue every time the game starts.