Problem when upgrading to 1.4
OliverMichas opened this issue ยท 2 comments
When updating my server (1.1 RB) and TelePads plugin (v1.4), I get the following error :
14:43:27 [GRAVE] Error occurred while enabling TelePads v1.4 (Is it up to date?): null
java.lang.NullPointerException
at me.wizzledonker.plugins.telepads.Telepads.reloadprops(Telepads.java:195)
at me.wizzledonker.plugins.telepads.Telepads.onEnable(Telepads.java:60)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Thank you very much for any help.
This issue was fixed by deleting the TelePads folder altogether and rebooting the server.
Might be nice to warn server admins to do so in case they face the same problem.
More stuff to fix! Thanks for reporting.
For now, what you can do is the following. Delete your config.yml, copying everything under the 'pads' entry into the new pads.yml config file. You can now reload or restart your server and the config file will regenerate, you will then be able to edit the config file, and you will lose none of your pads.