[Bug] Taking out a flag from the collection caused a crash
nonameawa opened this issue · 0 comments
What happened?
When add a patterned flag to favorite in one world and bringing it to another world, taking out this flag will cause the game to crash and display the crash as "io.netty.handler.codec.EncoderException: Failed to encode packet 'serverbound/minecraft:set_creative_mode_slot' ".
There is the crash report disconnect-2024-10-07_17.47.33-client.txt
What mod loaders are you seeing the problem on?
Fabric
What do you think this bug is of?
- Visual
- Recipe Lookup
- Cheat Mode
- Plugin Integration / JEI Plugin Compatibility
- Others
Relevant log output
---- Minecraft Network Protocol Error Report ----
// Sabotage!
Time: 2024-10-07 17:47:33
Description: Packet handling error
io.netty.handler.codec.EncoderException: Failed to encode packet 'serverbound/minecraft:set_creative_mode_slot'
at net.minecraft.class_9136.method_56426(class_9136.java:55)
at net.minecraft.class_9136.encode(class_9136.java:14)
at net.minecraft.class_2545.method_10838(class_2545.java:26)
at net.minecraft.class_2545.encode(class_2545.java:12)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
at net.minecraft.class_2535$2.write(class_2535.java:530)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at net.minecraft.class_2535.method_36942(class_2535.java:350)
at net.minecraft.class_2535.method_52917(class_2535.java:345)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Can't find id for 'Reference{ResourceKey[minecraft:banner_pattern / minecraft:stripe_left]=class_2582[assetId=minecraft:stripe_left, translationKey=block.minecraft.banner.stripe_left]}' in map net.minecraft.class_2378$1@b234789
at net.minecraft.class_2359.method_56158(class_2359.java:27)
at net.minecraft.class_9135$17.method_58013(class_9135.java:521)
at net.minecraft.class_9135$17.encode(class_9135.java:499)
at net.minecraft.class_9139$12.encode(class_9139.java:156)
at net.minecraft.class_9135$11.method_58006(class_9135.java:378)
at net.minecraft.class_9135$11.encode(class_9135.java:363)
at net.minecraft.class_9139$8.encode(class_9139.java:81)
at net.minecraft.class_9326$1.method_57851(class_9326.java:123)
at net.minecraft.class_9326$1.method_57850(class_9326.java:109)
at net.minecraft.class_9326$1.encode(class_9326.java:59)
at net.minecraft.class_1799$1.method_56100(class_1799.java:156)
at net.minecraft.class_1799$1.encode(class_1799.java:132)
at net.minecraft.class_1799$3.method_59695(class_1799.java:200)
at net.minecraft.class_1799$3.encode(class_1799.java:187)
at net.minecraft.class_9139$12.encode(class_9139.java:157)
at net.minecraft.class_9139$9.method_56442(class_9139.java:97)
at net.minecraft.class_9139$9.encode(class_9139.java:87)
at net.minecraft.class_9136.method_56426(class_9136.java:53)
... 24 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Netty Local Client IO #2
Stacktrace:
at net.minecraft.class_2547.method_55622(class_2547.java:33)
Mixins in Stacktrace: None found
-- Connection --
Details:
Protocol: play
Flow: CLIENTBOUND
Server type: <none>
Server brand: fabric
Stacktrace:
at net.minecraft.class_2547.method_55622(class_2547.java:33)
at net.minecraft.class_2600.method_59803(class_2600.java:62)
at net.minecraft.class_8673.method_60882(class_8673.java:136)
at net.minecraft.class_8673.method_60881(class_8673.java:127)
at net.minecraft.class_2535.exceptionCaught(class_2535.java:161)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317)
at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1377)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:907)
at io.netty.channel.ChannelFutureListener$3.operationComplete(ChannelFutureListener.java:69)
at io.netty.channel.ChannelFutureListener$3.operationComplete(ChannelFutureListener.java:65)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:557)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492)
at io.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:185)
at io.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:95)
at io.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:30)
at net.minecraft.class_2535.method_36942(class_2535.java:364)
at net.minecraft.class_2535.method_52917(class_2535.java:345)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Thread.java:1583)
Mixins in Stacktrace:
net.minecraft.class_8673:
net.fabricmc.fabric.mixin.networking.client.ClientCommonNetworkHandlerMixin (fabric-networking-api-v1.client.mixins.json)
io.wispforest.owo.mixin.ClientCommonNetworkHandlerAccessor (owo.mixins.json)
net.fabricmc.fabric.mixin.networking.client.accessor.ClientCommonNetworkHandlerAccessor (fabric-networking-api-v1.client.mixins.json)
net.minecraft.class_2535:
io.wispforest.owo.mixin.ClientConnectionMixin (owo.mixins.json)
com.ishland.vmp.mixins.access.IClientConnection (vmp.mixins.json)
com.ishland.vmp.mixins.networking.no_flush.MixinClientConnection (vmp.mixins.json)
com.viaversion.fabric.mc121.mixin.debug.client.MixinClientConnection (mixins.viafabric121.debug.json)
com.ishland.vmp.mixins.networking.avoid_deadlocks.MixinClientConnection (vmp.mixins.json)
com.viaversion.fabric.mc121.mixin.pipeline.MixinClientConnection (mixins.viafabric121.pipeline.json)
net.fabricmc.fabric.mixin.networking.ClientConnectionMixin (fabric-networking-api-v1.mixins.json)
com.viaversion.fabric.mc121.mixin.pipeline.client.MixinClientConnection (mixins.viafabric121.pipeline.json)
com.ishland.vmp.mixins.networking.eventloops.MixinClientConnection (vmp.mixins.json)
com.viaversion.fabric.mc121.mixin.debug.client.MixinClientConnectionAccessor (mixins.viafabric121.debug.json)
-- System Details --
Details:
Minecraft Version: 1.21
Minecraft Version ID: 1.21
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 1552266080 bytes (1480 MiB) / 3443523584 bytes (3284 MiB) up to 6979321856 bytes (6656 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 8845H w/ Radeon 780M Graphics
Identifier: AuthenticAMD Family 25 Model 117 Stepping 2
Microarchitecture: Zen 3
Frequency (GHz): 3.79
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: NVIDIA GeForce RTX 4060 Laptop GPU
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MiB): 8188.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 32.0.15.6094
Graphics card #1 name: AMD Radeon 780M Graphics
Graphics card #1 vendor: Advanced Micro Devices, Inc.
Graphics card #1 VRAM (MiB): 512.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 31.0.22032.1
Memory slot #0 capacity (MiB): 12288.00
Memory slot #0 clockSpeed (GHz): 5.60
Memory slot #0 type: Unknown
Memory slot #1 capacity (MiB): 12288.00
Memory slot #1 clockSpeed (GHz): 5.60
Memory slot #1 type: Unknown
Virtual memory max (MiB): 30765.37
Virtual memory used (MiB): 21988.67
Swap memory total (MiB): 6912.00
Swap memory used (MiB): 50.61
Space in storage for jna.tmpdir (MiB): available: 351036.59, total: 770938.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 351036.59, total: 770938.00
Space in storage for io.netty.native.workdir (MiB): available: 351036.59, total: 770938.00
Space in storage for java.io.tmpdir (MiB): available: 25841.90, total: 204807.00
Space in storage for workdir (MiB): available: 351036.59, total: 770938.00
JVM Flags: 6 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn998m -Xmx6656m
Fabric Mods:
advancementinforeloaded: AdvancementInfo Reloaded 0.3.0-1.21
owo: oωo 0.12.10+1.21
blue_endless_jankson: jankson 1.2.2
io_wispforest_endec: endec 0.1.0
io_wispforest_endec_gson: gson 0.1.0
io_wispforest_endec_jankson: jankson 0.1.0
io_wispforest_endec_netty: netty 0.1.0
appleskin: AppleSkin 3.0.2+mc1.21
architectury: Architectury 13.0.2
autofish: XPlus Autofish 1.3.3-fabric-mc1.21.x
bobby: Bobby 5.2.2+mc1.21
com_typesafe_config: config 1.4.2
fabric-api-base: Fabric API Base 0.4.42+6573ed8c90
fabric-command-api-v2: Fabric Command API (v2) 2.2.27+6a6dfa1990
io_leangen_geantyref_geantyref: geantyref 1.3.13
org_spongepowered_configurate-core: configurate-core 4.1.2
org_spongepowered_configurate-hocon: configurate-hocon 4.1.2
cicada: CICADA 0.8.0+1.21-and-above
cloth-config: Cloth Config v15 15.0.127
cloth-basic-math: cloth-basic-math 0.6.1
continuity: Continuity 3.0.0-beta.5+1.21
debugify: Debugify 1.21+1.0
dynamic_fps: Dynamic FPS 3.4.3
entityculling: EntityCulling 1.6.6
fabric-api: Fabric API 0.100.3+1.21
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.67+b5597344d1
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.28+6fc22b99d1
fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a7d1
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8cd1
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.52+0af3f5a7d1
fabric-client-tags-api-v1: Fabric Client Tags 1.1.15+6573ed8cd1
fabric-command-api-v1: Fabric Command API (v1) 1.2.48+f71b366fd1
fabric-commands-v0: Fabric Commands (v0) 0.2.65+df3654b3d1
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.13+b5597344d1
fabric-convention-tags-v1: Fabric Convention Tags 2.0.14+7f945d5bd1
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.3.1+8a3b5617d1
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a7d1
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.23+6a6dfa19d1
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.8+16c4ae25d1
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b99d1
fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.12+6fc22b99d1
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.10+e633f883d1
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.52+6573ed8cd1
fabric-item-api-v1: Fabric Item API (v1) 11.0.0+afdfc921d1
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.1+cb5ced13d1
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.47+0af3f5a7d1
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.45+df3654b3d1
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.11+8f3583aed1
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.10+6573ed8cd1
fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 2.0.0+fe474d6bd1
fabric-networking-api-v1: Fabric Networking API (v1) 4.2.0+ab7edbacd1
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.1.11+d1321076d1
fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.9+6573ed8cd1
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.0.22+ab7edbacd1
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.16+fe474d6bd1
fabric-renderer-indigo: Fabric Renderer - Indigo 1.6.4+48fb1586d1
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.66+df3654b3d1
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2ed1
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+b5597344d1
fabric-rendering-v0: Fabric Rendering (v0) 1.1.69+df3654b3d1
fabric-rendering-v1: Fabric Rendering (v1) 5.0.3+d1321076d1
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.2.1+d153f344d1
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.1.4+cb5ced13d1
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.24+b5597344d1
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.79+b5597344d1
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.23+6573ed8cd1
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.14+b5597344d1
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.0.12+6573ed8cd1
fabric-language-kotlin: Fabric Language Kotlin 1.11.0+kotlin.2.0.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 2.0.0
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 2.0.0
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 2.0.0
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 2.0.0
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.24.0
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.8.1
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.8.1
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.6.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.6.3
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.6.3
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.6.3
fabricloader: Fabric Loader 0.15.11
mixinextras: MixinExtras 0.3.5
fastquit: FastQuit 3.0.0+1.20.6
ferritecore: FerriteCore 7.0.0
forgeconfigapiport: Forge Config API Port 21.0.0
com_electronwill_night-config_core: core 3.6.7
com_electronwill_night-config_toml: toml 3.6.7
ias: In-Game Account Switcher 9.0.1
immediatelyfast: ImmediatelyFast 1.2.18+1.21
net_lenni0451_reflect: Reflect 1.3.4
indium: Indium 1.0.33+mc1.21
iris: Iris 1.7.1+mc1.21
io_github_douira_glsl-transformer: glsl-transformer 2.0.1
org_anarres_jcpp: jcpp 1.4.14
org_antlr_antlr4-runtime: antlr4-runtime 4.13.1
jade: Jade 15.1.4+fabric
java: OpenJDK 64-Bit Server VM 21
konkrete: Konkrete 1.9.9
languagereload: Language Reload 1.6.1+1.21
litematica: Litematica 0.18.999-sakura.4
lithium: Lithium 0.12.7
malilib: MaLiLib 0.19.999-sakura.2
minecraft: Minecraft 1.21
mixintrace: MixinTrace 1.1.1+1.17
modernfix: ModernFix 5.18.3+mc1.21
modmenu: Mod Menu 11.0.0
placeholder-api: Placeholder API 2.4.0-pre.2+1.21
peek: Peek 1.21-1.3.2
reeses-sodium-options: Reese's Sodium Options 1.7.2+mc1.21
resourcify: Resourcify 1.4.0
universalcraft: UniversalCraft 342
roughlyenoughitems: Roughly Enough Items 16.0.783
error_notifier: Error Notifier 1.0.11
sodium: Sodium 0.5.9+mc1.21
sodium-extra: Sodium Extra 0.5.7+mc1.21
caffeineconfig: CaffeineConfig 1.3.0+1.17
tweakeroo: Tweakeroo 0.20.999-sakura.3
viafabric: ViaFabric 0.4.15+81-main
viafabric-mc121: ViaFabric for 1.21 0.4.15+81-main
viaversion: ViaVersion 5.0.4-SNAPSHOT
vmp: Very Many Players 0.2.0+beta.7.162+1.21
com_ibm_async_asyncutil: asyncutil 0.1.0
worldedit: WorldEdit 7.3.4-beta-01+0452ca2
xaerominimap: Xaero's Minimap 24.2.1
xaeroworldmap: Xaero's World Map 1.38.8
yet_another_config_lib_v3: YetAnotherConfigLib 3.5.0+1.21-fabric
com_twelvemonkeys_common_common-image: common-image 3.10.0
com_twelvemonkeys_common_common-io: common-io 3.10.0
com_twelvemonkeys_common_common-lang: common-lang 3.10.0
com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0
com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0
com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0
org_quiltmc_parsers_gson: gson 0.2.1
org_quiltmc_parsers_json: json 0.2.1
Loaded Shaderpack: (off)
Anything else?
No response
By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.
- Yes, and I did not use any paste services other than GitHub Gists.
By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.
- Yes