• Proceed with caution! Unofficial add-on plugins and abilities are not supported by the ProjectKorra staff. We will not provide support for broken add-ons. Download at your own risk.
  • 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

[Part of JedCore] LavaFlux [Deleted]

Status
Not open for further replies.

Carbogen

Verified Member
Doesn't work and gives out a mistake:

06.11 22:54:41 [Server] INFO [22:54:41 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
06.11 22:54:41 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
06.11 22:54:41 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
06.11 22:54:41 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
06.11 22:54:41 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
06.11 22:54:41 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
06.11 22:54:41 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
06.11 22:54:41 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
This is kinda troubling :/ I haven't had any issues with this on my side... Are you running your server with Java 7?
 

Carbogen

Verified Member
Alright, I did some more research into this issue. It's not only an incompatibility from Java 8 to Java 7, but a problem with ConcurrentHashMap objects themselves. I changed the instances pointer to a Map object (and not ConcurrentHashMap) as suggested in this post. I will push the update immediately, sorry about all of this.

For the time being DO NOT use this on any public servers, my confidence in this code has worn down a little because of this incident. This is the first time I've seen this error so please, any suggestions and help are greatly appreciated.

Thanks for all your patience.
 

Carbogen

Verified Member
still spamms the console and cant even see the ability in game :s do i need the latest dev build (projectkorra) to work it? :s
About the spamming, I'll need a little more info than that. Could you post either a screenshot or copy/paste the errors you are getting?
As for the version of PK, I compiled with ProjectKorra 1.5.0 (the dev build). I recommend you try LavaSlap with that.

IT DESTROYED MY SERVER.
You'll need to be a little more specific than that if you want help... "Destroyed my server" could mean
  • Blew up the world, your server with it.
  • Blew up the server machine.
  • Deleted your server machine's BIOS.
  • Crashed your server.
The latter being the most likely scenario. If that is the case then please do what I recommended Elzoz to do.
 

Elzoz

Verified Member
  • [00:45:29 WARN]:[ProjectKorra] Task #36 for ProjectKorra v1.5.0 BETA 13 generated an exception
  • java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
  • at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
  • at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
  • at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) ~[bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • [00:45:29 INFO]:Stopping server
  • [NodePanel]Process offline
something like that XD i think this is what you already know but then have atleast one more source :p

btw i love your plain way you type stuff , i dont know if you want to be polite or sarcasm or both sometimes XD makes me giggle like a litte girl XD now fix this! my earth admins have gf's and i swear this wait is making them to wet in thier pants and we can´t have that no sir! XDDD
 

PorkoMafia

Verified Member
Alright, I did some more research into this issue. It's not only an incompatibility from Java 8 to Java 7, but a problem with ConcurrentHashMap objects themselves. I changed the instances pointer to a Map object (and not ConcurrentHashMap) as suggested in this post. I will push the update immediately, sorry about all of this.

For the time being DO NOT use this on any public servers, my confidence in this code has worn down a little because of this incident. This is the first time I've seen this error so please, any suggestions and help are greatly appreciated.

Thanks for all your patience.
And when you will correct and update?
 

Carbogen

Verified Member
  • [00:45:29 WARN]:[ProjectKorra] Task #36 for ProjectKorra v1.5.0 BETA 13 generated an exception
  • java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
  • at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
  • at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
  • at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) ~[bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [bukkit-dev-3098.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
  • [00:45:29 INFO]:Stopping server
  • [NodePanel]Process offline
something like that XD i think this is what you already know but then have atleast one more source :p

btw i love your plain way you type stuff , i dont know if you want to be polite or sarcasm or both sometimes XD makes me giggle like a litte girl XD now fix this! my earth admins have gf's and i swear this wait is making them to wet in thier pants and we can´t have that no sir! XDDD
Thanks, yes this is the error I am desperately trying to tackle. ;)

Thanks for the compliment! And don't worry too much about your Earthbenders, Earth's no good (for growing crops) without a little water. ;)
 

miguelez23

Verified Member
The update 1.0.1 and 1.0.2 you added don't have download links? the only available download is still 1.0.0
 

PorkoMafia

Verified Member
I have already pushed an update containing the fix the post suggested. Now to wait for the PK Admins to review and approve the update.
And how many it is approximately necessary to wait that administration of PK approved updating and added it?
 

PorkoMafia

Verified Member
The mistake wasn't gone, help please ;(

07.11 12:59:40 [Server] INFO [12:59:40 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
07.11 12:59:40 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO [12:59:40 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
07.11 12:59:40 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO [12:59:40 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
07.11 12:59:40 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
 

Attachments

Carbogen

Verified Member
The update 1.0.1 and 1.0.2 you added don't have download links? the only available download is still 1.0.0
Yes I've had problems changing the main download button, so just look under versions history for a list of versions. There should be download buttons in there too.

The mistake wasn't gone, help please ;(

07.11 12:59:40 [Server] INFO [12:59:40 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
07.11 12:59:40 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO [12:59:40 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
07.11 12:59:40 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO [12:59:40 WARN]: [ProjectKorra] Task #45 for ProjectKorra v1.5 generated an exception
07.11 12:59:40 [Server] INFO java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlap.progressAll(LavaSlap.java:297) ~[?:?]
07.11 12:59:40 [Server] INFO at ca.carbogen.korra.LavaSlap.LavaSlapListener$1.run(LavaSlapListener.java:70) ~[?:?]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) ~[spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:618) [spigot.jar:git-Spigot-1370]
07.11 12:59:40 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1370]
I really don't understand at this point. I've tried all the solutions which work for everyone else, something just doesn't add up... I'm not giving up though. If this means I have to rewrite the whole ability, I will.
 

Carbogen

Verified Member
Okay so I won't bother waiting for the admins to approve the ability until we are sure it's been fixed. This will facilitate debugging, as I am unable to trigger the error. I have completely erased all versions of Java on my computer, updated Windows, and reinstalled Java 7.51. I'm not sure this will have fixed the issue, but the keySet() method from ConcurrentHashMap returns a Set<K> (as in Java 7), and not Set<K,V> (as in Java 8, the source of the problem).

Here is a [link removed] for LavaSlap v1.0.3.1, compiled with this version of Java this morning. Please test it out and report your results to me.

If any of you would additionally like to add me on Skype for quicker conversation, please do. My Skype id is quantum_sheep. Please do include your name on these forums in your contact request so I know who I'm adding.

If posting a Mediafire download here is not allowed on these forums, please let me know and I will take down the download. I do not intend to break the rules, and I've seen others make downloads such as this on their own threads.
 
Last edited:

Simonster99

Verified Member
v1.0.3.1 seems to be working fine for me, just one problem. i can't bind it, it says that I don't have permission.
 

Carbogen

Verified Member
v1.0.3.1 seems to be working fine for me, just one problem. i can't bind it, it says that I don't have permission.
If it works, then that's great news. About the permission, it's not default. You need to add the
Code:
bending.ability.LavaSlap
permission to the player or group you want to enable this ability for :)
 
Status
Not open for further replies.
Top