java.lang.ClassCastException: me.ccrama.redditslide.Activities.ModQueue cannot be cast to me.ccrama.redditslide.Activities.Inbox

GitHub | Soberat | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash when entering Moderation

    GitHub | 9 months ago | Soberat
    java.lang.ClassCastException: me.ccrama.redditslide.Activities.ModQueue cannot be cast to me.ccrama.redditslide.Activities.Inbox

    Root Cause Analysis

    1. java.lang.ClassCastException

      me.ccrama.redditslide.Activities.ModQueue cannot be cast to me.ccrama.redditslide.Activities.Inbox

      at me.ccrama.redditslide.Adapters.InboxAdapter.onBindViewHolder()
    2. me.ccrama.redditslide
      InboxAdapter.onBindViewHolder
      1. me.ccrama.redditslide.Adapters.InboxAdapter.onBindViewHolder(InboxAdapter.java:221)
      1 frame
    3. Android v7
      LinearLayoutManager.onLayoutChildren
      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)
      8 frames
    4. me.ccrama.redditslide
      PreCachingLayoutManager.onLayoutChildren
      1. me.ccrama.redditslide.Views.PreCachingLayoutManager.onLayoutChildren(PreCachingLayoutManager.java:25)
      1 frame
    5. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
      2. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
      3. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
      3 frames
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16637)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      2 frames
    7. Android Support v4
      SwipeRefreshLayout.onLayout
      1. android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596)
      1 frame
    8. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16637)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
      4. android.view.View.layout(View.java:16637)
      5. android.view.ViewGroup.layout(ViewGroup.java:5437)
      5 frames
    9. Android Support v4
      ViewPager.onLayout
      1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1695)
      1 frame
    10. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16637)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16637)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      9. android.view.View.layout(View.java:16637)
      10. android.view.ViewGroup.layout(ViewGroup.java:5437)
      11. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
      12. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
      13. android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
      14. android.view.View.layout(View.java:16637)
      15. android.view.ViewGroup.layout(ViewGroup.java:5437)
      16. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      17. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      18. android.view.View.layout(View.java:16637)
      19. android.view.ViewGroup.layout(ViewGroup.java:5437)
      20. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
      21. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
      22. android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
      23. android.view.View.layout(View.java:16637)
      24. android.view.ViewGroup.layout(ViewGroup.java:5437)
      24 frames
    11. me.ccrama.redditslide
      SwipeBackLayout.onLayout
      1. me.ccrama.redditslide.SwipeLayout.SwipeBackLayout.onLayout(SwipeBackLayout.java:393)
      1 frame
    12. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16637)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      4 frames
    13. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2693)
      1 frame
    14. Android Platform
      ViewRootImpl.doTraversal
      1. android.view.View.layout(View.java:16637)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2179)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1939)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
      5 frames