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

GitHub | langsmith | 8 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

    GitHub comment 46#247514630

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

    Android app won't start launcher

    Stack Overflow | 4 years ago | user2809321
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.taekwondobuddy/com.example.taekwondobuddy.Menu}: java.lang.ClassNotFoundException: com.example.taekwondobuddy.Menu in loader dalvik.system.PathClassLoader[/data/app/com.example.taekwondobuddy-2.apk] 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.os.Handler.dispatchMessage(Handler.java:99) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.os.Looper.loop(Looper.java:123)
  3. 0

    Get File from Uri after Image Capture

    Stack Overflow | 6 years ago | Arcadia
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {tod.dosetracker/tod.dosetracker.ImageViewerActivity}: java.lang.NullPointerException 07-25 20:04:04.310: ERROR/AndroidRuntime(16438): at android.app.ActivityThread.deliverResults(ActivityThread.java:2536) 07-25 20:04:04.310: ERROR/AndroidRuntime(16438): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2578) 07-25 20:04:04.310: ERROR/AndroidRuntime(16438): at android.app.ActivityThread.access$2000(ActivityThread.java:117) 07-25 20:04:04.310: ERROR/AndroidRuntime(16438): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:965) 07-25 20:04:04.310: ERROR/AndroidRuntime(16438): at android.os.Handler.dispatchMessage(Handler.java:99) 07-25 20:04:04.310: ERROR/AndroidRuntime(16438): at android.os.Looper.loop(Looper.java:123)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException with MediaStore and ArrayList

    Stack Overflow | 3 years ago | SimplisticApps
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.simplistic.simplisticmusicfree/com.simplistic.simplisticmusicfree.MainActivity}: java.lang.NullPointerException 04-02 17:04:52.452: E/AndroidRuntime(16136): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2247) 04-02 17:04:52.452: E/AndroidRuntime(16136): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2297) 04-02 17:04:52.452: E/AndroidRuntime(16136): at android.app.ActivityThread.access$700(ActivityThread.java:152) 04-02 17:04:52.452: E/AndroidRuntime(16136): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) 04-02 17:04:52.452: E/AndroidRuntime(16136): at android.os.Handler.dispatchMessage(Handler.java:99) 04-02 17:04:52.452: E/AndroidRuntime(16136): at android.os.Looper.loop(Looper.java:137)
  6. 0

    Out of memory on a 285692020-byte allocation / Bitmap Factory issue?

    Stack Overflow | 3 years ago | NewGuyChris
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.Chris.App/com.Chris.App.Info}: java.lang.NullPointerException E/AndroidRuntime(27961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2219) E/AndroidRuntime(27961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349) E/AndroidRuntime(27961): at android.app.ActivityThread.access$700(ActivityThread.java:159) E/AndroidRuntime(27961): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) E/AndroidRuntime(27961): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(27961): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(27961): at android.app.ActivityThread.main(ActivityThread.java:5419) E/AndroidRuntime(27961): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(27961): at java.lang.reflect.Method.invoke(Method.java:525) E/AndroidRuntime(27961): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187) E/AndroidRuntime(27961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) E/AndroidRuntime(27961): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(27961): Caused by: java.lang.NullPointerException E/AndroidRuntime(27961): at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:174) E/AndroidRuntime(27961): at com.Chris.App.Info.&lt;init&gt;(Info.java:17) E/AndroidRuntime(27961): at java.lang.Class.newInstanceImpl(Native Method) E/AndroidRuntime(27961): at java.lang.Class.newInstance(Class.java:1130) E/AndroidRuntime(27961): at android.app.Instrumentation.newActivity(Instrumentation.java:1078) E/AndroidRuntime(27961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2210) E/AndroidRuntime(27961): ... 11 more

    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.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