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

Atlassian JIRA | Michael Seager [Atlassian] | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Opening image file

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

    Opening image file

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

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 29#9748020

    GitHub | 5 years ago | i-make-robots
    java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
  5. 0

    SeadragonExporter crashes when run through Toolkit

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

    11 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 (612) and height (-792) 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:315)
      2 frames
    3. com.benryan.conversion
      SlideConversionThread.run
      1. com.benryan.conversion.SlideConversionThread.convertFile(SlideConversionThread.java:94)
      2. com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.java:123)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:637)
      6 frames