CommandHelper

CommandHelper

46.5k Downloads

player_move events stop working after CH throws this error:

LadyCailinBot opened this issue ยท 2 comments

commented

CMDHELPER-2677 - Reported by spudwaffle

{{2013-05-10 23:56:45 [SEVERE] Exception in thread "CommandHelperPlayerMoveEventRunner"
2013-05-10 23:56:45 [SEVERE] java.util.ConcurrentModificationException
2013-05-10 23:56:45 [SEVERE] at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1115)
2013-05-10 23:56:45 [SEVERE] at java.util.TreeMap$KeyIterator.next(TreeMap.java:1169)
2013-05-10 23:56:45 [SEVERE] at com.laytonsmith.core.events.EventUtils.GetMatchingEvents(EventUtils.java:171)
2013-05-10 23:56:45 [SEVERE] at com.laytonsmith.core.events.drivers.PlayerEvents$player_move$1.run(PlayerEvents.java:1486)
2013-05-10 23:56:45 [SEVERE] at java.lang.Thread.run(Thread.java:722)}}

After logging the above error, player_move events no longer trigger. The only way to fix this is to restart the server.

commented

Comment by Hekta

I have an different exception, but player_move events no longer trigger for me too after this. (CommandHelper v1493-9d3f146)

2013-05-15 21:07:37 [SEVERE] Exception in thread "CommandHelperPlayerMoveEventRunner"
2013-05-15 21:07:37 [SEVERE] java.lang.NullPointerException
2013-05-15 21:07:37 [SEVERE] at com.laytonsmith.core.events.drivers.PlayerEvents$player_move.matches(PlayerEvents.java:1612)
2013-05-15 21:07:37 [SEVERE] at com.laytonsmith.core.events.EventUtils.GetMatchingEvents(EventUtils.java:173)
2013-05-15 21:07:37 [SEVERE] at com.laytonsmith.core.events.drivers.PlayerEvents$player_move$1.run(PlayerEvents.java:1487)
2013-05-15 21:07:37 [SEVERE] at java.lang.Thread.run(Thread.java:722)

commented

Comment by LadyCailin

Fixed in f8ab4da