java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View]

GitHub | langsmith | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 46#247514630

    GitHub | 5 months ago | langsmith
    java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View]

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NoSuchMethodException: <init> [class android.view.View]

      at com.firebase.ui.a.d.onCreateViewHolder()
    2. com.firebase.ui
      d.onCreateViewHolder
      1. com.firebase.ui.a.d.onCreateViewHolder(Unknown Source)
      1 frame
    3. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(Unknown Source)
      2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(Unknown Source)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(Unknown Source)
      4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(Unknown Source)
      5. android.support.v7.widget.LinearLayoutManager.layoutChunk(Unknown Source)
      6. android.support.v7.widget.LinearLayoutManager.fill(Unknown Source)
      7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(Unknown Source)
      8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(Unknown Source)
      9. android.support.v7.widget.RecyclerView.dispatchLayout(Unknown Source)
      10. android.support.v7.widget.RecyclerView.onLayout(Unknown Source)
      10 frames
    4. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16692)
      2. android.view.ViewGroup.layout(ViewGroup.java:5442)
      2 frames
    5. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.CoordinatorLayout.c(Unknown Source)
      2. android.support.design.widget.CoordinatorLayout.a(Unknown Source)
      3. android.support.design.widget.CoordinatorLayout.onLayout(Unknown Source)
      3 frames
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16692)
      2. android.view.ViewGroup.layout(ViewGroup.java:5442)
      2 frames
    7. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.CoordinatorLayout.c(Unknown Source)
      2. android.support.design.widget.CoordinatorLayout.a(Unknown Source)
      3. android.support.design.widget.CoordinatorLayout.onLayout(Unknown Source)
      3 frames
    8. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16692)
      2. android.view.ViewGroup.layout(ViewGroup.java:5442)
      2 frames
    9. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(Unknown Source)
      1 frame
    10. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16692)
      2. android.view.ViewGroup.layout(ViewGroup.java:5442)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16692)
      6. android.view.ViewGroup.layout(ViewGroup.java:5442)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      10. android.view.View.layout(View.java:16692)
      11. android.view.ViewGroup.layout(ViewGroup.java:5442)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      14. android.view.View.layout(View.java:16692)
      15. android.view.ViewGroup.layout(ViewGroup.java:5442)
      16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      19. android.view.View.layout(View.java:16692)
      20. android.view.ViewGroup.layout(ViewGroup.java:5442)
      21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      22 frames
    11. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2707)
      1 frame
    12. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:16692)
      2. android.view.ViewGroup.layout(ViewGroup.java:5442)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2173)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1933)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1109)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6046)
      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)
      13. android.os.Looper.loop(Looper.java:152)
      14. android.app.ActivityThread.main(ActivityThread.java:5507)
      14 frames