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 on load of save #6235

Open
7 tasks done
kuronekochomusuke opened this issue Nov 30, 2024 · 0 comments
Open
7 tasks done

Error on load of save #6235

kuronekochomusuke opened this issue Nov 30, 2024 · 0 comments
Labels
Bug GUI User Interface Nightly Issue spotted in the nightly build

Comments

@kuronekochomusuke
Copy link
Collaborator

kuronekochomusuke commented Nov 30, 2024

Prerequisites and Pre-Issue Checklist

  • I'm reporting the issue to the correct repository:

  • MegaMek

  • MegaMekLab

  • MekHQ

  • I've tested the issue against at least the latest MILESTONE version

  • I've asked on the MegaMek Discord about the error

  • I've reviewed the BattleTech rules and MegaMek documentation, and I've confirmed that something isn't working as intended.

  • I've searched the Github tracker and haven't found the issue listed

Severity *

Meduim.

Brief Description *

Error on load of save

10:28:19,543 ERROR [megamek.client.ui.swing.lobby.ChatLounge] {AWT-EventQueue-0}
megamek.client.ui.swing.lobby.ChatLounge$ImageLoader.add(ChatLounge.java:3295) -
java.lang.InterruptedException
at java.base/java.util.concurrent.locks.ReentrantLock$Sync.lockInterruptibly(ReentrantLock.java:159)
at java.base/java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:372)
at java.base/java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:332)
at megamek.client.ui.swing.lobby.ChatLounge$ImageLoader.add(ChatLounge.java:3293)
at megamek.client.ui.swing.lobby.ChatLounge$BoardNameRenderer.getListCellRendererComponent(ChatLounge.java:3424)
at java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1444)
at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1394)
at java.desktop/javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:653)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1725)
at java.desktop/javax.swing.JList.getPreferredScrollableViewportSize(JList.java:2461)
at java.desktop/javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:100)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
at java.desktop/java.awt.Container.getPreferredSize(Container.java:1810)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1727)
at java.desktop/javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:500)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
at java.desktop/java.awt.Container.getPreferredSize(Container.java:1810)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1727)
at java.desktop/javax.swing.BoxLayout.checkRequests(BoxLayout.java:476)
at java.desktop/javax.swing.BoxLayout.minimumLayoutSize(BoxLayout.java:318)
at java.desktop/java.awt.Container.minimumSize(Container.java:1878)
at java.desktop/java.awt.Container.getMinimumSize(Container.java:1862)
at java.desktop/javax.swing.JComponent.getMinimumSize(JComponent.java:1807)
at java.desktop/javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.minimumLayoutSize(BasicSplitPaneUI.java:1548)
at java.desktop/javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumSize(BasicSplitPaneUI.java:1173)
at java.desktop/javax.swing.JComponent.getMinimumSize(JComponent.java:1805)
at java.desktop/java.awt.GridLayout.minimumLayoutSize(GridLayout.java:390)
at java.desktop/java.awt.Container.minimumSize(Container.java:1878)
at java.desktop/java.awt.Container.getMinimumSize(Container.java:1862)
at java.desktop/javax.swing.JComponent.getMinimumSize(JComponent.java:1807)
at java.desktop/javax.swing.BoxLayout.checkRequests(BoxLayout.java:475)
at java.desktop/javax.swing.BoxLayout.preferredLayoutSize(BoxLayout.java:293)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
at java.desktop/java.awt.Container.getPreferredSize(Container.java:1810)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1727)
at java.desktop/javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSize(BasicTabbedPaneUI.java:2706)
at com.formdev.flatlaf.ui.FlatTabbedPaneUI$FlatTabbedPaneLayout.calculateSize(FlatTabbedPaneUI.java:3257)
at java.desktop/javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.preferredLayoutSize(BasicTabbedPaneUI.java:2675)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
at java.desktop/java.awt.Container.getPreferredSize(Container.java:1810)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1727)
at java.desktop/java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:724)
at java.desktop/java.awt.Container.preferredSize(Container.java:1826)
at java.desktop/java.awt.Container.getPreferredSize(Container.java:1810)
at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1727)
at java.desktop/javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.getPreferredSizeOfComponent(BasicSplitPaneUI.java:1734)
at java.desktop/javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.getPreferredSizes(BasicSplitPaneUI.java:1987)
at java.desktop/javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.resetToPreferredSizes(BasicSplitPaneUI.java:2023)
at java.desktop/javax.swing.plaf.basic.BasicSplitPaneUI$BasicHorizontalLayoutManager.layoutContainer(BasicSplitPaneUI.java:1424)
at java.desktop/java.awt.Container.layout(Container.java:1541)
at java.desktop/java.awt.Container.doLayout(Container.java:1530)
at java.desktop/java.awt.Container.validateTree(Container.java:1725)
at java.desktop/java.awt.Container.validateTree(Container.java:1734)
at java.desktop/java.awt.Container.validateTree(Container.java:1734)
at java.desktop/java.awt.Container.validate(Container.java:1660)
at java.desktop/java.awt.CardLayout.show(CardLayout.java:556)
at megamek.client.ui.swing.ClientGUI.switchPanel(ClientGUI.java:1197)
at megamek.client.ui.swing.ClientGUI$1.gamePhaseChange(ClientGUI.java:2309)
at megamek.common.event.GamePhaseChangeEvent.fireEvent(GamePhaseChangeEvent.java:68)
at megamek.common.AbstractGame.fireGameEvent(AbstractGame.java:196)
at megamek.common.Game.processGameEvent(Game.java:751)
at megamek.common.Game.setPhase(Game.java:747)
at megamek.common.IGame.receivePhase(IGame.java:128)
at megamek.client.AbstractClient.changePhase(AbstractClient.java:511)
at megamek.client.Client.changePhase(Client.java:188)
at megamek.client.AbstractClient.handleGameIndependentPacket(AbstractClient.java:480)
at megamek.client.AbstractClient.handlePacket(AbstractClient.java:389)
at megamek.client.AbstractClient$1.lambda$packetReceived$0(AbstractClient.java:562)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
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)

Steps to Reproduce

start new game
add units
add units for princess
save game, while in lobby
load game
load game again, error occurs

Operating System *

Windows 11

Java Version *

Java Vendor: Eclipse Adoptium Java Version: 17.0.11

MegaMek Suite Version *

Free Text (type manually)

Custom MegaMek Version

nightly

Attach Files

megamek.log
load.sav.gz

Final Checklist

  • I've checked to make sure that this issue has not already been filed
  • I'm reporting only one issue in this ticket for clarity and focus
@kuronekochomusuke kuronekochomusuke added Bug GUI User Interface Nightly Issue spotted in the nightly build labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI User Interface Nightly Issue spotted in the nightly build
Projects
None yet
Development

No branches or pull requests

1 participant