java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true

GitHub | michalciolek | 3 months ago
  1. 0

    IllegalArgumentException: Scrapped or attached views may not be recycled.

    GitHub | 3 months ago | michalciolek
    java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true
  2. 0

    Adding new item animations

    GitHub | 11 months ago | jjhesk
    java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true
  3. 0

    GitHub comment 75#222593322

    GitHub | 6 months ago | gao746700783
    java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 22#254721572

    GitHub | 2 months ago | Michael-Cyrus
    java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true
  6. 0

    IllegalArgumentException when trying to recycleCache

    GitHub | 2 years ago | kingargyle
    java.lang.IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true

    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

      Scrapped or attached views may not be recycled. isScrap:false isAttached:true

      at android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal()
    2. Android v7
      RecyclerView.onMeasure
      1. android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal(RecyclerView.java:5231)
      2. android.support.v7.widget.RecyclerView$LayoutManager.scrapOrRecycleView(RecyclerView.java:7697)
      3. android.support.v7.widget.RecyclerView$LayoutManager.detachAndScrapAttachedViews(RecyclerView.java:7682)
      4. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:546)
      5. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3315)
      6. android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2843)
      6 frames
    3. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18796)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1458)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:746)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
      6. android.view.View.measure(View.java:18796)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      8 frames
    4. Android v7
      CardView.onMeasure
      1. android.support.v7.widget.CardView.onMeasure(CardView.java:211)
      1 frame
    5. Android Platform
      View.measure
      1. android.view.View.measure(View.java:18796)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      4. android.view.View.measure(View.java:18796)
      5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      6. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      7. android.view.View.measure(View.java:18796)
      7 frames
    6. Android Support v4
      DrawerLayout.onMeasure
      1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1085)
      1 frame
    7. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18796)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      3 frames
    8. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
      1 frame
    9. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18796)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1458)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:746)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
      6. android.view.View.measure(View.java:18796)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18796)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1458)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:746)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
      14. android.view.View.measure(View.java:18796)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      16. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      16 frames
    10. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2643)
      1 frame
    11. Android Platform
      Handler.dispatchMessage
      1. android.view.View.measure(View.java:18796)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2108)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1224)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1460)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6023)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      12 frames