PluginBugs / Issues-ChestPreview

Repository used to keep track of issues of my plugin ChestPreview
0 stars 0 forks source link

ChestPreview Warning spamming on console #34

Closed DorianGrayJr closed 5 months ago

DorianGrayJr commented 6 months ago

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)

[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) [?:?]

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

github-actions[bot] commented 6 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.