java.lang.RuntimeException

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


Samebug tips1

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web10839

Solution icon of github
via GitHub by langsmith
, 11 months ago
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of github
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of github
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
via Stack Overflow by Peter
, 1 year ago
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
via Stack Overflow by hamster
, 4 months ago
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
java.lang.NoSuchMethodException: <init> [class android.view.View]

Solution icon of stackoverflow
via Stack Overflow by Nirel
, 4 months ago
java.lang.NoSuchMethodException: <init> [class android.view.View]

Stack trace

  • java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View] at com.firebase.ui.database.FirebaseRecyclerAdapter.onCreateViewHolder(FirebaseRecyclerAdapter.java:171) at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6290) at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5478) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5363) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5359) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2141) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1525) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1488) at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:585) at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3506) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3254) at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1623) at android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:331) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767) at android.view.Choreographer.doCallbacks(Choreographer.java:580) at android.view.Choreographer.doFrame(Choreographer.java:549) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: java.lang.NoSuchMethodException: <init> [class android.view.View] at java.lang.Class.getConstructor(Class.java:531) at java.lang.Class.getConstructor(Class.java:495) at com.firebase.ui.database.FirebaseRecyclerAdapter.onCreateViewHolder(FirebaseRecyclerAdapter.java:168) ... 24 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 10 months ago
5 times, 2 weeks ago
2 times, 2 months ago
6 times, 8 months ago
10 times, 9 months ago
65 more bugmates