How to read stack-traces, and troubleshoot your own plugins (by yourself)

Discussion in 'Plugin Development' started by DrBoweNur, Aug 19, 2011.

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


    15:22:41 [SEVERE] Could not pass event EntityDeathEvent to ZombieSurvival
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(C
    How do I go look for the
  2. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Retired Staff

    That would be looking at the wrong part of the trace. Look below it for the reason it fired.
  3. Offline


    Pro tip: if you right click where the line numbers should be in Eclipse (the left margin), an option will appear for you to enable line numbers.
    Darky1126 likes this.
  4. In an error like this

    How do you know where to look?
  6. I mean, for this type of error is it usually the first line?
  7. You just really have to think about the logic; usually near the top is the best place to start but in your file, it calls, and that top line is the terminating point where (typically) the issue is caused.
  8. For this:

    Is: at me.plugin.ptweaks.ChunkPersistance.onEnable(

    And: at me.plugin.ptweaks.PerformanceTweaks.onEnable(

  9. The second one calls the first one, so yes.
  10. Very very useful information! Thank you so much for this.
  11. Offline


    I read it and it fixed my plugin! Well not really but I found out where the problem was, now onto fixing.
  12. Offline


    Awesome and helpfull tutorial!

    - Sheep
  13. Sgt_Tailor Bumping a stuck thread doesn't really make a whole lot of difference/sense
    xTigerRebornx and BillyGalbreath like this.
  14. Offline


    This was the best tutorial ever I learned so much! Thank you!
Thread Status:
Not open for further replies.

Share This Page