[X] I'm using the very latest version of ChestPreview and its dependencies.
[X] I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
[X] I already searched on this Github page to check if the same issue was already reported.
[X] I already searched on the plugin wiki to know if a solution is already known.
[X] I already searched on the forums to check if anyone already has a solution for this.
Discord tag (optional)
doriangrayjr
What happened?
It randomly spams this messsage on server console changing eazch thime the number of the task.
Steps to reproduce the issue
It jsut randomly spams on console and when it starts keep spamming it until you reload the plugin or restart the server.
Server version
This server is running Mohist version 1.20.1-690 (MC: 1.20.1)
ChestPreview Version
ChestPreview version 1.0.8
ProtocolLib Version
ProtocolLib version 5.2.0-SNAPSHOT-679
LoneLibs Version
LoneLibs version 1.0.45
FULL server log
No response
Error (optional)
[ChestPreview] Task #33362 for ChestPreview v1.0.8 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.block.Block.getLocation()" because "<parameter3>.a" is null
at chestpreview.m.j.a(SourceFile:405) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
at java.util.Collections$SynchronizedMap.forEach(Collections.java:2735) ~[?:?]
at chestpreview.m.j.a(SourceFile:404) ~[?:?]
at chestpreview.m.j.b(SourceFile:505) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:78) ~[forge-1.20.1-47.2.30-universal.jar%23231!/:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:416) ~[forge-1.20.1-47.2.30-universal.jar%23231!/:?]
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:1133) ~[server-1.20.1-20230612.114412-srg.jar%23226!/:?]
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:346) ~[server-1.20.1-20230612.114412-srg.jar%23226!/:?]
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:1072) ~[server-1.20.1-20230612.114412-srg.jar%23226!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:902) ~[server-1.20.1-20230612.114412-srg.jar%23226!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:281) ~[server-1.20.1-20230612.114412-srg.jar%23226!/:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Terms
Discord tag (optional)
doriangrayjr
What happened?
It randomly spams this messsage on server console changing eazch thime the number of the task.
Steps to reproduce the issue
It jsut randomly spams on console and when it starts keep spamming it until you reload the plugin or restart the server.
Server version
This server is running Mohist version 1.20.1-690 (MC: 1.20.1)
ChestPreview Version
ChestPreview version 1.0.8
ProtocolLib Version
ProtocolLib version 5.2.0-SNAPSHOT-679
LoneLibs Version
LoneLibs version 1.0.45
FULL server log
No response
Error (optional)
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
No response