java.lang.IllegalArgumentException

Width (-1) and he ight (-1) cannot be <= 0

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web164

  • via Unknown by Sandy Abraham,
  • Stack trace

    • java.lang.IllegalArgumentException: Width (-1) and he ight (-1) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) at java.awt.image.BufferedImage.<init>(BufferedImage.java:259) at Joan$MyCanvas.<init>(Joan.java:67) at Joan.setupPanels(Joan.java:115) at Joan.<init>(Joan.java:92) at Joan.main(Joan.java:100)

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    9 more bugmates