When you try to install Sane Economy after Prison
MCTyler opened this issue ยท 7 comments
[03:42:59 ERROR]: Could not load 'plugins/SaneEconomyCore-0.13.1-SNAPSHOT.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:327) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:248) [spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:305) [spigot.jar:git-Spigot-9b8bba4-bd30843] at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:205) [spigot.jar:git-Spigot-9b8bba4-bd30843] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot.jar:git-Spigot-9b8bba4-bd30843] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151] Caused by: java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:183) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.java.JavaPlugin.(JavaPlugin.java:60) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.appledash.saneeconomy.shaded.sanelib.SanePlugin.(SanePlugin.java:19) ~[?:?] at org.appledash.saneeconomy.SaneEconomy.(SaneEconomy.java:47) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_151] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_151] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_151] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_151] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:90) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] ... 6 more Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:186) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.java.JavaPlugin.(JavaPlugin.java:60) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at tech.mcprison.prison.spigot.SpigotPrison.(SpigotPrison.java:58) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_151] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_151] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_151] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_151] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:90) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] ... 6 more
Because you guys have SaneEconomy initializing in Prison Start. If I remove Prison, SaneEconomy works just fine.
PluginClassLoader.java:90) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] ... 6 more Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:186) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at org.bukkit.plugin.java.JavaPlugin.(JavaPlugin.java:60) ~[spigot.jar:git-Spigot-9b8bba4-bd30843] at tech.mcprison.prison.spigot.SpigotPrison.(SpigotPrison.java:58) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_151] at
I edited the Prison Repo and took out all references to Essentials and SaneEconomy and it works fine so as far as I'm concerned I fixed it. You can close till someone else has this issue.
Ah okay. Well considering this is a bug, I'll leave it open. Glad you got it fixed.
I just installed Sane Economy along with the Prison 3.1 dev build and, I couldn't reproduce this error. Closing this...