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

Removing Rockets throws error #86

Open
lapplislazuli opened this issue Oct 17, 2018 · 0 comments
Open

Removing Rockets throws error #86

lapplislazuli opened this issue Oct 17, 2018 · 0 comments
Labels
Bug Something isn't working Good First Issue Perfect for Beginners

Comments

@lapplislazuli
Copy link
Owner

Description
There occurs an error when a rocket is removed without collision.

Error Message
Exception in thread "JavaFX Application Thread" java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966) at java.util.LinkedList$ListItr.next(LinkedList.java:888) at space.core.SpaceObject.update(SpaceObject.java:43) at space.shuttle.SpaceShuttle.update(SpaceShuttle.java:72) at space.shuttle.ArmedSpaceShuttle.update(ArmedSpaceShuttle.java:30) at space.core.SpaceObject.update(SpaceObject.java:45) at space.core.SpaceObject.update(SpaceObject.java:45) at logic.manager.UpdateManager.update(UpdateManager.java:52) at logic.manager.UpdateManager$1.lambda$0(UpdateManager.java:68) at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191) at java.lang.Thread.run(Thread.java:745)

Reproduction

  1. Start the Game
  2. Shoot somewhere without collision
  3. See Console

This occurs in every branch

Expected behavior
The Items should not cause any error.
Its strange that a collision stops this error from happening.

@lapplislazuli lapplislazuli added Bug Something isn't working Good First Issue Perfect for Beginners labels Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Good First Issue Perfect for Beginners
Projects
None yet
Development

No branches or pull requests

1 participant