PluginBugs / Issues-ChestPreview

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

Error #26

Closed Askarionn closed 4 months ago

Askarionn commented 8 months ago

Terms

Discord tag (optional)

No response

What happened?

[22:02:30 WARN]: [ChestPreview] Task #266726 for ChestPreview v1.0.8 generated an exception java.lang.NullPointerException: Cannot invoke "org.bukkit.block.Block.getLocation()" because ".a" is null at chestpreview.m.j.a(SourceFile:405) ~[ChestPreview_1.0.8.jar:?] at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?] at java.util.Collections$SynchronizedMap.forEach(Collections.java:2955) ~[?:?] at chestpreview.m.j.a(SourceFile:404) ~[ChestPreview_1.0.8.jar:?] at chestpreview.m.j.b(SourceFile:505) ~[ChestPreview_1.0.8.jar:?] at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1643) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:449) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1522) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1217) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[pufferfish-1.20.4.jar:git-Pufferfish-44] at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Steps to reproduce the issue

-

Server version

git-Pufferfish-44 (MC: 1.20.4)

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)

[22:02:30 WARN]: [ChestPreview] Task #266726 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) ~[ChestPreview_1.0.8.jar:?]
        at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?]
        at java.util.Collections$SynchronizedMap.forEach(Collections.java:2955) ~[?:?]
        at chestpreview.m.j.a(SourceFile:404) ~[ChestPreview_1.0.8.jar:?]
        at chestpreview.m.j.b(SourceFile:505) ~[ChestPreview_1.0.8.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1643) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:449) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1522) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1217) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[pufferfish-1.20.4.jar:git-Pufferfish-44]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]

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 8 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.

bobhenl commented 8 months ago

I can confirm

[03:38:14 WARN]: [ChestPreview] Task #3501585 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) ~[ChestPreview_1.0.8.jar:?]
        at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
        at java.util.Collections$SynchronizedMap.forEach(Collections.java:2735) ~[?:?]
        at chestpreview.m.j.a(SourceFile:404) ~[ChestPreview_1.0.8.jar:?]
        at chestpreview.m.j.b(SourceFile:505) ~[ChestPreview_1.0.8.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1506) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1420) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2062]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
LoneDev6 commented 4 months ago

Duplicate of #34