Open HamtaBot opened 1 year ago
im giving more errors here
We fixed the previous NPE
[18:48:20 WARN]: [Insights] Task #6139582 for Insights v6.15.1-SNAPSHOT generated an exception
java.lang.NullPointerException: Cannot invoke "dev.frankheijden.insights.api.concurrent.storage.Storage.count(dev.frankheijden.insights.api.config.limits.Limit, dev.frankheijden.insights.api.objects.wrappers.ScanObject)" because "storage" is null
at dev.frankheijden.insights.api.listeners.InsightsListener.lambda$handleRemoval$6(InsightsListener.java:312) ~[InsightsParent-6.15.1-SNAPSHOT-all.jar:?]
at dev.frankheijden.insights.api.listeners.InsightsListener.lambda$handleRemoval$7(InsightsListener.java:339) ~[InsightsParent-6.15.1-SNAPSHOT-all.jar:?]
at dev.frankheijden.insights.api.listeners.InsightsListener.lambda$scanRegion$10(InsightsListener.java:378) ~[InsightsParent-6.15.1-SNAPSHOT-all.jar:?]
at dev.frankheijden.insights.api.tasks.ScanTask.cancel(ScanTask.java:381) ~[InsightsParent-6.15.1-SNAPSHOT-all.jar:?]
at dev.frankheijden.insights.api.tasks.ScanTask.run(ScanTask.java:397) ~[InsightsParent-6.15.1-SNAPSHOT-all.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2044]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.1.jar:git-Purpur-2044]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1507) ~[purpur-1.20.1.jar:git-Purpur-2044]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.1.jar:git-Purpur-2044]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1421) ~[purpur-1.20.1.jar:git-Purpur-2044]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1192) ~[purpur-1.20.1.jar:git-Purpur-2044]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.1.jar:git-Purpur-2044]
at java.lang.Thread.run(Thread.java:833) ~[?:?]```
[16:35:04 ERROR]: [Insights] java.lang.NullPointerException: Cannot invoke "dev.frankheijden.insights.nms.core.ChunkSection.index()" because "section" is null
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "dev.frankheijden.insights.nms.core.ChunkSection.index()" because "section" is null
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "dev.frankheijden.insights.nms.core.ChunkSection.index()" because "section" is null
at dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.lambda$get$1(ChunkContainer.java:93) ~[Insights-6.15.0.jar:?]
at dev.frankheijden.insights.nms.v1_20_R1.InsightsNMSImpl.getUnloadedChunkSections(InsightsNMSImpl.java:96) ~[Insights-6.15.0.jar:?]
at dev.frankheijden.insights.api.concurrent.containers.UnloadedChunkContainer.getChunkSections(UnloadedChunkContainer.java:32) ~[Insights-6.15.0.jar:?]
at dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:92) ~[Insights-6.15.0.jar:?]
at dev.frankheijden.insights.api.concurrent.containers.ChunkContainer.get(ChunkContainer.java:21) ~[Insights-6.15.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 3 more```
I found how to reporduce the issue , it seems to happen when there is 90 Players online and the server starts lagging (12tps) the scan crash and nobody can place spawners or limited items anymore
im getting spammed when placeing spawner and it seems that the limit doesnt works its being bypassed by everyone since updating to 1.20.1
Im using the bentobox addon and the bridge i commissionned to you for wildstacker This is one of the error
[18:44:40 WARN]: [Insights] Task #925646 for Insights v6.15.0 generated an exception java.lang.NullPointerException: null at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) ~[?:?] at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) ~[?:?] at dev.frankheijden.insights.api.concurrent.storage.AddonStorage.put(AddonStorage.java:20) ~[Insights-6.15.0.jar:?] at dev.frankheijden.insights.api.listeners.InsightsListener.lambda$scanRegion$10(InsightsListener.java:372) ~[Insights-6.15.0.jar:?] at dev.frankheijden.insights.api.tasks.ScanTask.cancel(ScanTask.java:381) ~[Insights-6.15.0.jar:?] at dev.frankheijden.insights.api.tasks.ScanTask.run(ScanTask.java:397) ~[Insights-6.15.0.jar:?] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2044] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.1.jar:git-Purpur-2044] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1507) ~[purpur-1.20.1.jar:git-Purpur-2044] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.1.jar:git-Purpur-2044] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1421) ~[purpur-1.20.1.jar:git-Purpur-2044] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1192) ~[purpur-1.20.1.jar:git-Purpur-2044] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.1.jar:git-Purpur-2044] at java.lang.Thread.run(Thread.java:833) ~[?:?
and this is the spam https://pastebin.com/AhYuSmg1 when disabling insighgt no more spam at all