NPE caused by checkPermissionWildcardTree when a player joins
svenar-nl opened this issue · 0 comments
I'm not a dummy, so I've checked these
- I am not using any other permission management plugin
- I use the latest available version of PowerRanks
- I am a human
Describe the bug
When the player joins it throws an NPE. caused by checkPermissionWildcardTree.
To Reproduce
Steps to reproduce the behavior:
Unknown
Logs
[14:49:10 WARN]: Exception in thread "ForkJoinPool.commonPool-worker-0" java.lang.NullPointerException [14:49:10 INFO]: Nikifoz присоединился к серверу. [14:49:10 WARN]: at nl.svenar.PowerRanks.Data.PowerPermissibleBase.checkPermissionWildcardTree(PowerPermissibleBase.java:297) [14:49:10 WARN]: at nl.svenar.PowerRanks.Data.PowerPermissibleBase.hasPermission(PowerPermissibleBase.java:62) [14:49:10 WARN]: at org.bukkit.craftbukkit.v1_16_R1.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:206) [14:49:10 WARN]: at net.minecraft.server.v1_16_R1.CommandListenerWrapper.hasPermission(CommandListenerWrapper.java:160) [14:49:10 WARN]: at net.minecraft.server.v1_16_R1.CommandListenerWrapper.hasPermission(CommandListenerWrapper.java:149) [14:49:10 WARN]: at net.minecraft.server.v1_16_R1.CommandSpreadPlayers.lambda$a$2(CommandSpreadPlayers.java:31) [14:49:10 WARN]: at com.mojang.brigadier.tree.CommandNode.canUse(CommandNode.java:79) [14:49:10 WARN]: at net.minecraft.server.v1_16_R1.CommandDispatcher.a(CommandDispatcher.java:300) [14:49:10 WARN]: at net.minecraft.server.v1_16_R1.CommandDispatcher.sendAsync(CommandDispatcher.java:264) [14:49:10 WARN]: at net.minecraft.server.v1_16_R1.CommandDispatcher.lambda$a$4(CommandDispatcher.java:247) [14:49:10 WARN]: at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) [14:49:10 WARN]: at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [14:49:10 WARN]: at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [14:49:10 WARN]: at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [14:49:10 WARN]: at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)
Additional context
Reported on the PowerRanks Discord server.