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

Stack Overflow | Apple | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Try to use notifyDataSetChanged() instead of notifyItemRemoved(), there's a bug in RecyclerView and notifyItemRemoved() does not work in some environments.
    via GitHub by bottiger
  2. 0

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

    Stack Overflow | 10 months ago | Apple
    java.lang.IllegalArgumentException: Path must not be empty.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    recyclerview footer click to load images

    Stack Overflow | 4 months ago | Somnath Pal
    java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Path must not be empty.

    at com.squareup.picasso.Picasso.load()
  2. Picasso
    Picasso.load
    1. com.squareup.picasso.Picasso.load(Picasso.java:181)
    1 frame
  3. com.example.apple
    ContactListAdapter.onBindViewHolder
    1. com.example.apple.qs.Activity.adapter.ContactListAdapter.onBindViewHolder(ContactListAdapter.java:92)
    2. com.example.apple.qs.Activity.adapter.ContactListAdapter.onBindViewHolder(ContactListAdapter.java:31)
    2 frames
  4. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5471)
    2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5504)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4741)
    4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
    5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
    6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
    7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
    8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
    9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
    10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
    11. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
    11 frames
  5. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16672)
    2. android.view.ViewGroup.layout(ViewGroup.java:5328)
    3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
    4. android.view.View.layout(View.java:16672)
    5. android.view.ViewGroup.layout(ViewGroup.java:5328)
    5 frames
  6. Android Support v4
    ViewPager.onLayout
    1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1695)
    1 frame
  7. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16672)
    2. android.view.ViewGroup.layout(ViewGroup.java:5328)
    2 frames
  8. android.support.design
    CoordinatorLayout.onLayout
    1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:122)
    2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
    3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1170)
    4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:814)
    4 frames
  9. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16672)
    2. android.view.ViewGroup.layout(ViewGroup.java:5328)
    2 frames
  10. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)
    1 frame
  11. Android Platform
    ViewRootImpl.doTraversal
    1. android.view.View.layout(View.java:16672)
    2. android.view.ViewGroup.layout(ViewGroup.java:5328)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    5. android.view.View.layout(View.java:16672)
    6. android.view.ViewGroup.layout(ViewGroup.java:5328)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
    10. android.view.View.layout(View.java:16672)
    11. android.view.ViewGroup.layout(ViewGroup.java:5328)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    14. android.view.View.layout(View.java:16672)
    15. android.view.ViewGroup.layout(ViewGroup.java:5328)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
    19. android.view.View.layout(View.java:16672)
    20. android.view.ViewGroup.layout(ViewGroup.java:5328)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    23. android.view.View.layout(View.java:16672)
    24. android.view.ViewGroup.layout(ViewGroup.java:5328)
    25. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2319)
    26. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2032)
    27. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1191)
    27 frames