Solved ExceptionWorldConflict: Failed to check session lock

Discussion in 'Plugin Development' started by Rocoty, Sep 2, 2013.

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

    Rocoty

    Hey there,
    I have a frustrating problem itching its way up my nerves.

    So, I have made this Domination plugin. It works great just as it should, people on the server love it and all. But there is a bug that I can't track down (believe me when I say I have tried). What happens is that the console gets spammed with ExceptionWorldConflict errors, which make the server lag...big-time. There is a short stacktrace, but it's all NMS, nothing from my plugin.

    I have a few ideas of what might cause these errors:

    First, it's the anti-lag system which basically just removes entities from the world once every minute. I don't see how this would cause the errors, but hey, it is related to world editing.

    Then, it's the removal of arrows once they hit a player or a block. This just removes any arrow from the world on hit. I have reason to believe this COULD be connected to the problem, as I have had some troubles with this before. But don't take my word for it, as I have no clue as to whether it is as I believe.

    Lastly, and I think the biggest of them all. It's the system that creates a new world from a template once a game begins, and deletes it once the game ends, ultimately creating a new world and repeating. I don't think I have to go into much detail as to why I believe this is a factor.


    If anyone at all here has any idea whatsoever about what could be the cause of these errors, please let me know and I'll be very much obliged! ( chasechocolate xTrollxDudex CubieX TheGreenGamerHD Minecrell dumptruckman )

    Kind regards,
    Rocoty
     
    Minecrell likes this.
  2. Offline

    ZeusAllMighty11

    Please don't tag me asking for help.

    I can't really help you by seeing a wall of text anyway
     
  3. Offline

    Rocoty

    Alright. If it's too wall-y for you, I'll make it a bit clearer. And I'm sorry that I tagged you. I didn't realize you didn't want to help.
     
  4. Offline

    xTrollxDudex

    Rocoty
    Lets see the entire stack trace, and let the discussion begin!
     
  5. Offline

    Rocoty

    I think it's fixed. Thanks to Minecrell and my intuition we came to a possible solution. I'll run the server for a few days and mark this as solved for the time being. If the problem persists, I'll reply to this thread.
     
    Minecrell likes this.
  6. Offline

    dumptruckman

    In the future please do not tag me for arbitrary help.
     
  7. Offline

    Rocoty

    Someone suggested that I tagged you, so I did. Sorry about that
     
Thread Status:
Not open for further replies.

Share This Page