java.awt.image.RasterFormatException: (y + height) is outside of Raster

GitHub | joshLV | 4 months ago
  1. 0

    File file = Screenshots.takeScreenShot($("#content_left"));

    GitHub | 4 months ago | joshLV
    java.awt.image.RasterFormatException: (y + height) is outside of Raster
  2. 0

    Raster Format Exception

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

    How does getSubimage(...) work?

    Stack Overflow | 2 years ago | user2603506
    java.awt.image.RasterFormatException: (y + height) is outside of Raster
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Raster Format Exception (Y+height)

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

    (y + height) is outside of Raster during cropping image by Java

    Stack Overflow | 3 years ago | Saurabh Kumar
    java.awt.image.RasterFormatException: (y + height) 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

      (y + height) is outside of Raster

      at sun.awt.image.ByteInterleavedRaster.createWritableChild()
    2. Java RT
      BufferedImage.getSubimage
      1. sun.awt.image.ByteInterleavedRaster.createWritableChild(ByteInterleavedRaster.java:1248)
      2. java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1203)
      2 frames
    3. com.codeborne.selenide
      Screenshots.takeScreenShot
      1. com.codeborne.selenide.impl.ScreenShotLaboratory.takeScreenshotAsImage(ScreenShotLaboratory.java:128)
      2. com.codeborne.selenide.impl.ScreenShotLaboratory.takeScreenshot(ScreenShotLaboratory.java:97)
      3. com.codeborne.selenide.Screenshots.takeScreenShot(Screenshots.java:39)
      3 frames
    4. org.selenide.examples
      GoogleSearchTest.tearDown
      1. org.selenide.examples.GoogleSearchTest.screenshot(GoogleSearchTest.java:57)
      2. org.selenide.examples.GoogleSearchTest.tearDown(GoogleSearchTest.java:50)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames