java.lang.IllegalArgumentException

Width (0) and height (0) must be > 0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11270

  • via GitHub by themonki
    , 1 year ago
    width and height must be > 0
  • via GitHub by xbao
    , 1 year ago
    width and height must be > 0
  • via GitHub by pritishqualwebs
    , 1 month ago
    width and height must be > 0
  • Stack trace

    • java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0 at java.awt.image.SampleModel.<init>(SampleModel.java:126) at java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:146) at java.awt.image.PixelInterleavedSampleModel.<init>(PixelInterleavedSampleModel.java:87) at java.awt.image.Raster.createInterleavedRaster(Raster.java:641) at java.awt.image.Raster.createInterleavedRaster(Raster.java:278) at java.awt.image.Raster.createInterleavedRaster(Raster.java:212) at java.awt.image.ComponentColorModel.createCompatibleWritableRaster(ComponentColorModel.java:2825) at java.awt.image.BufferedImage.<init>(BufferedImage.java:420) at ImageConverter.allocateSpace(ImageConverter.java:38) at ImageConverter.mat2image(ImageConverter.java:22) at HereWeGoAgain$RunnerThread.run(HereWeGoAgain.java:120)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    6 more bugmates