-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Fedora Linux
i7 8700k
32GB System Memory
Java 14 with debug flags for NPE
-
You are running the latest version
-
mcMMO
-
Yes
NPE in CraftBlockTag.getHandle() when invoking CraftBlockTag::getValues in 1.16.2
[15:28:54] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.v1_16_R2.Tag.getTagged()" because the return value of "org.bukkit.craftbukkit.v1_16_R2.tag.CraftBlockTag.getHandle()" is null
[15:28:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_16_R2.tag.CraftBlockTag.getValues(CraftBlockTag.java:25)
[15:28:54] [Server thread/WARN]: at com.gmail.nossr50.config.treasure.TreasureConfig.loadTreasures(TreasureConfig.java:276)
[15:28:54] [Server thread/WARN]: at com.gmail.nossr50.config.treasure.TreasureConfig.loadKeys(TreasureConfig.java:94)
[15:28:54] [Server thread/WARN]: at com.gmail.nossr50.config.treasure.TreasureConfig.<init>(TreasureConfig.java:37)
[15:28:54] [Server thread/WARN]: at com.gmail.nossr50.config.treasure.TreasureConfig.getInstance(TreasureConfig.java:43)
[15:28:54] [Server thread/WARN]: at com.gmail.nossr50.mcMMO.loadConfigFiles(mcMMO.java:501)
[15:28:54] [Server thread/WARN]: at com.gmail.nossr50.mcMMO.onEnable(mcMMO.java:168)
[15:28:54] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[15:28:54] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351)
[15:28:54] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
[15:28:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:492)
[15:28:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:406)
[15:28:54] [Server thread/WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:435)
[15:28:54] [Server thread/WARN]: at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:219)
[15:28:54] [Server thread/WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:808)
[15:28:54] [Server thread/WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164)
[15:28:54] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:832)