[SEVERE] java.util.ConcurrentModificationException

Discussion in 'Bukkit Help' started by XxKillerxX, Jan 6, 2012.

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

    XxKillerxX

    After a while opening my server it throws out this annoying message and it always says read time out.
    What am I suppose to fix? Please HELP!!!

    Show Spoiler
    Code:
    14:35:18 [INFO] Reached end of stream
    14:35:29 [SEVERE] java.util.ConcurrentModificationException
    14:35:29 [SEVERE] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    14:35:29 [SEVERE] at java.util.AbstractList$Itr.next(AbstractList.java:343)
    14:35:29 [SEVERE] at java.util.AbstractCollection.removeAll(AbstractCollection.java:336)
    14:35:29 [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1109)
    14:35:29 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    14:35:29 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    14:35:29 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    14:35:29 [SEVERE] Unexpected exception
    java.util.ConcurrentModificationException
    at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    at java.util.AbstractList$Itr.next(AbstractList.java:343)
    at java.util.AbstractCollection.removeAll(AbstractCollection.java:336)
    at net.minecraft.server.World.tickEntities(World.java:1109)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    14:35:43 [INFO] Reached end of stream


    Mod edit (NuclearW): Removed all caps title and tidied up stacktrace
     
  2. Offline

    Pezmantbh

  3. Offline

    MikeA

    Try changing your Bukkit build, it could be a problem with that. Use the 1.0.1 Release if you aren't already. Also try using a different world, backup your current one.
     
  4. Offline

    GarretSidzaka

    OMG IM HAVING THIS TOO HELP US
     
  5. Offline

    Pezmantbh

    Make your own thread
     
  6. Offline

    GarretSidzaka

    no i wont
     
  7. Offline

    question42rus

    Mmm... I have some times this error, (ex. someone from modertators used /mob Pig 20 from admincmd or used lwc commands(no problem, when I updating for latest plugin build), check all your plugins for actual version, usually is old plugins...
     
  8. Offline

    Pezmantbh

    If you do not make your own thread, you will not get any help.
     
  9. Offline

    GarretSidzaka

    not interested in what your saying. if someone helps him it will help me
     
  10. Offline

    Snipes01

    Well Garret you get no help from me or Pezmantbh..and possible some others. Just make your own thread...if not oh well for you. Also Pezmantbh would have fixed your issue in no time.
     
    Pezmantbh likes this.
  11. Offline

    Pezmantbh

    The same problem can be caused by many different factors. If you are not prepared to make a new thread, we will not help you. Period.
     
    Snipes01 likes this.
  12. Offline

    GarretSidzaka

    we actually think this might be our code's problem. turns out my lead dev likes to use outside timers, not the bukkit ones. We are now moving all our timers to bukkit ones.
     
  13. Offline

    Flabaliki

    We are having the exact same issue, can anyone help out?
     
  14. Offline

    Yudaz

  15. Offline

    Pezmantbh

    Incorrect. We will always need the essential details such as CB build, Java version, start script, plugin list, and a few other things. It also points to possible fixes for common problems.
    Not to mention the fact that I posted that three weeks ago...
     
  16. Offline

    Yudaz

    Yeah but someone bumped it now, it is possible to specify, you dont need the OS, what arcitechture++. I have seen you, you even ask for people to fill out that post when their portforwarding is the problem

    SPECIFY IT!
     
  17. Offline

    Firelight7300

    Are you running NoLagg on your server by any chance?
     
  18. Offline

    Pezmantbh

    That is because the issue is usually very badly described - If we get the essential details that are on the thread I linked to then we can rule out the most common issues. You can probably tell I help people on here a lot, and only through experience have I learned that resolving an issue takes a lot longer unless you get the essential information - 9 times out of 10 we require several parts of the post I linked to above. Not every single thing asked for will be relevant, sure, but it will at least help us to determine the cause of the issue.

    Just sayin' ;)
     
  19. Offline

    Firelight7300

    NoLagg will actually block the unsynchronized cross-thread access by canceling bukkit methods being used in other threads. NoLagg will also tell you what caused it.

    Quote from NoLagg post: "Imagine you have a TODO list located on your refrigerator. Now you go to that list, look at it and read it line by line, after which you perform a task. What if a second person stands next to you and removes a line on this TODO list while you are still reading it? Or what if he writes a new line on this list?
    This is what happens when two threads try to access the same 'Object' at the same time. This results in something called 'Concurrent Modification Exceptions', which basically means that an object (a collection in this case) got modified while it was expecting this object to stay the same."
     
    Pezmantbh likes this.
  20. Offline

    GarretSidzaka

    how is nolagg doing these days? should i go get it now? has the slow chunks been fixed


    btw we fixed all of the Orange451 plugins like autocraft, UltimateArena and what not
     
  21. Offline

    Firelight7300

    YES, IT IS FIXED :D I'm glad for that too.
    Quote From NoLagg Post:
    23-1-2012 - Updated to v1.58.4

    • Fixed the slow chunk sending issue (2x)
    • Greatly improves stability of the sending rate, connection adjustment
    • Fixes several threads-not-stopping issues
    • Fixes NPE's occurring when disabling this plugin inappropriately
    • No longer sends buffered packets through Spout (prevent corruption)
    • Performance monitor improved
    World's first plugin for craftbukkit that makes the server blazingly fast HELLYA :D

    Btw, you should really start looking at NoLagg's changelog...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  22. Offline

    GarretSidzaka

    are you the nolagg dude?
     
Thread Status:
Not open for further replies.

Share This Page