PlayTime

PlayTime

38.5k Downloads

error on enabling

piritacraft opened this issue ยท 8 comments

commented

2013-10-09 08:44:55 [INFO] [PlayTime] Enabling Playtime v1.4.3
2013-10-09 08:44:55 [SEVERE] Error occurred while enabling Playtime v1.4.3 (Is it up to date?)
java.lang.NullPointerException
at com.rogue.playtime.Playtime.onEnable(Playtime.java:116)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:286)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:268)
at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:321)
at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:298)
at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:258)
at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:165)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)

commented

Does the plugin generate a folder named "lang" under the Playtime folder? If so, what happens on the second starting of the server?

commented

As a notice, this bug may be fixed within Playtime 1.4.3:

http://dev.bukkit.org/server-mods/playtime

Let me know if you still have any trouble!

commented

Error on loading:

2013-11-19 19:01:34 [INFO] [PlayTime] Enabling Playtime v1.4.3
2013-11-19 19:01:34 [SEVERE] Error occurred while enabling Playtime v1.4.3 (Is it up to date?)
java.lang.NullPointerException
at com.rogue.playtime.Playtime.onEnable(Playtime.java:116)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:286)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:268)
at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:321)
at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:298)
at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:258)
at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:165)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)

commented

Can you provide the file you have under plugins/Playtime/lang ?

commented
commented
commented

The language locale you chose is not supported for PlayTime. Currently, there is only "en_US" (English), and "de_DE" (German). If you want to contribute a new lang file for your language I can implement it into playtime.

commented

Thank you.