06-20-2021, 06:01 PM
Hi,
I am unsure as to whether I'm having the same issue. I'm also running Ludii 1.2.1 from the terminal, and got the following output while trying to load a game (I was playing Gomoku and switched to twelve men's morris):
There are two errors here, the second happened after I closed the "Preferences" box.
I noticed this issue since the entire side bar with status, rules, etc. disappeared (see screenshot). I cannot replicate the error but remember having something similar in the past.
Best,
Fabio
I am unsure as to whether I'm having the same issue. I'm also running Ludii 1.2.1 from the terminal, and got the following output while trying to load a game (I was playing Gomoku and switched to twelve men's morris):
Code:
java.lang.IndexOutOfBoundsException: Index 89 out of bounds for length 24
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:459)
at other.action.move.ActionAdd.toMoveFormat(ActionAdd.java:449)
at app.display.views.tabs.pages.MovesPage.getActionFormat(MovesPage.java:189)
at app.display.views.tabs.pages.MovesPage.getMoveStringToDisplay(MovesPage.java:171)
at app.display.views.tabs.pages.MovesPage.updatePage(MovesPage.java:60)
at app.display.views.tabs.pages.MovesPage.reset(MovesPage.java:198)
at app.display.views.tabs.TabView.resetTabs(TabView.java:226)
at app.display.views.tabs.TabView.<init>(TabView.java:104)
at app.display.MainWindowDesktop.createPanels(MainWindowDesktop.java:138)
at app.DesktopApp.resetGameVariables(DesktopApp.java:745)
at app.utils.GameSetup.cleanUpAfterLoading(GameSetup.java:291)
at app.utils.GameSetup.compileAndShowGame(GameSetup.java:81)
at app.loading.GameLoading.loadGameFromMemory(GameLoading.java:152)
at app.loading.GameLoading.loadGameFromMemory(GameLoading.java:116)
at app.menu.MainMenuFunctions.checkActionsPerformed(MainMenuFunctions.java:179)
at app.DesktopApp.actionPerformed(DesktopApp.java:301)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:349)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.java:975)
at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
at java.desktop/javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:699)
at java.desktop/javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:706)
at java.desktop/javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:706)
at java.desktop/javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:677)
at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:311)
at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:297)
at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2993)
at java.desktop/javax.swing.SwingUtilities.processKeyBindings(SwingUtilities.java:1731)
at java.desktop/javax.swing.UIManager$2.postProcessKeyEvent(UIManager.java:1541)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:881)
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:4892)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
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(Native Method)
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(Native Method)
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)
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index 89 out of bounds for length 24
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:459)
at other.action.move.ActionAdd.toMoveFormat(ActionAdd.java:449)
at app.display.views.tabs.pages.MovesPage.getActionFormat(MovesPage.java:189)
at app.display.views.tabs.pages.MovesPage.getMoveStringToDisplay(MovesPage.java:171)
at app.display.views.tabs.pages.MovesPage.updatePage(MovesPage.java:60)
at app.display.views.tabs.TabView.updateTabs(TabView.java:214)
at app.DesktopApp.updateTabs(DesktopApp.java:911)
at app.utils.GameSetup.lambda$compileAndShowGame$0(GameSetup.java:144)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
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(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
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)
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index 89 out of bounds for length 24
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:459)
at other.action.move.ActionAdd.toMoveFormat(ActionAdd.java:449)
at app.display.views.tabs.pages.MovesPage.getActionFormat(MovesPage.java:189)
at app.display.views.tabs.pages.MovesPage.getMoveStringToDisplay(MovesPage.java:171)
at app.display.views.tabs.pages.MovesPage.updatePage(MovesPage.java:60)
at app.display.views.tabs.pages.MovesPage.reset(MovesPage.java:198)
at app.display.views.tabs.TabView.resetTabs(TabView.java:226)
at app.display.views.tabs.TabView.<init>(TabView.java:104)
at app.display.MainWindowDesktop.createPanels(MainWindowDesktop.java:138)
at app.display.dialogs.SettingsDialog$5$1.run(SettingsDialog.java:381)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
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(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
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)
I noticed this issue since the entire side bar with status, rules, etc. disappeared (see screenshot). I cannot replicate the error but remember having something similar in the past.
Best,
Fabio