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

Solutions on the web

via GitHub by emdete
, 1 year ago
width and height must be > 0
via GitHub by LoveCoding2
, 1 year ago
java.lang.IllegalArgumentException: width and height must be > 0                                                                        	at android.graphics.Bitmap.createBitmap(Bitmap.java:933)	at android.graphics.Bitmap.createBitmap(Bitmap.java:912)	at android.graphics.Bitmap.createBitmap(Bitmap.java:879)	at android.graphics.drawable.VectorDrawable$VectorDrawableState.createCachedBitmapIfNeeded(VectorDrawable.java:711)	at android.graphics.drawable.VectorDrawable.draw(VectorDrawable.java:278)	at android.graphics.drawable.DrawableContainer.draw(DrawableContainer.java:76)	at android.widget.ExpandableListView.dispatchDraw(ExpandableListView.java:460)	at android.view.View.draw(View.java:16272)	at android.widget.AbsListView.draw(AbsListView.java:5983)	at android.view.View.updateDisplayListIfDirty(View.java:15192)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.draw(View.java:16272)	at android.view.View.updateDisplayListIfDirty(View.java:15192)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1127)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.updateDisplayListIfDirty(View.java:15187)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1369)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.draw(View.java:16272)	at android.view.View.updateDisplayListIfDirty(View.java:15192)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.updateDisplayListIfDirty(View.java:15187)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.updateDisplayListIfDirty(View.java:15187)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.updateDisplayListIfDirty(View.java:15187)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.updateDisplayListIfDirty(View.java:15187)	at android.view.View.getDisplayList(View.java:15215)	at android.view.View.draw(View.java:15990)	at android.view.ViewGroup.drawChild(ViewGroup.java:3708)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)	at android.view.View.draw(View.java:16272)	at android.widget.FrameLayout.draw(FrameLayout.java:592)	at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:3047)	at android.view.View.updateDisplayListIfDirty(View.java:15192)	at android.view.View.getDisplayList(View.java:15215)	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:307)	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:313)	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:352)	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2815)	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2638)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2226)