NBT-API

NBT-API

98.9k Downloads

not work with 1.21.1

juzijun233 opened this issue ยท 0 comments

commented
[NBTAPI] Running NBT reflection test...
[10:59:38 ERROR]: Error occurred while enabling NBTAPI v2.13.1 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
        at item-nbt-api-plugin-2.13.1.jar/de.tr7zw.nbtapi.NBTCompound.setString(NBTCompound.java:176) ~[item-nbt-api-plugin-2.13.1.jar:?]
        at item-nbt-api-plugin-2.13.1.jar/de.tr7zw.nbtapi.plugin.tests.compounds.GetterSetterTest.test(GetterSetterTest.java:36) ~[item-nbt-api-plugin-2.13.1.jar:?]
        at item-nbt-api-plugin-2.13.1.jar/de.tr7zw.nbtapi.plugin.NBTAPI.onEnable(NBTAPI.java:193) ~[item-nbt-api-plugin-2.13.1.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:654) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:603) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:757) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:519) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:363) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1230) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "pk" is null
        at java.base/java.util.ImmutableCollections$MapN.probe(ImmutableCollections.java:1328) ~[?:?]
        at java.base/java.util.ImmutableCollections$MapN.get(ImmutableCollections.java:1242) ~[?:?]
        at java.base/java.util.ImmutableCollections$AbstractImmutableMap.getOrDefault(ImmutableCollections.java:1097) ~[?:?]
        at io.papermc.paper.pluginremap.reflect.PaperReflection.mapDeclaredFieldName(PaperReflection.java:79) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.getDeclaredField(AbstractDefaultRulesReflectionProxy.java:90) ~[reflection-rewriter-runtime-0.0.3.jar:?]
        at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.getDeclaredField(Unknown Source) ~[purpur-1.21.1.jar:1.21.1-2286-366af80]
        at item-nbt-api-plugin-2.13.1.jar/de.tr7zw.nbtapi.NBTReflectionUtil.<clinit>(NBTReflectionUtil.java:59) ~[item-nbt-api-plugin-2.13.1.jar:?]
        ... 15 more
[10:59:38 INFO]: [NBTAPI] Disabling NBTAPI v2.13.1

version
[11:01:29 INFO]: Checking version, please wait...
[11:01:31 INFO]: Current Purpur Version: 1.21.1-2286-366af80 (MC: 1.21.1)*

  • You are running the latest version