Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when closing server #13

Closed
CardboardBread opened this issue Oct 5, 2016 · 1 comment
Closed

Error when closing server #13

CardboardBread opened this issue Oct 5, 2016 · 1 comment
Assignees
Labels

Comments

@CardboardBread
Copy link
Collaborator

Exception in thread "Client/Server/Game" java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at ca.afroman.d.a.b(Unknown Source)
at ca.afroman.o.d.b(Unknown Source)
at ca.afroman.p.b.a(Unknown Source)
at ca.afroman.p.a.run(Unknown Source)

does not seem to impact function of program, but is easily reproducible

@defaultsamson
Copy link
Owner

Start server from client, then stop server

[2016-09-05/11:55:16] [Client/Server/Game] [DEBUG] Stopping Thread
[2016-09-05/11:55:16] [Client/Receive(127.0.0.1:2143)] [DEBUG] Stopping Thread
[2016-09-05/11:55:16] [Client/Receive] [DEBUG] Stopping Thread
[2016-09-05/11:55:16] [Client/Send] [DEBUG] Stopping Thread
[2016-09-05/11:55:18] [Client/Server/Receive(127.0.0.1:48526)] [DEBUG] Stopping Thread
[2016-09-05/11:55:18] [Client/Server/Receive] [DEBUG] Stopping Thread
[2016-09-05/11:55:18] [Client/Server/Send] [DEBUG] Stopping Thread
[2016-09-05/11:55:18] [Client/Server/Receive] [DEBUG] Stopping Thread
[2016-09-05/11:55:18] [Client/Server/Send] [DEBUG] Stopping Thread
Exception in thread "Client/Server/Game" java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at ca.afroman.game.Game.tick(Game.java:178)
at ca.afroman.server.ServerGame.tick(ServerGame.java:814)
at ca.afroman.thread.DynamicTickRenderThread.onRun(DynamicTickRenderThread.java:45)
at ca.afroman.thread.DynamicThread.run(DynamicThread.java:90)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants