arendel
New Member
I've set up a new Spigot v 1.16.2 server, which is working fine. I copied the ProjectKorra file to the plugins folder but I keep getting errors during server load and whenever trying to run bend commands. They are the following:
[10:50:42 INFO]: [ProjectKorra] Enabling ProjectKorra v1.8.0 BETA 12
[10:50:43 WARN]: [Fatal Error] :1:1: Premature end of file.
[10:50:43 WARN]: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
[10:50:43 WARN]: at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
[10:50:43 WARN]: at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
[10:50:43 WARN]: at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
[10:50:43 WARN]: at com.projectkorra.projectkorra.util.Updater.<init>(Updater.java:60)
[10:50:43 WARN]: at com.projectkorra.projectkorra.ProjectKorra.onEnable(ProjectKorra.java:58)
[10:50:43 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[10:50:43 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351)
[10:50:43 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
[10:50:43 WARN]: at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:492)
[10:50:43 WARN]: at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:406)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:435)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:219)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:808)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164)
[10:50:43 WARN]: at java.lang.Thread.run(Unknown Source)
[10:50:43 INFO]: [ProjectKorra] Establishing SQLite Connection.[SQLite] Connection established!
[10:50:43 INFO]: Server permissions file permissions.yml is empty, ignoring it
[10:50:43 INFO]: Done (14.715s)! For help, type "help"
[11:15:26 WARN]: [ProjectKorra] Plugin ProjectKorra v1.8.0 BETA 12 generated an exception while executing task 163
java.lang.IllegalStateException: BendingPlayerCreationEvent cannot be triggered asynchronously from another thread.
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:572) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at com.projectkorra.projectkorra.GeneralMethods.loadBendingPlayer(GeneralMethods.java:1328) ~[?:?]
at com.projectkorra.projectkorra.BendingPlayer.<init>(BendingPlayer.java:90) ~[?:?]
at com.projectkorra.projectkorra.GeneralMethods.createBendingPlayerAsynchronously(GeneralMethods.java:280) ~[?:?]
at com.projectkorra.projectkorra.GeneralMethods.access$0(GeneralMethods.java:276) ~[?:?]
at com.projectkorra.projectkorra.GeneralMethods$1.run(GeneralMethods.java:271) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_261]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_261]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
[11:15:58 INFO]: imaginewag0n1 issued server command: /bending choose Water imaginewag0n1
[11:16:15 INFO]: imaginewag0n1 issued server command: /bend bind HealingWaters 1
[11:16:16 ERROR]: Could not pass event PlayerToggleSneakEvent to ProjectKorra v1.8.0 BETA 12
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1756) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PacketPlayInEntityAction.a(SourceFile:43) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PacketPlayInEntityAction.a(SourceFile:9) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:941) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:934) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.sleepForTick(MinecraftServer.java:918) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:850) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/HashSet;I)Lorg/bukkit/block/Block;
at com.projectkorra.projectkorra.ability.WaterAbility.getWaterSourceBlock(WaterAbility.java:192) ~[?:?]
at com.projectkorra.projectkorra.util.BlockSource.update(BlockSource.java:59) ~[?:?]
at com.projectkorra.projectkorra.PKListener.onPlayerSneak(PKListener.java:1216) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
... 18 more
[10:50:42 INFO]: [ProjectKorra] Enabling ProjectKorra v1.8.0 BETA 12
[10:50:43 WARN]: [Fatal Error] :1:1: Premature end of file.
[10:50:43 WARN]: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
[10:50:43 WARN]: at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
[10:50:43 WARN]: at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
[10:50:43 WARN]: at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
[10:50:43 WARN]: at com.projectkorra.projectkorra.util.Updater.<init>(Updater.java:60)
[10:50:43 WARN]: at com.projectkorra.projectkorra.ProjectKorra.onEnable(ProjectKorra.java:58)
[10:50:43 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[10:50:43 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351)
[10:50:43 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480)
[10:50:43 WARN]: at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:492)
[10:50:43 WARN]: at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:406)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:435)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:219)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:808)
[10:50:43 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164)
[10:50:43 WARN]: at java.lang.Thread.run(Unknown Source)
[10:50:43 INFO]: [ProjectKorra] Establishing SQLite Connection.[SQLite] Connection established!
[10:50:43 INFO]: Server permissions file permissions.yml is empty, ignoring it
[10:50:43 INFO]: Done (14.715s)! For help, type "help"
[11:15:26 WARN]: [ProjectKorra] Plugin ProjectKorra v1.8.0 BETA 12 generated an exception while executing task 163
java.lang.IllegalStateException: BendingPlayerCreationEvent cannot be triggered asynchronously from another thread.
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:572) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at com.projectkorra.projectkorra.GeneralMethods.loadBendingPlayer(GeneralMethods.java:1328) ~[?:?]
at com.projectkorra.projectkorra.BendingPlayer.<init>(BendingPlayer.java:90) ~[?:?]
at com.projectkorra.projectkorra.GeneralMethods.createBendingPlayerAsynchronously(GeneralMethods.java:280) ~[?:?]
at com.projectkorra.projectkorra.GeneralMethods.access$0(GeneralMethods.java:276) ~[?:?]
at com.projectkorra.projectkorra.GeneralMethods$1.run(GeneralMethods.java:271) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_261]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_261]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
[11:15:58 INFO]: imaginewag0n1 issued server command: /bending choose Water imaginewag0n1
[11:16:15 INFO]: imaginewag0n1 issued server command: /bend bind HealingWaters 1
[11:16:16 ERROR]: Could not pass event PlayerToggleSneakEvent to ProjectKorra v1.8.0 BETA 12
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1756) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PacketPlayInEntityAction.a(SourceFile:43) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PacketPlayInEntityAction.a(SourceFile:9) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:941) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:934) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.sleepForTick(MinecraftServer.java:918) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:850) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/HashSet;I)Lorg/bukkit/block/Block;
at com.projectkorra.projectkorra.ability.WaterAbility.getWaterSourceBlock(WaterAbility.java:192) ~[?:?]
at com.projectkorra.projectkorra.util.BlockSource.update(BlockSource.java:59) ~[?:?]
at com.projectkorra.projectkorra.PKListener.onPlayerSneak(PKListener.java:1216) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.2.jar:git-Spigot-b5a13e6-a939fbd]
... 18 more