[SPIGOT-2888] ConcurrentModificationException in Created: 04/Dec/16 Updated: 04/Dec/16 Resolved: 04/Dec/16 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | vtcakavsmoace | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | bug, crash, entity, spigot, ticking | ||
| Environment: |
Minecraft Version: 1.11 |
||
| Attachments: |
|
| Plugin: | N/A |
| Description |
|
Exception in tick loop (java.util.ConcurrentModificationException) caused by changing while iterating through a HashMap (caused by net.minecraft.server.v1_11_R1.EntityTracker.untrackEntity, if I'm reading this right). Full crash report is attached. We use one plugin (that's located on a server-related organization, with no intent to advertise) that alters the CommandMap in both the SimplePluginManager instance and the CraftBukkit instance reflectively, as well as altering display names every async chat event. Neither of those appears to be directly related to this crash, but that's just full disclosure. No other alterations to the server are made. |
| Comments |
| Comment by vtcakavsmoace [ 04/Dec/16 ] |
|
>_> I'm dumb sometimes Sorry 'bout that. Let us never speak of this Event >.> |
| Comment by md_5 [ 04/Dec/16 ] |
|
Aaand your plugin is manipulating the scoreboard in an asyncchatevent. |
| Comment by md_5 [ 04/Dec/16 ] |
|
I don't think its outside the scope of a plugin at all. |
| Comment by vtcakavsmoace [ 04/Dec/16 ] |
|
@md_5: The exception occurs outside of the scope of the plugin, and it would be incredibly difficult for me to replicate this crash as I cannot disable the plugin in the production server, but cannot simulate the number of players (and thereby entities) without altering the server configuration. The exception occurs here:
which does not have any relation to any adjustments made by the plugin. |
| Comment by md_5 [ 04/Dec/16 ] |
|
Please reproduce without plugins |
| Comment by vtcakavsmoace [ 04/Dec/16 ] |
|
Accidentally fired it off without filling in the description. That was supposed to say "ConcurrentModificationException in main server thread causing fatal crash." |