Version 10.1.1 from march 15 gives this error
MrKiller01 opened this issue ยท 3 comments
`>pluginmanager load PreciousStones-10.1.1
[16:59:17 WARN]: org.bukkit.plugin.InvalidPluginException: java.lang.IllegalArgu
mentException: Plugin already initialized!
[16:59:17 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja
vaPluginLoader.java:135)
[16:59:17 WARN]: at org.bukkit.plugin.SimplePluginManager.loadPlugin(Simp
lePluginManager.java:329)
[16:59:17 WARN]: at com.jadeningle.PluginManager.Utils.Control.loadPlugin
(Control.java:92)
[16:59:17 WARN]: at com.jadeningle.PluginManager.pluginManagerCommand.loa
dPluginCommand(pluginManagerCommand.java:159)
[16:59:17 WARN]: at com.jadeningle.PluginManager.pluginManagerCommand.onC
ommand(pluginManagerCommand.java:59)
[16:59:17 WARN]: at org.bukkit.command.PluginCommand.execute(PluginComman
d.java:44)
[16:59:17 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
mmandMap.java:141)
[16:59:17 WARN]: at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCo
mmand(CraftServer.java:645)
[16:59:17 WARN]: at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchSe
rverCommand(CraftServer.java:631)
[16:59:17 WARN]: at net.minecraft.server.v1_9_R1.DedicatedServer.aL(Dedic
atedServer.java:438)
[16:59:17 WARN]: at net.minecraft.server.v1_9_R1.DedicatedServer.D(Dedica
tedServer.java:401)
[16:59:17 WARN]: at net.minecraft.server.v1_9_R1.MinecraftServer.C(Minecr
aftServer.java:660)
[16:59:17 WARN]: at net.minecraft.server.v1_9_R1.MinecraftServer.run(Mine
craftServer.java:559)
[16:59:17 WARN]: at java.lang.Thread.run(Unknown Source)
[16:59:17 WARN]: Caused by: java.lang.IllegalArgumentException: Plugin already i
nitialized!
[16:59:17 WARN]: at org.bukkit.plugin.java.PluginClassLoader.initialize(P
luginClassLoader.java:122)
[16:59:17 WARN]: at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.j
ava:67)
[16:59:17 WARN]: at net.sacredlabyrinth.Phaed.PreciousStones.PreciousSton
es.<init>(PreciousStones.java:26)
[16:59:17 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
0(Native Method)
[16:59:17 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
(Unknown Source)
[16:59:17 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInst
ance(Unknown Source)
[16:59:17 WARN]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
rce)
[16:59:17 WARN]: at java.lang.Class.newInstance(Unknown Source)
[16:59:17 WARN]: at org.bukkit.plugin.java.PluginClassLoader.<init>(Plugi
nClassLoader.java:76)
[16:59:17 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja
vaPluginLoader.java:131)
[16:59:17 WARN]: ... 13 more
[16:59:17 WARN]: Caused by: java.lang.IllegalStateException: Initial initializat
ion
[16:59:17 WARN]: at org.bukkit.plugin.java.PluginClassLoader.initialize(P
luginClassLoader.java:125)
[16:59:17 WARN]: at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.j
ava:67)
[16:59:17 WARN]: at net.sacredlabyrinth.Phaed.PreciousStones.PreciousSton
es.<init>(PreciousStones.java:26)
[16:59:17 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
0(Native Method)
[16:59:17 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance
(Unknown Source)
[16:59:17 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInst
ance(Unknown Source)
[16:59:17 WARN]: at java.lang.reflect.Constructor.newInstance(Unknown Sou
rce)
[16:59:17 WARN]: at java.lang.Class.newInstance(Unknown Source)
[16:59:17 WARN]: at org.bukkit.plugin.java.PluginClassLoader.<init>(Plugi
nClassLoader.java:76)
[16:59:17 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja
vaPluginLoader.java:131)
[16:59:17 WARN]: at org.bukkit.plugin.SimplePluginManager.loadPlugin(Simp
lePluginManager.java:329)
[16:59:17 WARN]: at org.bukkit.plugin.SimplePluginManager.loadPlugins(Sim
plePluginManager.java:251)
[16:59:17 WARN]: at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin
s(CraftServer.java:296)
[16:59:17 WARN]: at net.minecraft.server.v1_9_R1.DedicatedServer.init(Ded
icatedServer.java:201)
[16:59:17 WARN]: at net.minecraft.server.v1_9_R1.MinecraftServer.run(Mine
craftServer.java:527)
[16:59:17 WARN]: ... 1 more
[16:59:17 INFO]: Failed to load PreciousStones-10.1.1! (Check console for detail
s.)
>`
I'll try a version from march 8th...
It did the same, but... when i restarted the server it picked up the flow...
I tried this again, unloading ok, loading not, but stop and start worked for you latest version...
org.bukkit.plugin.InvalidPluginException: java.lang.IllegalArgu
mentException: Plugin already initialized!
Could it be you have two PS jars on there?
No, i remove the old before i put there a newer version, that's what i do with all plugins, unload, move away old plugin, move new plugin into pluginfolder, load plugin. That's when the error came, but i told that when i stopped the server and restarted it, there was no problem...
I've noticed this too, but it only happens when you try to unload the plugin while the server is running (Which works fine) then loading it again (Again, while the server is still running). It doesn't seem to fully shutdown when you do this using another plugin such as PluginManager/Plugman/ect. This hasn't always been the case, but I can't remember how long/how many versions ago this worked without issue.