Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPAM ERROR]: Could not pass event ChunkUnloadEvent to SuperiorSkyblock2 v2024.4 #2340

Open
Ronny34m opened this issue Jan 15, 2025 · 7 comments
Assignees
Labels
📝 Missing information Required information is missing

Comments

@Ronny34m
Copy link

Minecraft's Version

1.21.x

Plugin's Version

2024.4

Describe the bug

[13:43:05] [Server thread/INFO]: Ronny41m issued server command: /is create Strohhut
[13:43:07] [Server thread/ERROR]: Could not pass event ChunkUnloadEvent to SuperiorSkyblock2 v2024.4-b408
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.chunk.Chunk.unloadCallback(Chunk.java:590) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.PlayerChunk.lambda$updateFutures$7(PlayerChunk.java:324) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.PlayerChunkMap$CallbackExecutor.run(PlayerChunkMap.java:167) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.PlayerChunk.a(PlayerChunk.java:334) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.ChunkMapDistance.lambda$runAllUpdates$1(ChunkMapDistance.java:128) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at net.minecraft.server.level.ChunkMapDistance.a(ChunkMapDistance.java:127) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.ChunkProviderServer.s(ChunkProviderServer.java:290) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:348) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:412) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1472) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:406) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1321) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1071) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at java.base/java.lang.Thread.run(Thread.java:1570) [?:?]
Caused by: java.lang.IllegalStateException: Chunk not there when requested: Unloaded chunk
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:156) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.world.level.World.a(World.java:298) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at com.bgsoftware.superiorskyblock.nms.v1_21.NMSUtils.getCraftChunkHandle(NMSUtils.java:426) ~[?:?]
at com.bgsoftware.superiorskyblock.nms.v1_21.NMSChunksImpl.isChunkEmpty(NMSChunksImpl.java:430) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.handleIslandChunkUnload(ChunksListener.java:88) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.lambda$handleChunkUnload$0(ChunksListener.java:80) ~[?:?]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1117) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.handleChunkUnload(ChunksListener.java:78) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.onChunkUnloadMonitor(ChunksListener.java:61) ~[?:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
... 19 more
[13:43:07] [Server thread/ERROR]: Could not pass event ChunkUnloadEvent to SuperiorSkyblock2 v2024.4-b408
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.chunk.Chunk.unloadCallback(Chunk.java:590) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.PlayerChunk.lambda$updateFutures$7(PlayerChunk.java:324) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.PlayerChunkMap$CallbackExecutor.run(PlayerChunkMap.java:167) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.PlayerChunk.a(PlayerChunk.java:334) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.ChunkMapDistance.lambda$runAllUpdates$1(ChunkMapDistance.java:128) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at net.minecraft.server.level.ChunkMapDistance.a(ChunkMapDistance.java:127) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.ChunkProviderServer.s(ChunkProviderServer.java:290) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:348) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:412) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1472) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:406) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1321) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1071) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at java.base/java.lang.Thread.run(Thread.java:1570) [?:?]
Caused by: java.lang.IllegalStateException: Chunk not there when requested: Unloaded chunk
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:156) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at net.minecraft.world.level.World.a(World.java:298) ~[spigot-1.21.jar:4289-Spigot-fb8fb72-8ee6fd1]
at com.bgsoftware.superiorskyblock.nms.v1_21.NMSUtils.getCraftChunkHandle(NMSUtils.java:426) ~[?:?]
at com.bgsoftware.superiorskyblock.nms.v1_21.NMSChunksImpl.isChunkEmpty(NMSChunksImpl.java:430) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.handleIslandChunkUnload(ChunksListener.java:88) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.lambda$handleChunkUnload$0(ChunksListener.java:80) ~[?:?]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1117) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.handleChunkUnload(ChunksListener.java:78) ~[?:?]
at com.bgsoftware.superiorskyblock.listener.ChunksListener.onChunkUnloadMonitor(ChunksListener.java:61) ~[?:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
... 19 more

To Reproduce

This always happens when I create a new world or when I am in the world.

Additional Information

No response

@Ronny34m Ronny34m added the Pending Pending reports to be investigated label Jan 15, 2025
@Ronny34m
Copy link
Author

PlaceholderAPI 2.11.6 is Installed.

@OmerBenGera
Copy link
Member

What is your exact version? The output of /version.
Also, check if it occurs on latest dev build

@OmerBenGera OmerBenGera added 📝 Missing information Required information is missing and removed Pending Pending reports to be investigated labels Jan 15, 2025
@Ronny34m
Copy link
Author

SuperiorSkyblock2 2024.4 23/11/2024
CraftBukkit version 4289-Spigot-fb8fb72-8ee6fd1 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
Thanks for help :-)

@OmerBenGera
Copy link
Member

Check if it happens on latest dev build of the plugin as well

@Ronny34m
Copy link
Author

Yes, unfortunately exactly the same :-(

@Ronny34m
Copy link
Author

Has a solution been found for this yet?

@OmerBenGera
Copy link
Member

I cannot replicate the issue
However, I believe this only happens in Spigot - switch to Paper and you should be good.
Also, Paper is more stable and optimized than Spigot, so you should use it anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Missing information Required information is missing
Projects
None yet
Development

No branches or pull requests

2 participants