PluginBugs / Issues-ChestPreview

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

NullPointerException on custom inventories #3

Closed LoneDev6 closed 10 months ago

LoneDev6 commented 11 months ago
 [ChestPreview] Task #5100 for ChestPreview v1.0.3 generated an exception
java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because "<parameter1>" is null
        at chestpreview.m.b.b(SourceFile:222) ~[ChestPreview_1.0.3.jar:?]
        at chestpreview.m.d.a(SourceFile:292) ~[ChestPreview_1.0.3.jar:?]
        at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
        at java.util.Collections$SynchronizedMap.forEach(Collections.java:2735) ~[?:?]
        at chestpreview.m.d.b(SourceFile:291) ~[ChestPreview_1.0.3.jar:?]
        at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1497) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
github-actions[bot] commented 11 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.