
Plugin won't enable
XMrCatX opened this issue ยท 2 comments
Hi,
I just updated your plugin to the latest version in the hopes to be able to use it in 1.6.3 but for some reason, it keeps giving an error when enabling.
[10:09:58] [Server thread/ERROR]: Error occurred while enabling SetHomes v1.2.9 (Is it up to date?) java.lang.NullPointerException: null at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_265] at com.samleighton.xquiset.sethomes.SetHomes.getMaxHomes(SetHomes.java:266) ~[?:?] at com.samleighton.xquiset.sethomes.commands.SetHome.<init>(SetHome.java:27) ~[?:?] at com.samleighton.xquiset.sethomes.SetHomes.registerCommands(SetHomes.java:157) ~[?:?] at com.samleighton.xquiset.sethomes.SetHomes.onEnable(SetHomes.java:59) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.3.jar:git-Paper-216] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.3.jar:git-Paper-216] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.3.jar:git-Paper-216] at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.3.jar:git-Paper-216] at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.3.jar:git-Paper-216] at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:468) ~[patched_1.16.3.jar:git-Paper-216] at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:237) ~[patched_1.16.3.jar:git-Paper-216] at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.3.jar:git-Paper-216] at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-216] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265] [10:09:58] [Server thread/INFO]: [SetHomes] Disabling SetHomes v1.2.9
In the picture are the other plugins that I use and the log.
log.txt
Hello,
It looks like it failed when looking for a value in the config, and it could not find it. The error message indicates that there was an issue with the max-homes setting. Could you send what your config.yml looks like?
Best Regards,
Xquiset