croxis / Lift

Minecraft/Bukkit elevator plugin
23 stars 26 forks source link

UnhandledException in CraftAsyncTask.run on Startup #124

Closed captbunzo closed 10 years ago

captbunzo commented 10 years ago

I've recently started using Lift as an upgrade from an old craftbook style simple sign based teleporting lift plugin. I really like it and am impressed with how long you've kept up with it. Cheers for that. :)

Alas, I've got an error on startup. It doesn't seem to stop anything from working, but I thought it would be good to report.

[13:37:55 WARN]: Exception in thread "Craft Scheduler Thread - 3"                                                                           
[13:37:55 WARN]: org.apache.commons.lang.UnhandledException: Plugin Lift v51 generated an     exception while executing task 330                
        at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)                                              
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)                                                  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)                                                  
        at java.lang.Thread.run(Thread.java:724)                                                                                            
Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()Ljava/util/Collection;                                          
        at net.croxis.plugins.lift.BukkitMetrics.postPlugin(BukkitMetrics.java:353)                                                         
        at net.croxis.plugins.lift.BukkitMetrics.access$400(BukkitMetrics.java:75)                                                          
        at net.croxis.plugins.lift.BukkitMetrics$1.run(BukkitMetrics.java:241)                                                              
        at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:67)                                                        
        at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)                                              
        ... 3 more                                                                                                                          
croxis commented 10 years ago

Its an issue with the Bukkit Metrics reporter. I'm putting in a fix for future lift versions. You are right, it is a harmless error.

captbunzo commented 10 years ago

Cool. Thanks for your quick reply.

Creepers-Help commented 10 years ago

I would recomend closing this :)

captbunzo commented 10 years ago

I disagree this should be closed as the issue is not actually fixed (even if the error is harmless).

croxis commented 10 years ago

It is closed because the bukkit code is being retired and rewritten for sponge. On Sep 10, 2014 10:18 PM, "Paul Thompson" notifications@github.com wrote:

I disagree this should be closed as the issue is not actually fixed (even if the error is harmless).

— Reply to this email directly or view it on GitHub https://github.com/croxis/Lift/issues/124#issuecomment-55220577.