java.lang.IllegalArgumentException: width and height must be > 0

GitHub | MIkeeJY | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.IllegalArgumentException: width and height must be > 0

    GitHub | 9 months ago | MIkeeJY
    java.lang.IllegalArgumentException: width and height must be > 0
  2. 0

    How to take a scrolling screenshot of a Fragment in Android using View.MeasureSpec?

    Stack Overflow | 2 years ago | kv.333
    java.lang.IllegalArgumentException: width and height must be > 0
  3. 0

    Is Monkey really meaningful?

    Stack Overflow | 2 years ago | jdebon
    java.lang.IllegalArgumentException: width and height must be > 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash when setImageDrawable using TextDrawable

    GitHub | 2 years ago | antercepter
    java.lang.IllegalArgumentException: width and height 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 and height must be > 0

    at android.graphics.Bitmap.createBitmap()
  2. Android Platform
    Bitmap.createBitmap
    1. android.graphics.Bitmap.createBitmap(Bitmap.java:810)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:789)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:756)
    3 frames
  3. com.xx.view
    MyCircleView.setImageDrawable
    1. com.xx.view.MyCircleView.getBitmapFromDrawable(MyCircleView.java:325)
    2. com.xx.view.MyCircleView.initializeBitmap(MyCircleView.java:342)
    3. com.xx.view.MyCircleView.setImageDrawable(MyCircleView.java:273)
    3 frames
  4. Universal Image Loader Library
    ImageLoader.displayImage
    1. com.nostra13.universalimageloader.core.imageaware.ImageViewAware.setImageDrawableInto(ImageViewAware.java:118)
    2. com.nostra13.universalimageloader.core.imageaware.ViewAware.setImageDrawable(ViewAware.java:150)
    3. com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer.display(RoundedBitmapDisplayer.java:61)
    4. com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:282)
    5. com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:209)
    6. com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:410)
    7. com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:385)
    7 frames