Closed M9GLiquid closed 8 years ago
That seems to be related to the plugin metrics. Does the plugin still work as expected?
seems to be working but does it not have anything todo with the error before it? "Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;"?
I'm just curious :)
That's actually the cause for the UnhandledException. Apparently, the version of Matrics included with the plugin has not been updated for "recent" API changes made in...1.7, I think? I'll look for a new version.
Ohh alright, looking forward to a update then :)
Could you try this development build and report if it still has the issue? I don't have a 1.9 server at hand for testing.
will do give me a few secs here :)
somehow this makes it so that it doesn't block anything. I might have done something wrong on my end i'll double check but that's the result as of yet
It breaks the plugin as it doesn't even get loaded I noticed
hm, weird. I'll set up a 1.9 server and test locally then.
Here found the issue:
10.04 10:16:02 [Server] ERROR Could not load 'plugins/CommandBlockerUltimate-1.3.5-SNAPSHOT.jar' in folder 'plugins' 10.04 10:16:02 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml 10.04 10:16:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:162) ~[spigot52.jar:git-Spigot-1480adb-6247aa0] 10.04 10:16:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot52.jar:git-Spigot-1480adb-6247aa0] 10.04 10:16:02 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugins(CraftServer.java:296) [spigot52.jar:git-Spigot-1480adb-6247aa0] 10.04 10:16:02 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:201) [spigot52.jar:git-Spigot-1480adb-6247aa0] 10.04 10:16:02 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [spigot52.jar:git-Spigot-1480adb-6247aa0] 10.04 10:16:02 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66] 10.04 10:16:02 [Server] INFO Caused by: java.util.zip.ZipException: zip file is empty 10.04 10:16:02 [Server] INFO at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_66] 10.04 10:16:02 [Server] INFO at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_66] 10.04 10:16:02 [Server] INFO at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_66] 10.04 10:16:02 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:166) ~[?:1.8.0_66] 10.04 10:16:02 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:130) ~[?:1.8.0_66] 10.04 10:16:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[spigot52.jar:git-Spigot-1480adb-6247aa0] 10.04 10:16:02 [Server] INFO ... 5 more
java.util.zip.ZipException: zip file is empty
Try redownloading the development build, myabe there was an error with your download.
Yes that seemed to be the issue working fine now :) :+1:
Confirmed working. Release will be out shortly.
Released as 1.3.5, find more info here. Thanks for your help!
10.04 09:26:42 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin CommandBlockerUltimate v1.3.2 generated an exception while executing task 393 10.04 09:26:42 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 10.04 09:26:42 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 10.04 09:26:42 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 10.04 09:26:42 [Server] INFO at java.lang.Thread.run(Thread.java:745) 10.04 09:26:42 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 10.04 09:26:42 [Server] INFO at io.github.xxyy.cmdblocker.lib.com.mcstats.Metrics.postPlugin(Metrics.java:357) 10.04 09:26:42 [Server] INFO at io.github.xxyy.cmdblocker.lib.com.mcstats.Metrics.access$400(Metrics.java:64) 10.04 09:26:42 [Server] INFO at io.github.xxyy.cmdblocker.lib.com.mcstats.Metrics$1.run(Metrics.java:245) 10.04 09:26:42 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) 10.04 09:26:42 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 10.04 09:26:42 [Server] INFO ... 3 more