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 Blodgard
, 2 years ago
width and height must be > 0
via GitHub by ToBoehmK
, 2 years ago
width and height must be > 0
via GitHub by huteri
, 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:933)	at android.graphics.Bitmap.createBitmap(Bitmap.java:912)	at android.graphics.Bitmap.createBitmap(Bitmap.java:879)	at de.hdodenhof.circleimageview.CircleImageView.getBitmapFromDrawable(CircleImageView.java:337)	at de.hdodenhof.circleimageview.CircleImageView.initializeBitmap(CircleImageView.java:354)	at de.hdodenhof.circleimageview.CircleImageView.setImageDrawable(CircleImageView.java:285)	at com.koushikdutta.ion.IonImageViewRequestBuilder.setIonDrawable(IonImageViewRequestBuilder.java:106)	at com.koushikdutta.ion.IonImageViewRequestBuilder.intoImageView(IonImageViewRequestBuilder.java:180)	at com.koushikdutta.ion.IonImageViewRequestBuilder.load(IonImageViewRequestBuilder.java:72)	at com.xoredgeapps.bayanstube.fragments.DashboardRealmRecyclerViewAdapter.onBindRealmViewHolder(DashboardRealmRecyclerViewAdapter.java:61)	at com.xoredgeapps.bayanstube.fragments.DashboardRealmRecyclerViewAdapter.onBindRealmViewHolder(DashboardRealmRecyclerViewAdapter.java:21)	at io.realm.RealmBasedRecyclerViewAdapter.onBindViewHolder(RealmBasedRecyclerViewAdapter.java:285)	at io.realm.RealmBasedRecyclerViewAdapter.onBindViewHolder(RealmBasedRecyclerViewAdapter.java:49)	at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5825)	at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5858)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5094)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4970)	at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)	at android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:541)	at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)	at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)	at android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)	at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3315)	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3124)	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3568)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:613)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)	at android.widget.FrameLayout.onLayout(FrameLayout.java:508)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)	at android.widget.FrameLayout.onLayout(FrameLayout.java:508)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1465)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1767)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)	at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1364)	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:846)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)	at android.widget.FrameLayout.onLayout(FrameLayout.java:508)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1465)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)	at android.widget.FrameLayout.onLayout(FrameLayout.java:508)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1465)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)	at android.widget.FrameLayout.onLayout(FrameLayout.java:508)	at android.view.View.layout(View.java:16711)	at android.view.ViewGroup.layout(ViewGroup.java:5328)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2319)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2032)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1191)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6642)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)	at android.view.Choreographer.doCallbacks(Choreographer.java:590)	at android.view.Choreographer.doFrame(Choreographer.java:560)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:145)	at android.app.ActivityThread.main(ActivityThread.java:5951)	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:1400)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)