java.lang.IllegalArgumentException: Path must not be empty.


Solutions on the web

Solution icon of stackoverflow
Path must not be empty.

Solution icon of github
via GitHub by JimPiquant
, 1 year ago
Path must not be empty.

Solution icon of github
Path must not be empty.

Solution icon of stackoverflow
via Stack Overflow by Elye
, 1 year ago
Path must not be empty.

Solution icon of stackoverflow
Path must not be empty.

Solution icon of stackoverflow
Path must not be empty.

Solution icon of web
Path must not be empty.

Solution icon of github
via GitHub by tunip
, 1 year ago
Path must not be empty.

Solution icon of stackoverflow
Path must not be empty.

Solution icon of stackoverflow
via Stack Overflow by Kleorence
, 3 weeks ago
Path must not be empty.

Stack trace

java.lang.IllegalArgumentException: Path must not be empty.
	at com.squareup.picasso.Picasso.load(Picasso.java:181)
	at com.example.apple.qs.Activity.adapter.ContactListAdapter.onBindViewHolder(ContactListAdapter.java:92)
	at com.example.apple.qs.Activity.adapter.ContactListAdapter.onBindViewHolder(ContactListAdapter.java:31)
	at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5471)
	at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5504)
	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4741)
	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
	at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
	at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
	at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
	at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
	at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
	at android.view.View.layout(View.java:16672)
	at android.view.ViewGroup.layout(ViewGroup.java:5328)
	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
	at android.view.View.layout(View.java:16672)
	at android.view.ViewGroup.layout(ViewGroup.java:5328)
	at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1695)
	at android.view.View.layout(View.java:16672)
	at android.view.ViewGroup.layout(ViewGroup.java:5328)
	at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:122)
	at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1170)
	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:814)
	at android.view.View.layout(View.java:16672)
	at android.view.ViewGroup.layout(ViewGroup.java:5328)
	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)
	at android.view.View.layout(View.java:16672)
	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:16672)
	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:16672)
	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:16672)
	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:16672)
	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:16672)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 8 months ago
2 times, 1 year ago
Once, 1 year ago
16 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago