vrbadev / DigitalClock

Bukkit plugin DigitalClock
http://dev.bukkit.org/bukkit-plugins/digitalclock/
2 stars 7 forks source link

Error in the java.lang.NullPointerException: Name is null #2

Closed XxCoolGamesxX closed 12 years ago

XxCoolGamesxX commented 12 years ago

2012-11-17 12:08:25 [SEVERE] Error occurred while enabling DigitalClock v1.1 (Is it up to date?) java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Unknown Source) at org.bukkit.Material.valueOf(Material.java:20) at me.PerwinCZ.DigitalClock.Clock.reloadFromConfig(Clock.java:123) at me.PerwinCZ.DigitalClock.Clock.getCreator(Clock.java:141) at me.PerwinCZ.DigitalClock.Main.getClocks(Main.java:81) at me.PerwinCZ.DigitalClock.Main.onEnable(Main.java:32) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252) at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:147) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)

vrbadev commented 12 years ago

It is propably because you have some old clocks from version 1.0. You have to remove them and create new.

XxCoolGamesxX commented 12 years ago

Yup is work now. Fix for the help.