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

crash #6

Open
ghost opened this issue Nov 7, 2023 · 4 comments
Open

crash #6

ghost opened this issue Nov 7, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Nov 7, 2023

INFOS: Imp #57 completes pick up job.
nov. 07, 2023 1:38:37 PM impcity.game.ui.Research addRoomResearch
INFOS: Mob researched 133 points, total is now 279580 limit is 80000
nov. 07, 2023 1:38:37 PM impcity.game.ImpCity main
GRAVE: java.util.ConcurrentModificationException
java.util.ConcurrentModificationException
	at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1597)
	at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1620)
	at impcity.game.ui.PartySelector.display(PartySelector.java:86)
	at impcity.game.ui.GameDisplay.displayMore(GameDisplay.java:189)
	at impcity.game.ImpCity.displayMore(ImpCity.java:308)
	at impcity.ogl.IsoDisplay.render(IsoDisplay.java:266)
	at impcity.ogl.IsoDisplay.run(IsoDisplay.java:671)
	at impcity.game.ImpCity.run(ImpCity.java:263)
	at impcity.game.ImpCity.main(ImpCity.java:346)
@Varkalandar
Copy link
Owner

This is bad. I have a rough idea how to solve it, but without knowing how to reproduce it, I can't promise the fix will actually work. I'll do my best though.

@Varkalandar Varkalandar added the bug Something isn't working label Nov 7, 2023
@ghost
Copy link
Author

ghost commented Nov 7, 2023

If I had any plausible hint at how to reproduce it, I would have given it, but the crash caught me off-guard, I didn't paid attention to what I did...
I posted this here "just in case" in the end, a stacktrace can be helpful to at least reduce the scope.

@Varkalandar
Copy link
Owner

Varkalandar commented Nov 9, 2023 via email

@Varkalandar
Copy link
Owner

I hope I could fix this in v0.26 but since I could not reproduce it, I had no way to test if the fix actually works. I'll keep this issue open and see if more reports come in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant