Ticking entity main thread freeze.

Discussion in 'Bukkit Help' started by jjacobson, Dec 22, 2012.

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

    jjacobson

    I keep getting this error
    Code:
    2012-11-23 15:33:33 [SEVERE] net.minecraft.server.ReportedException: Ticking entity
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:581)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    2012-11-23 15:33:33 [SEVERE] Caused by: java.util.ConcurrentModificationException
    2012-11-23 15:33:33 [SEVERE]    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    2012-11-23 15:33:33 [SEVERE]    at java.util.HashMap$KeyIterator.next(Unknown Source)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.EntityTracker.a(EntityTracker.java:189)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.EntityPlayer.j_(EntityPlayer.java:185)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.World.entityJoinedWorld(World.java:1333)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:546)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.World.playerJoinedWorld(World.java:1315)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.World.tickEntities(World.java:1193)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:444)
    2012-11-23 15:33:33 [SEVERE]    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:577)
    2012-11-23 15:33:33 [SEVERE]    ... 4 more
    2012-11-23 15:33:33 [SEVERE] Encountered an unexpected exception ReportedException
    net.minecraft.server.ReportedException: Ticking entity
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:581)
        at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    Caused by: java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
        at java.util.HashMap$KeyIterator.next(Unknown Source)
        at net.minecraft.server.EntityTracker.a(EntityTracker.java:189)
        at net.minecraft.server.EntityPlayer.j_(EntityPlayer.java:185)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1333)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:546)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1315)
        at net.minecraft.server.World.tickEntities(World.java:1193)
        at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:444)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:577)
        ... 4 more
    2012-11-23 15:33:33 [SEVERE] This crash report has been saved to: /home/server2866/./crash-reports/crash-2012-11-23_15.33.33-server.txt
    Server is still responsive through console ect, just players cant connect and are disconnected due to the main thread being frozen.


    The only ones that I think deal with entities would be mobarena, and maybe magic spells. The version of MobArena im using has absolutely no async tasks in it (I searched with the grep feature of eclipse). Does anyone know why im still getting these errors when there are no async tasks? Or is there some tasks that are by default async that mob arena calls? I have been talking to the dev and he doesnt know what is causing it either.

    desht helped me with this before but it was still never resolved. http://forums.bukkit.org/threads/errors.112592/#post-1428064

    garbagemule
     
  2. Offline

    LaxWasHere

    Can we have the
    2012-11-23 15:33:33 [SEVERE] This crash report has been saved to: /home/server2866/./crash-reports/crash-2012-11-23_15.33.33-server.txt
     
  3. Offline

    jjacobson

    Sorry about that here it is, http://pastebin.com/yRGDAsCR
     
  4. Offline

    LaxWasHere

  5. Offline

    jjacobson

  6. Offline

    garbagemule

    MobArena has no async calls, so it could very easily be a Bukkit issue. Just because people don't experience the issue on their servers doesn't mean it can't be a problem in (Craft)Bukkit - if a certain part of the API is broken, and a server only uses plugins that doesn't use that part of the API, then that server will never experience the issue. If it's the killing/removing of entities that's the problem, then chances are there's a part of the API that doesn't guard entity iteration + removal. At least that seems to be the issue - an entity collection is being modified during an iteration.

    jjacobson - The exact event at which the issue happens could be very useful. When an arena ends/starts, when a player dies, when a mob or boss dies, etc.
     
  7. Offline

    boboman13

    Hello there, I seem to be getting the same error as you, so I might as well help this thread by comparing what plugins we have in common: PlugMan, WorldEdit, TagAPI, NoCheatPlus, Vault, PermissionsEx, WorldGuard, AutoMessage, MagicSpells, Essentials, and EssentialsSpawn. The weird thing is it seems to have to do with an entity, and the only plugins we have in common that deal with entities are TagAPI and MagicSpells, really. I will compare this with other threads to look?
     
  8. Offline

    jjacobson

    Many plugins can cause this not just those, and this thread is like 3 months old. I would start a new one because your problem is probably not related at all.
     
  9. Offline

    Butkicker12

Thread Status:
Not open for further replies.

Share This Page