Skip to content

FloorItem removal concurrency issue #962

@GregHib

Description

@GregHib

No information as to what exactly trigged it (most likely a bot or despawn).
Nothing immediately stands out as incorrect, nothing else should be running at the same time as the floor item tick

ERROR [GameLoop] Error in game loop!
java.util.ConcurrentModificationException: null
    at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1096)
    at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1050)
    at world.gregs.voidps.engine.entity.item.floor.FloorItems.run(FloorItems.kt:39)
    at world.gregs.voidps.engine.GameLoop.tick(GameLoop.kt:44)
    at world.gregs.voidps.engine.GameLoop.tick(GameLoop.kt:38)
    at world.gregs.voidps.engine.GameLoop$start$1.invokeSuspend(GameLoop.kt:19)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
    at java.base/java.lang.Thread.run(Thread.java:1474)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions