本帖最后由 QQ酱186310 于 2024-12-4 20:59 编辑
和朋友一起玩的1.20.1自制整合包有用kubeJs做过配方之类的魔改,之前玩没有任何问题,但是最近两天,我的朋友们频繁掉线并提示Internal Exception: io.netty.handler.codec.EncoderException: java.util.ConcurrentModificationExceotion而我这个建主的没有任何问题,同时他们在野外探图挖矿也都不会掉线,只要回到家里过一会就会掉线
翻找了latest.log文件中可能是报错问题的部分给GPT看了一下说是ConcurrentModificationException问题,但说的解决办法都是很涉及编程的东西,咱实在是看不太懂
所以求助求助大佬能不能解决一下
java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextNode(HashMap.java:1605) ~[?:?] at java.util.HashMap$KeyIterator.next(HashMap.java:1628) ~[?:?] at net.minecraft.nbt.CompoundTag.m_6434_(CompoundTag.java:133) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.nbt.NbtIo.m_128950_(NbtIo.java:139) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.nbt.NbtIo.m_128941_(NbtIo.java:108) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.network.FriendlyByteBuf.m_130079_(FriendlyByteBuf.java:588) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket.m_5779_(ClientboundBlockEntityDataPacket.java:44) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.network.PacketEncoder.encode(PacketEncoder.java:45) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.network.PacketEncoder.encode(PacketEncoder.java:14) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.82.Final.jar%23101!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113) ~[netty-codec-4.1.82.Final.jar%23101!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113) ~[netty-codec-4.1.82.Final.jar%23101!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at net.minecraft.network.Connection.m_243087_(Connection.java:224) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at net.minecraft.network.Connection.lambda$sendPacket$8(Connection.java:213) ~[client-1.20.1-20230612.114412-srg.jar%23434!/:?] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar%23102!/:4.1.82.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar%23102!/:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar%23102!/:4.1.82.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[netty-transport-4.1.82.Final.jar%23107!/:4.1.82.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar%23102!/:4.1.82.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar%23102!/:4.1.82.Final] at java.lang.Thread.run(Thread.java:1583) ~[?:?] [0412月2024 01:39:46.094] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: JIARENXIANPO lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.util.ConcurrentModificationException [0412月2024 01:39:46.094] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: JIARENXIANPO退出了游戏 [0412月2024 01:39:46.106] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [CHAT] JIARENXIANPO退出了游戏 [0412月2024 01:39:50.103] [User Authenticator #13/INFO] [net.minecraft.server.network.ServerLoginPacketListenerImpl/]: UUID of player JIARENXIANPO is 4406505b-24d5-4d26-b9a7-17c350b2e4c0 [0412月2024 01:39:52.256] [Server thread/INFO] [net.minecraft.server.players.PlayerList/]: JIARENXIANPO[/127.0.0.1:1612] logged in with entity id 96616 at (251.24478900172218, 72.5625, 76.29097753112713) [0412月2024 01:39:52.265] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: JIARENXIANPO加入了游戏 [0412月2024 01:39:52.272] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [CHAT] JIARENXIANPO加入了游戏 [0412月2024 01:39:52.312] [Server thread/INFO] [Jade/]: Syncing config to JIARENXIANPO (4406505b-24d5-4d26-b9a7-17c350b2e4c0) [0412月2024 01:39:52.437] [Netty Server IO #21/ERROR] [dev.architectury.networking.forge.NetworkManagerImpl/]: Unknown message ID: pandalib:config_sync
|