java.lang.IllegalArgumentException: width must be > 0

GitHub | yanjuncq | 3 months ago
  1. 0

    出现bug了

    GitHub | 3 months ago | yanjuncq
    java.lang.IllegalArgumentException: width must be > 0
  2. 0

    IllegalArgumentException in getCroppedImage

    GitHub | 2 years ago | yuraj11
    java.lang.IllegalArgumentException: y + height must be <= bitmap.height()
  3. 0

    IllegalArgumentException: x must be >= 0

    GitHub | 2 years ago | ktomek
    java.lang.IllegalArgumentException: x must be >= 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 71#55646437

    GitHub | 2 years ago | halpimded
    java.lang.IllegalArgumentException: y must be >= 0
  6. 0

    java.lang.IllegalArgumentException: y must be >= 0

    GitHub | 9 months ago | codeskraps
    java.lang.IllegalArgumentException: y must be >= 0
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:270)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:544)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:514)
    3 frames
  3. com.edmodo.cropper
    CropImageView.getCroppedImage
    1. com.edmodo.cropper.CropImageView.getCroppedImage(CropImageView.java:293)
    1 frame
  4. io.github.scola
    MainActivity$6.onPreExecute
    1. io.github.scola.qart.MainActivity$6.onPreExecute(MainActivity.java:315)
    1 frame
  5. Android Platform
    AsyncTask.execute
    1. android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
    2. android.os.AsyncTask.execute(AsyncTask.java:534)
    2 frames
  6. io.github.scola
    MainActivity$4.onClick
    1. io.github.scola.qart.MainActivity.startConvert(MainActivity.java:296)
    2. io.github.scola.qart.MainActivity.access$400(MainActivity.java:55)
    3. io.github.scola.qart.MainActivity$4.onClick(MainActivity.java:240)
    3 frames
  7. Android
    AlertController$ButtonHandler.handleMessage
    1. com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:169)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:153)
    3. android.app.ActivityThread.main(ActivityThread.java:5341)
    3 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:929)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame