[SPIGOT-1964] on NavigationListener.a server crash Created: 18/Mar/16 Updated: 11/Dec/17 Resolved: 18/Mar/16 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Cat73 | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | 1.9, bug, crash, spigot | ||
| Description |
|
java.util.ConcurrentModificationException https://hub.spigotmc.org/jira/browse/SPIGOT-1953 |
| Comments |
| Comment by Cat73 [ 18/Mar/16 ] |
|
Iterator<NavigationAbstract> it = this.b.keySet().iterator(); |
| Comment by Braydon Dagenais [ 18/Mar/16 ] |
|
I am having this same issue after updating to the latest release. Here is my crash report: |
| Comment by Niklas Linz [ 18/Mar/16 ] |
|
Yes i do. This crash is only on my testserver |
| Comment by Cat73 [ 18/Mar/16 ] |
|
Please use the old version |
| Comment by Niklas Linz [ 18/Mar/16 ] |
|
Hey, same error at me on testserver with the newest build: Description: Exception ticking world java.util.ConcurrentModificationException Stacktrace: |
| Comment by Cat73 [ 18/Mar/16 ] |
|
The iterators returned by the iterator method of the collections returned by all of this class's "collection view methods" are fail-fast: if the map is structurally modified at any time after the iterator is created, in any way except through the iterator's own remove method, the iterator will throw a ConcurrentModificationException. Thus, in the face of concurrent modification, the iterator fails quickly and cleanly, rather than risking arbitrary, non-deterministic behavior at an undetermined time in the future. |