Scheduler problem

Discussion in 'BungeeCord Plugin Development' started by AgentLV, Jan 24, 2016.

  1. Hey guys,
    I am having a strange error and I am not sure if this a Bungeecord bug, so I am going to ask here before I report it to Bungeecord.
    So I have a repeating task, which pings all the servers and sometimes when the proxy is shut down, these errors occur.
    http://hastebin.com/soduragami.avrasm

    Task
    Code (Text):
    getProxy().getScheduler().schedule(this, new Runnable() {
                @Override
                public void run() {
                    checkTask.checkServers();
                }
            }, 5, interval, TimeUnit.SECONDS);
    Ping
    Code (Text):
    entry.getValue().ping(new Callback<ServerPing>() // you get the idea
     
  2. Lol, den kenn ich doch...

    ...die Fehler kann ich mir auch nicht erklären, hatte auch letztens Stress mit Tasks in BC ^^. Scheint etwas Buggy zu sein.
    Naja, noch viel Glück bei der Fehlerbehebung.
     
  3. Think it's a Bungeecord bug, where the tasks are not properly shut.
     
  4. BungeeCord doesn't properly handle closing pending ping tasks when it shuts down, it's been that way since day one.