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

Oracle Community | 807587 | 1 decade ago
  1. 0

    JTable to image?

    Oracle Community | 1 decade ago | 807587
    java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
  2. 0

    SeadragonExporter crashes when run through Toolkit

    GitHub | 5 years ago | mbastian
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
  3. 0

    Exception for Popup Menu with round = 0 and shadeWidth = 0

    GitHub | 3 years ago | carlwitt
    java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Resizing window crashes overlays (OS X)

    GitHub | 3 years ago | ivy
    java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
  6. 0

    GitHub comment 53#2491079

    GitHub | 5 years ago | mbastian
    java.lang.IllegalArgumentException: Width (0) and height (0) 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 (0) and height (0) cannot be <= 0

      at java.awt.image.DirectColorModel.createCompatibleWritableRaster()
    2. Java RT
      BufferedImage.<init>
      1. java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
      2. java.awt.image.BufferedImage.<init>(BufferedImage.java:250)
      2 frames
    3. test
      MasterServerInternalFrame$4.actionPerformed
      1. test.MasterServerInternalFrame.saveComponentAsImage(MasterServerInternalFrame.java:203)
      2. test.MasterServerInternalFrame.jButton1ActionPerformed(MasterServerInternalFrame.java:197)
      3. test.MasterServerInternalFrame.access$300(MasterServerInternalFrame.java:32)
      4. test.MasterServerInternalFrame$4.actionPerformed(MasterServerInternalFrame.java:132)
      4 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      6. java.awt.Component.processMouseEvent(Component.java:5100)
      7. java.awt.Component.processEvent(Component.java:4897)
      8. java.awt.Container.processEvent(Container.java:1569)
      9. java.awt.Component.dispatchEventImpl(Component.java:3615)
      10. java.awt.Container.dispatchEventImpl(Container.java:1627)
      11. java.awt.Component.dispatchEvent(Component.java:3477)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
      15. java.awt.Container.dispatchEventImpl(Container.java:1613)
      16. java.awt.Window.dispatchEventImpl(Window.java:1606)
      17. java.awt.Component.dispatchEvent(Component.java:3477)
      18. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      23. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      23 frames