Closed SlimeDog closed 5 years ago
After loading a later copy (back-ups on the main test server are taken every hour), the back-up test server has not encountered the error. Perhaps it was a transitory issue, but whatever caused the null should probably be caught and managed appropriately.
There's no null, that's just Bukkit being dumb. The actual exception is the part at the end:
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1042) ~[?:?]
at java.util.ArrayList$Itr.next(ArrayList.java:996) ~[?:?]
at org.mcmonkey.sentinel.SentinelEventHandler.onPlayerTeleports(SentinelEventHandler.java:161) ~[?:?]
I'm not sure where the error stems from, but it's related to another error posted on Discord. There seems to be something causing NPCs to disappear at certain times without calling the relevant NPC removal methods. I don't know why.
Either way, it should be fixed in build DEV-240+ (using code that just preemptively detects NPCs that got disappear'd, as I don't know how to fix the root cause of them disappearing without a trace)
Thanks for addressing it, whatever it is. Since I cannot reliably reproduce it, I'm closing the ticket.
Update: I believe I've located and fixed the original source issue that causes this - was some mishandling of NPC death. This fix is in build DEV-241+
Yay! Thanks for staying on it.
This error has occurred six times on back-up (as-close-as-possible) identical test server, since copy from main and reboot 40 minutes ago. No players were connected over this period.
plugins/Sentinel/config.yml sans comments and blank lines