PreciousStones

PreciousStones

269k Downloads

Code on startup and shutdown of server

10jared105 opened this issue ยท 1 comments

commented

I just updated to the 1.5 release of Precious Stones and when I start up my server I always get this:

14:32:43 [INFO] [PreciousStones] Enabling PreciousStones v9.5.6-SNAPSHOT
14:32:44 [INFO] [PreciousStones] Version 9.5.6-SNAPSHOT loaded
14:32:44 [SEVERE] Error occurred while enabling PreciousStones v9.5.6-SNAPSHOT (Is it up to date?)
java.lang.NoClassDefFoundError: com/p000ison/dev/simpleclans2/api/SCCore
at net.sacredlabyrinth.Phaed.PreciousStones.managers.SimpleClansManager.hookSimpleClans(SimpleClansManager.java:52)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.SimpleClansManager.(SimpleClansManager.java:32)
at net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.onEnable(PreciousStones.java:126)
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:381)
at org.bukkit.craftbukkit.v1_5_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_5_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_5_R1.MinecraftServer.j(MinecraftServer.java:303)
at net.minecraft.server.v1_5_R1.MinecraftServer.e(MinecraftServer.java:282)
at net.minecraft.server.v1_5_R1.MinecraftServer.a(MinecraftServer.java:242)
at net.minecraft.server.v1_5_R1.DedicatedServer.init(DedicatedServer.java:150)
at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:381)
at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ClassNotFoundException: com.p000ison.dev.simpleclans2.api.SCCore
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 14 more

And when I shut it down I get this:

14:33:03 [INFO] [PreciousStones] Disabling PreciousStones v9.5.6-SNAPSHOT
14:33:03 [SEVERE] Error occurred while disabling PreciousStones v9.5.6-SNAPSHOT (Is it up to date?)
java.lang.NullPointerException
at net.sacredlabyrinth.Phaed.PreciousStones.PreciousStones.onDisable(PreciousStones.java:245)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:481)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400)
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393)
at org.bukkit.craftbukkit.v1_5_R1.CraftServer.disablePlugins(CraftServer.java:277)
at net.minecraft.server.v1_5_R1.MinecraftServer.stop(MinecraftServer.java:333)
at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:440)
at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)

What is it and what do I do to fix it? Thanks!

-Jared

commented

fixed