Rollczi/LiteCommands

NullPointerException: Cannot read field "value" because "s1" is null

Closed this issue · 0 comments

[09:51:32] [Server thread/INFO]: [ArcaneMerchant] Enabling ArcaneMerchant v1.0-SNAPSHOT
[09:51:32] [Server thread/ERROR]: Error occurred while enabling ArcaneMerchant v1.0-SNAPSHOT (Is it up to date?)
java.lang.NullPointerException: Cannot read field "value" because "s1" is null
    at java.lang.String$CaseInsensitiveComparator.compare(String.java:2077) ~[?:?]
    at java.lang.String$CaseInsensitiveComparator.compare(String.java:2070) ~[?:?]
    at java.util.TreeMap.put(TreeMap.java:830) ~[?:?]
    at java.util.TreeMap.put(TreeMap.java:569) ~[?:?]
    at java.util.TreeSet.add(TreeSet.java:259) ~[?:?]
    at dev.rollczi.litecommands.bukkit.argument.OfflinePlayerArgument.<init>(OfflinePlayerArgument.java:38) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at dev.rollczi.litecommands.bukkit.LiteBukkitFactory.lambda$builder$4(LiteBukkitFactory.java:70) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at dev.rollczi.litecommands.LiteCommandsBaseBuilder.self(LiteCommandsBaseBuilder.java:543) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at dev.rollczi.litecommands.LiteCommandsBaseBuilder.self(LiteCommandsBaseBuilder.java:84) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at dev.rollczi.litecommands.bukkit.LiteBukkitFactory.builder(LiteBukkitFactory.java:56) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at dev.rollczi.litecommands.bukkit.LiteBukkitFactory.builder(LiteBukkitFactory.java:51) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at dev.rollczi.litecommands.bukkit.LiteBukkitFactory.builder(LiteBukkitFactory.java:44) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at com.slime.arcaneMerchant.ArcaneMerchant.onEnable(ArcaneMerchant.java:14) ~[ArcaneMerchant-1.0-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[tequila-api-1.20.4-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[tequila-api-1.20.4-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:642) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:553) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:671) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:315) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[tequila-1.20.4.jar:git-Paper-"77cd2ac"]
    at java.lang.Thread.run(Thread.java:1583) ~[?:?]