The server log shows that an error occurred while loading the Kajtehreward v1.0 plugin. The error was a Java IllegalArgumentException indicating that the plugin was already initialized. Some key points:
- The plugin was trying to initialize but had already been initialized previously
- This resulted in an error on plugin load which prevented the plugin from being enabled
- The root cause was that the plugin classes were trying to initialize more than once
The server log shows that an error occurred while loading the Kajtehreward v1.0 plugin. The error was a Java IllegalArgumentException indicating that the plugin was already initialized. Some key points:
- The plugin was trying to initialize but had already been initialized previously
- This resulted in an error on plugin load which prevented the plugin from being enabled
- The root cause was that the plugin classes were trying to initialize more than once
The server log shows that an error occurred while loading the Kajtehreward v1.0 plugin. The error was a Java IllegalArgumentException indicating that the plugin was already initialized. Some key points:
- The plugin was trying to initialize but had already been initialized previously
- This resulted in an error on plugin load which prevented the plugin from being enabled
- The root cause was that the plugin classes were trying to initialize more than once
[20:01:12] [Server thread/ERROR]: Error occurred while enabling Kajtehreward v1.0
(Is it up to date?) java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:225) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:53) ~[spigot- api-1.19.2-R0.1-SNAPSHOT.jar:?] at pl.kajteh.Kajtehreward.<init>(Kajtehreward.java:15) ~[?:?] at pl.kajteh.commands.RewardCommand.<init>(RewardCommand.java:19) ~[?:?] at pl.kajteh.Kajtehreward.registerCommands(Kajtehreward.java:50) ~[?:?] at pl.kajteh.Kajtehreward.onEnable(Kajtehreward.java:39) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:525) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:439) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:584) ~[spigot- 1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:403) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:255) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:968) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:293) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:228) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:53) ~[spigot- api-1.19.2-R0.1-SNAPSHOT.jar:?] at pl.kajteh.Kajtehreward.<init>(Kajtehreward.java:15) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcc essorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstr uctorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) ~[?:?] at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) ~[?:?] at java.lang.Class.newInstance(Class.java:645) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:79) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.loadPlugins(CraftServer.java:414) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:224) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a] ... 3 more