java.lang.IllegalArgumentException

width and height 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 web11256

  • 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 and height must be > 0 at android.graphics.Bitmap.createBitmap(Bitmap.java:967) at android.graphics.Bitmap.createBitmap(Bitmap.java:946) at android.graphics.Bitmap.createBitmap(Bitmap.java:877) at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:753) at com.kakeragames.unimgpicker.Picker.onActivityResult(Picker.java:116) at android.app.Activity.dispatchActivityResult(Activity.java:7161) at android.app.ActivityThread.deliverResults(ActivityThread.java:4921) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4142) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4250) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3361) at android.app.ActivityThread.access$1100(ActivityThread.java:222) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

    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, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 5 months ago
    Once, 5 months ago
    11 more bugmates