Solved async thread kills plugin

Discussion in 'Plugin Development' started by klosjaarrr, Oct 13, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    klosjaarrr

    Someone was trying to make a chat plugin, but he cannot manage to solve the issue. Can someone take a look at the source and see what they can do? I appriciate it! Source: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 5, 2016
  2. Offline

    Rocoty

    1: This thread should have been in plugin requests

    2: Your dev probably hasn't learned to read stack traces. The problem has nothing to do with async tasks. If he had known how to read stack traces, something he should if he is to call himself a dev, he would have found out that the problem has to do with him trying to get the index of a ChatFormat list by passing a String...obviously that won't work and returns -1, hence the IndexOutOfBoundsException

    3: This code is a mess and I'm not even gonna try and fix it.
     
    Mathias Eklund and klosjaarrr like this.
  3. Offline

    klosjaarrr

    Thanks for the help, I'll get back to him and see if he can fix it with your suggestion. It isn't really a plugin request but a request for help, therefore I posted it here (I already have a topic in the plugin requests).
     
Thread Status:
Not open for further replies.

Share This Page