forked from KvaGram/Java-space-game
-
Notifications
You must be signed in to change notification settings - Fork 2
/
game.log
61 lines (58 loc) · 4.55 KB
/
game.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Feb 10, 2020 9:57:22 AM de.gurkenlabs.litiengine.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Game crashed! :(
java.lang.IllegalArgumentException: bound must be positive
at java.base/java.util.Random.nextInt(Random.java:388)
at unicus.spacegame.spaceship.HomeShip.GenerateStart1(HomeShip.java:236)
at unicus.spacegame.SpaceGame.GenerateStart1(SpaceGame.java:120)
at unicus.spacegame.SpaceGame.startGame(SpaceGame.java:69)
at unicus.spacegame.SpaceGame.main(SpaceGame.java:131)
Feb 10, 2020 10:09:02 AM de.gurkenlabs.litiengine.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Game crashed! :(
java.lang.IllegalArgumentException: bound must be positive
at java.base/java.util.Random.nextInt(Random.java:388)
at unicus.spacegame.spaceship.HomeShip.GenerateStart1(HomeShip.java:236)
at unicus.spacegame.SpaceGame.GenerateStart1(SpaceGame.java:120)
at unicus.spacegame.SpaceGame.startGame(SpaceGame.java:69)
at unicus.spacegame.SpaceGame.main(SpaceGame.java:131)
Feb 12, 2020 12:45:43 PM de.gurkenlabs.litiengine.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Game crashed! :(
java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Lunicus.spacegame.crew.AbleCrewman; ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; [Lunicus.spacegame.crew.AbleCrewman; is in unnamed module of loader 'app')
at unicus.spacegame.crew.SpaceCrew.getUnemployed(SpaceCrew.java:232)
at unicus.spacegame.ui.DebugConsole.lambda$addCrewCommands$10(DebugConsole.java:249)
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262)
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:176)
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:141)
at unicus.spacegame.ui.DebugConsole$1.keyReleased(DebugConsole.java:384)
at java.desktop/java.awt.Component.processKeyEvent(Component.java:6597)
at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
at java.desktop/java.awt.Component.processEvent(Component.java:6413)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4893)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)