• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Bug Report 2 Horrific Errors

KingGoldensPanda

Verified Member
Hi!
I believe this goes here I'm honestly not sure, the guide for this category is outdated.
There are 3 horrible errors that are continuously reoccurring however, I cannot figure out what they are. They cause logs to be nearly 1GB a day which is a problem x.x
Would anyone know if these will possibly be fixed soon or what causes them so I could disable the move until then to help my console out a bit?
Thank you so much in advanced! :D

Code:
[01:08:12 ERROR]: Could not pass event PlayerToggleSneakEvent to ProjectKorra v1.8.6
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1455) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PacketPlayInEntityAction.a(SourceFile:43) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PacketPlayInEntityAction.a(SourceFile:9) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_141]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_141]
        at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
Caused by: java.lang.NullPointerException
Code:
[01:07:19 ERROR]: Could not pass event EntityDamageByBlockEvent to ProjectKorra v1.8.6
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:93) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:491) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:631) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:617) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.EntityItem.damageEntity(EntityItem.java:256) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.Entity.burnFromLava(Entity.java:476) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.Entity.Y(Entity.java:447) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.Entity.B_(Entity.java:320) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.EntityItem.B_(EntityItem.java:61) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.World.entityJoinedWorld(World.java:1631) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.World.h(World.java:1601) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.World.tickEntities(World.java:1435) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.WorldServer.tickEntities(WorldServer.java:668) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:817) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
Caused by: java.lang.ClassCastException
 

Simplicitee

Staff member
Plugin Developer
Verified Member
We'll need you to provide the rest of the error, the stuff that comes after the Caused by statement
 

KingGoldensPanda

Verified Member
Those were the entire errors it gives me in the console

These 2 errors appear in my console thousands of times a day which makes it frustrating b/c the console becomes unusable
 
Last edited:

Sobki

Staff member
Lead Developer
Plugin Developer
Verified Member
The errors have been cut off at the bottom, the first one should have more information about the NullPointerException stated on the last line, and the second a ClassCastException.
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
These are the same errors as what we've seen before. Not sure if the current changes have fixed it or not, but I do believe it's caused from items falling into Temp Lava and burning.

Regardless, we'll look into them.
 

KingGoldensPanda

Verified Member
Thank you so much!! :D

If not able to fix possibly some how a way to mute those 2 errors? Im sure its not an issue for smaller servers but I get about one of those errors per second on average lol its a disaster in console
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
Hmm, hard to say. Although I know the cause of the error, I have actually never been able to replicate the error so a lot of the details on how it occurs are still pretty foreign to me.

You could try make blocks not drop from items in your arena world...? This wouldn't be possible for a survival world but this may fix some of the issues.

While you're at it, could you also send me a bending debug file? All the info possible surrounding this error would be greatly appreciated
 

KingGoldensPanda

Verified Member
Hey sorry just now seeing your response.
A few other notes I have seen are AirSpout sometimes causes players to have infinite fly after use (according to a few players)
**When combustion is used on a burning furnace, the items in the burning furnace are dropped and then duplicate when the burning furnace regenerates, just forgot to add that block to the list that already includes furnace to the blocks combustion cannot break**

I did disable the dropping of items in my arena (through world guard) didn't seem to lower the amount of times those errors are in console however

Here is the debug file, thanks so much for your help!
 

Attachments

KingGoldensPanda

Verified Member
Another side note I have noticed that im unable to disable combustion in the config, and break blocks toggle in it does not work either

Im quite sure im not doing anything wrong, simply using /b reload or rebooting, and im sure my config isn't broken or anything sorry for all these separate little issues but wanted to just let u guys know on them

Code:
    Combustion:
      Enabled: false
      Cooldown: 10000
      BreakBlocks: false
      Power: 1.0
      Damage: 4
      Radius: 4
      Range: 35
      Speed: 25
The toggle for bending with weapons for Air, also seems to not work, it will not allow players to bind abilities when holding weapons when they are air regardless if I change this to true or false
CanBendWithWeapons: true


/pk reload returns an error btw
Code:
[00:05:00 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'pk' in plugin ProjectKorra v1.8.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_141]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_141]
        at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
Caused by: java.util.ConcurrentModificationException
        at java.util.PriorityQueue$Itr.next(PriorityQueue.java:535) ~[?:1.8.0_141]
        at com.projectkorra.projectkorra.util.TempBlock.removeAll(TempBlock.java:86) ~[?:?]
        at com.projectkorra.projectkorra.GeneralMethods.stopBending(GeneralMethods.java:2126) ~[?:?]
        at com.projectkorra.projectkorra.GeneralMethods.reloadPlugin(GeneralMethods.java:1615) ~[?:?]
        at com.projectkorra.projectkorra.command.ReloadCommand.execute(ReloadCommand.java:25) ~[?:?]
        at com.projectkorra.projectkorra.command.Commands$1.onCommand(Commands.java:130) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        ... 15 more
[00:05:00 INFO]: KingGoldensPanda is no longer AFK
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
In regards to Combustion, that's because you aren't using PK combustion. The stock version of that ability doesn't have those issues, so you might want to ask the author (or maintainer) of the ability to fix that.

As for that error... Oh joy. Every devs favorite kind of error (even less loved than NPEs). We'll look into it though.
 

KingGoldensPanda

Verified Member
Terribly sorry, went through to check to make sure I was using the stock but I skipped over one of the searches in the file it seems. Fixed that up lol.

Thanks again for all your help!!
 
Top