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

Stack Overflow | SiyaNM | 4 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
    Call notifyDataSetChanged instead of notifyItemRemoved due to a bug in RecyclerView
  2. 0

    NoSuchMethodException in FirebaseRecyclerAdapter onCreateViewHolder

    GitHub | 10 months ago | stasbar
    java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View]
  3. 0

    Firebase IllegalAccessException in release apk

    Stack Overflow | 9 months ago | Saurav Ghimire
    java.lang.RuntimeException: java.lang.IllegalAccessException: java.lang.Class<com.tenhaff.uniingress.fragments.UserListFragment$UserViewHolder> is not accessible from java.lang.Class<com.firebase.ui.database.FirebaseRecyclerAdapter>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 262#270123552

    GitHub | 4 months ago | SolidScorpion
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 33(offset:29).state:44
  6. 0

    NoSuchMethodException while using FirebaseUI RecyclerAdapter

    Stack Overflow | 4 months ago | SiyaNM
    java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View]

  1. 0x60 4 times, last 6 months ago
  2. arturgajowy 12 times, last 2 weeks ago
  3. Sanjay Kumar 1 times, last 2 weeks ago
  4. batwalrus76 2 times, last 1 month ago
  5. PKeidel 2 times, last 4 months ago
26 more registered users
25 unregistered visitors
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.NoSuchMethodException

    <init> [class android.view.View]

    at java.lang.Class.getConstructor()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor(Class.java:531)
    2. java.lang.Class.getConstructor(Class.java:495)
    2 frames
  3. com.firebase.ui
    FirebaseRecyclerAdapter.onCreateViewHolder
    1. com.firebase.ui.database.FirebaseRecyclerAdapter.onCreateViewHolder(FirebaseRecyclerAdapter.java:168)
    1 frame
  4. Android v7
    RecyclerView$1.run
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6290)
    2. android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5478)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5363)
    4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5359)
    5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2141)
    6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1525)
    7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1488)
    8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:585)
    9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3506)
    10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3254)
    11. android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1623)
    12. android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:331)
    12 frames
  5. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    3. android.view.Choreographer.doFrame(Choreographer.java:549)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    5. android.os.Handler.handleCallback(Handler.java:739)
    6. android.os.Handler.dispatchMessage(Handler.java:95)
    7. android.os.Looper.loop(Looper.java:135)
    8. android.app.ActivityThread.main(ActivityThread.java:5221)
    8 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
    2 frames