ProtocolLib

3M Downloads

java.util.ConcurrentModificationException: null

LaserSlime opened this issue ยท 0 comments

commented
  • This issue is not solved in a development build

Describe the bug

[14:27:07] [Server thread/ERROR]: [AntiHealthIndicator] Unhandled exception occurred in onPacketSending(PacketEvent) for AntiHealthIndicator
java.util.ConcurrentModificationException: null
	at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970) ~[?:?]
	at java.util.LinkedList$ListItr.next(LinkedList.java:892) ~[?:?]
	at com.comphenix.protocol.wrappers.BukkitConverters.getSpecificList(BukkitConverters.java:320) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.wrappers.BukkitConverters.access$000(BukkitConverters.java:91) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.wrappers.BukkitConverters$3.getSpecific(BukkitConverters.java:365) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.wrappers.BukkitConverters$3.getSpecific(BukkitConverters.java:362) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.wrappers.Converters$1.getSpecific(Converters.java:43) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:274) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.reflect.StructureModifier.readSafely(StructureModifier.java:248) ~[ProtocolLib.jar:?]
	at de.laserslime.antihealthindicator.packetadapters.EntityMetadataAdapter.onPacketSending(EntityMetadataAdapter.java:40) ~[antihealthindicator-1.2.2.jar:?]
	at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:547) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:521) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:99) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:571) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.doProxyRunnable(NettyChannelInjector.java:472) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:43) ~[ProtocolLib.jar:?]
	at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:252) ~[ProtocolLib.jar:?]
	at net.minecraft.network.Connection.writePacket(Connection.java:433) ~[?:?]
	at net.minecraft.network.Connection.send(Connection.java:382) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2040) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2026) ~[?:?]
	at net.minecraft.server.level.ChunkMap$TrackedEntity.broadcast(ChunkMap.java:2293) ~[?:?]
	at net.minecraft.server.level.ServerEntity.broadcastAndSend(ServerEntity.java:411) ~[?:?]
	at net.minecraft.server.level.ServerEntity.sendDirtyEntityData(ServerEntity.java:374) ~[?:?]
	at net.minecraft.server.level.ServerEntity.sendChanges(ServerEntity.java:207) ~[?:?]
	at net.minecraft.server.level.ChunkMap.processTrackQueue(ChunkMap.java:2053) ~[paper-1.18.2.jar:git-Paper-386]
	at net.minecraft.server.level.ChunkMap.tick(ChunkMap.java:2064) ~[paper-1.18.2.jar:git-Paper-386]
	at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:1076) ~[?:?]
	at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:907) ~[?:?]
	at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:629) ~[?:?]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1593) ~[paper-1.18.2.jar:git-Paper-386]
	at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-386]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-386]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-386]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-386]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[14:27:07] [Server thread/ERROR]: Parameters: 
  net.minecraft.network.protocol.game.PacketPlayOutEntityMetadata@48182067[
    a=2120
    b=[net.minecraft.network.syncher.DataWatcher$Item@54d9df18, net.minecraft.network.syncher.DataWatcher$Item@3583c9d5]
  ]

Version Info
dump-2022-11-20_19.01.48.txt

Additional context
This happened after a protocolib update and I'm unsure how to prevent it, so I assume it's a protcollib issue. The source code for the AntiHealthIndicator Plugin can be found here