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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Unknown author, 3 months ago
width and height must be > 0
via GitHub by DreierF
, 1 year ago
width and height must be > 0
via Stack Overflow by Omer
, 2 years ago
width and height must be > 0
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:810)
at android.graphics.Bitmap.createBitmap(Bitmap.java:789)
at com.xx.view.MyCircleView.getBitmapFromDrawable(MyCircleView.java:325)
at com.xx.view.MyCircleView.initializeBitmap(MyCircleView.java:342)
at com.xx.view.MyCircleView.setImageDrawable(MyCircleView.java:273)
at com.nostra13.universalimageloader.core.imageaware.ImageViewAware.setImageDrawableInto(ImageViewAware.java:118)
at com.nostra13.universalimageloader.core.imageaware.ViewAware.setImageDrawable(ViewAware.java:150)
at com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer.display(RoundedBitmapDisplayer.java:61)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:282)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:209)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:410)

Users with the same issue

4 times, 1 year ago
2 times, 9 months ago
22 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.