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

2.5.22294: HeadedGameRunner - Width (0) and height (19) cannot be <= 0 #12590

Open
tripleabuilderbot opened this issue May 19, 2024 · 1 comment
Labels
Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

Map

world_war_ii_global

Log Message

Width (0) and height (19) cannot be <= 0

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB]
Used Memory: 303
Free memory: 1676
Total memory: 1979
Max memory: 1979

Stack Trace

Exception: java.lang.IllegalArgumentExceptionWidth (0) and height (19) cannot be <= 0
java.lang.Exception
	at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
	at java.desktop/java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:186)
	at org.pushingpixels.neon.NeonCortex.getBlankImage(NeonCortex.java:258)
	at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.getBlankImage(SubstanceCoreUtilities.java:563)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.getTabBackground(SubstanceTabbedPaneUI.java:695)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.getFinalTabBackgroundImage(SubstanceTabbedPaneUI.java:759)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.paintTabBackground(SubstanceTabbedPaneUI.java:883)
	at java.desktop/javax.swing.plaf.basic.BasicTabbedPaneUI.paintTab(BasicTabbedPaneUI.java:927)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.paintTab(SubstanceTabbedPaneUI.java:1204)
	at java.desktop/javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(BasicTabbedPaneUI.java:906)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.paintTabArea(SubstanceTabbedPaneUI.java:1232)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.paint(SubstanceTabbedPaneUI.java:1144)
	at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at org.pushingpixels.substance.internal.ui.SubstanceTabbedPaneUI.update(SubstanceTabbedPaneUI.java:2295)
	at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:797)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
	at java.desktop/javax.swing.JSplitPane.paintChildren(JSplitPane.java:1024)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5255)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1643)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1618)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1556)
	at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1323)
	at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5203)
	at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5013)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:865)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:848)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:848)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:823)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:772)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1890)
	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)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label May 19, 2024
@beelee1
Copy link
Contributor

beelee1 commented May 20, 2024

You need to make sure map.properties is set correctly. I'd suggest going to the triplea forums and look at some map making articles by BlackElk. https://triplea-game.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

2 participants