java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0

Coderanch | Hesham Gneady | 7 years ago
  1. 0

    Set my Java application as the default program to open a file extension

    Coderanch | 7 years ago | Hesham Gneady
    java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
  2. 0

    GitHub comment 97#127896004

    GitHub | 1 year ago | randykoala
    java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Width (-1) and height (-1) cannot be <= 0 - General Help - jMonkeyEngine Hub

    jmonkeyengine.org | 1 year ago
    java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
  5. 0

    IllegalArgumentException: Width (-1) and height (-1) cannot be &lt;= 0 in JDK6

    Oracle Community | 8 years ago | 843807
    java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0

    10 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Width (-1) and height (-1) cannot be <= 0

      at java.awt.image.DirectColorModel.createCompatibleWritableRaster()
    2. Java RT
      BufferedImage.<init>
      1. java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
      2. java.awt.image.BufferedImage.<init>(Unknown Source)
      2 frames
    3. org.jvnet.substance
      SubstanceTitlePane$SubstanceMenuBar.paint
      1. org.jvnet.substance.utils.SubstanceCoreUtilities.getBlankImage(SubstanceCoreUtilities.java:883)
      2. org.jvnet.substance.utils.SubstanceTitlePane$SubstanceMenuBar.paint(SubstanceTitlePane.java:2038)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.JComponent.paintChildren(Unknown Source)
      2. javax.swing.JComponent.paint(Unknown Source)
      3. javax.swing.JComponent.paintChildren(Unknown Source)
      4. javax.swing.JComponent.paint(Unknown Source)
      5. javax.swing.JLayeredPane.paint(Unknown Source)
      6. javax.swing.JComponent.paintChildren(Unknown Source)
      7. javax.swing.JComponent.paintToOffscreen(Unknown Source)
      8. javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
      9. javax.swing.RepaintManager.paint(Unknown Source)
      10. javax.swing.JComponent.paint(Unknown Source)
      11. java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
      12. sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
      13. sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
      14. java.awt.Container.paint(Unknown Source)
      15. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      16. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      17. javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
      18. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
      19. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      20. java.awt.EventQueue.dispatchEvent(Unknown Source)
      21. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      22. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      23. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      25. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      26. java.awt.EventDispatchThread.run(Unknown Source)
      26 frames