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

Coderanch | Sandy Abraham | 1 decade ago
  1. 0

    Convert image to bufferedImage

    Coderanch | 1 decade ago | Sandy Abraham
    java.lang.IllegalArgumentException: Width (-1) and he ight (-1) 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

    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 he ight (-1) 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:259)
      2 frames
    3. Unknown
      Joan.main
      1. Joan$MyCanvas.<init>(Joan.java:67)
      2. Joan.setupPanels(Joan.java:115)
      3. Joan.<init>(Joan.java:92)
      4. Joan.main(Joan.java:100)
      4 frames