java.lang.IllegalArgumentException: width must be > 0

GitHub | maxme | 9 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 134#228704368

    GitHub | 10 months ago | wallacedong
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    GitHub comment 1#129390854

    GitHub | 2 years ago | debryan
    java.lang.IllegalArgumentException: width must be > 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    出现bug了

    GitHub | 7 months ago | yanjuncq
    java.lang.IllegalArgumentException: width must be > 0
  5. 0

    Android unknown bitmap configuration

    Stack Overflow | 2 years ago | Sergey Shustikov
    java.lang.IllegalArgumentException: unknown bitmap configuration
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.lang.IllegalArgumentException

    width must be > 0

    at android.graphics.Bitmap.checkWidthHeight()
  2. Android Platform
    Bitmap.createBitmap
    1. android.graphics.Bitmap.checkWidthHeight(Bitmap.java:373)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:664)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:633)
    3 frames
  3. com.yalantis.ucrop
    BitmapCropTask.doInBackground
    1. com.yalantis.ucrop.task.BitmapCropTask.crop(BitmapCropTask.java:144)
    2. com.yalantis.ucrop.task.BitmapCropTask.doInBackground(BitmapCropTask.java:88)
    3. com.yalantis.ucrop.task.BitmapCropTask.doInBackground(BitmapCropTask.java:24)
    3 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:841)
    3 frames