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 xbao
, 2 years ago
width and height must be > 0
via Stack Overflow by Pradeep Sodhi
, 8 months ago
x + width must be <= bitmap.width()
via Stack Overflow by manj1790
, 4 months ago
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 android.graphics.Bitmap.createBitmap(Bitmap.java:756) at android.graphics.drawable.VectorDrawable$VectorDrawableState.createCachedBitmapIfNeeded(VectorDrawable.java:713) at android.graphics.drawable.VectorDrawable.draw(VectorDrawable.java:280) at net.steamcrafted.loadtoast.LoadToastView.onDraw(LoadToastView.java:306) at android.view.View.draw(View.java:15247) at android.view.View.updateDisplayListIfDirty(View.java:14183) at android.view.View.getDisplayList(View.java:14205) at android.view.View.draw(View.java:14975) at android.view.ViewGroup.drawChild(ViewGroup.java:3406) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3199) at android.view.View.updateDisplayListIfDirty(View.java:14178) at android.view.View.getDisplayList(View.java:14205) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3390) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3369) at android.view.View.updateDisplayListIfDirty(View.java:14143) at android.view.View.getDisplayList(View.java:14205) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3390) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3369) at android.view.View.updateDisplayListIfDirty(View.java:14143) at android.view.View.getDisplayList(View.java:14205) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3390) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3369) at android.view.View.updateDisplayListIfDirty(View.java:14143) at android.view.View.getDisplayList(View.java:14205) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3390) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3369) at android.view.View.updateDisplayListIfDirty(View.java:14143) at android.view.View.getDisplayList(View.java:14205) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:273) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:279) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:318) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2536) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2352) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1982) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5891) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767) at android.view.Choreographer.doCallbacks(Choreographer.java:580) at android.view.Choreographer.doFrame(Choreographer.java:550) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5294) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)