connection-lost / LockettePro

LockettePro - A much better Lockette plugin for Bukkit [1.8 - 1.12]
42 stars 59 forks source link

odd warn exception #40

Closed chillerkraft closed 7 years ago

chillerkraft commented 7 years ago

09.06 03:12:19 [Server] WARN [LockettePro] Plugin LockettePro v2.7.0 generated an exception while executing task 84 09.06 03:12:19 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 09.06 03:12:19 [Server] INFO at org.mcstats.MetricsLite.postPlugin(MetricsLite.java:285) ~[?:?] 09.06 03:12:19 [Server] INFO at org.mcstats.MetricsLite.access$200(MetricsLite.java:51) ~[?:?] 09.06 03:12:19 [Server] INFO at org.mcstats.MetricsLite$1.run(MetricsLite.java:173) ~[?:?] 09.06 03:12:19 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[custom.jar:git-Spigot-3fb9445-6e3cec8] 09.06 03:12:19 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [custom.jar:git-Spigot-3fb9445-6e3cec8] 09.06 03:12:19 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121] 09.06 03:12:19 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121] 09.06 03:12:19 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

chillerkraft commented 7 years ago

1.11.2 spigot

connection-lost commented 7 years ago

This is due to other plugin contains old metrics code. Since metric only get loaded once, the metric class of the first plugin who has it gets loaded, and the metric class gets called by the last plugin loaded.

chillerkraft commented 7 years ago

thanks man @connection-lost glad to see your active and helpful :) it was cclogger causing my problems. old metrics. yea like you said! thanks so much!

connection-lost commented 7 years ago

I will remove metrics for the next version, since mcstats has approx. 90% downtime.

chillerkraft commented 7 years ago

ok can you tell me why [EVERYONE] signs don't work? should i open a new issue?

chillerkraft commented 7 years ago

@connection-lost

connection-lost commented 7 years ago

[Everyone] is case sensitive.