java.awt.image.RasterFormatException: negative or zero height

GitHub | lo1tuma | 8 months 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

    GitHub comment 309#228596342

    GitHub | 8 months ago | lo1tuma
    java.awt.image.RasterFormatException: negative or zero height
  2. 0

    Error in the code ( java.awt.image.RasterFormatException)

    Stack Overflow | 3 years ago | Ivan Cern
    java.awt.image.RasterFormatException: (x + width) is outside of Raster
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Raster Format Exception

    Stack Overflow | 3 years ago | Africa Ken
    java.awt.image.RasterFormatException: (y + height) is outside of Raster
  5. 0

    getsubimage() function in java

    Stack Overflow | 2 years ago | gg tty
    java.awt.image.RasterFormatException: (x + width) is outside of Raster

    3 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.awt.image.RasterFormatException

      negative or zero height

      at java.awt.image.Raster.<init>()
    2. Java RT
      BufferedImage.getSubimage
      1. java.awt.image.Raster.<init>(Raster.java:1105)
      2. java.awt.image.WritableRaster.<init>(WritableRaster.java:129)
      3. sun.awt.image.SunWritableRaster.<init>(SunWritableRaster.java:129)
      4. sun.awt.image.ByteComponentRaster.<init>(ByteComponentRaster.java:154)
      5. sun.awt.image.ByteInterleavedRaster.<init>(ByteInterleavedRaster.java:191)
      6. sun.awt.image.ByteInterleavedRaster.createWritableChild(ByteInterleavedRaster.java:1261)
      7. java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1202)
      7 frames
    3. com.galenframework.api
      GalenPageDump.dumpPage
      1. com.galenframework.api.GalenPageDump.exportAllScreenshots(GalenPageDump.java:192)
      2. com.galenframework.api.GalenPageDump.dumpPage(GalenPageDump.java:121)
      3. com.galenframework.api.GalenPageDump.dumpPage(GalenPageDump.java:74)
      3 frames
    4. com.galenframework.suite
      GalenPageActionDumpPage.execute
      1. com.galenframework.suite.actions.GalenPageActionDumpPage.execute(GalenPageActionDumpPage.java:53)
      1 frame
    5. com.galenframework.runner
      GalenBasicTestRunner.runTest
      1. com.galenframework.runner.GalenPageRunner.executeAction(GalenPageRunner.java:84)
      2. com.galenframework.runner.GalenPageRunner.run(GalenPageRunner.java:76)
      3. com.galenframework.runner.GalenBasicTestRunner.runTest(GalenBasicTestRunner.java:76)
      3 frames
    6. com.galenframework.tests
      GalenBasicTest.execute
      1. com.galenframework.tests.GalenBasicTest.execute(GalenBasicTest.java:55)
      1 frame
    7. com.galenframework
      TestRunnable.run
      1. com.galenframework.TestRunnable.runTest(TestRunnable.java:75)
      2. com.galenframework.TestRunnable.run(TestRunnable.java:101)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames