No error where stack-trace says

Discussion in 'Plugin Development' started by MeZTech, Sep 8, 2012.

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

    MeZTech

    In the error report, it says that there is an error in localchatlistener line 26, so I go to line 26 and eclipse says there is no error. Here is line 6
    plugin.getServer().getPluginManager().registerEvents(this, plugin);
     
  2. Offline

    Firefly

  3. Offline

    gregthegeek

    Sometimes errors only occur when the code is run, Eclipse cannot predict every way that the code will be run and therefore can't predict every possible error. It appears that Bukkit is unable to register the events you have in your listener. The issue is in your listener class (you named your instance of it 'plugin'). If you still can't solve it, post your listener code.
     
Thread Status:
Not open for further replies.

Share This Page