java.lang.RuntimeException: You have to provide a ViewHolder with a constructor which takes a view!

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

    AbstractItem RuntimeException

    GitHub | 1 year ago | AndrazP
    java.lang.RuntimeException: You have to provide a ViewHolder with a constructor which takes a view!
  2. 0

    RuntimeException: You have to provide a ViewHolder with a constructor which takes a view!

    GitHub | 1 year ago | shubhamchaudhary
    java.lang.RuntimeException: You have to provide a ViewHolder with a constructor which takes a view!
  3. 0

    fatal error while using Zxing for coding QR code reader app

    Stack Overflow | 2 years ago | Razer Waran
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.qrcodereader /com.google.zxing.client.android.CaptureActivity}: android.view.InflateException: Binary XML file line #35: Error inflating class <unknown> 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.access$1500(ActivityThread.java:117) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.os.Handler.dispatchMessage(Handler.java:99) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.os.Looper.loop(Looper.java:123) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-03 13:42:20.931: E/AndroidRuntime(335): at java.lang.reflect.Method.invokeNative(Native Method) 01-03 13:42:20.931: E/AndroidRuntime(335): at java.lang.reflect.Method.invoke(Method.java:507) 01-03 13:42:20.931: E/AndroidRuntime(335): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-03 13:42:20.931: E/AndroidRuntime(335): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-03 13:42:20.931: E/AndroidRuntime(335):
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android : Proguard and AddThis library

    Stack Overflow | 3 years ago | johann
    java.lang.RuntimeException: Unable to start activity ComponentInfo{info.xxx/com.addthis.ui.activities.ATActivityGroup}: java.lang.RuntimeException: Unable to start activity ComponentInfo{info.xxx/com.addthis.ui.activities.ATShareActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x0
  6. 0

    Camera Video Saving in portrait mode is not working

    Stack Overflow | 5 years ago | Cintu
    java.lang.RuntimeException: Unable to resume activity {com.shopnclick.app/com.shopnclick.app.surveyClient}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=4, result=-1, data=Intent { act=inline-data dat=content://media/external/video/media/70 }} to activity {com.shopnclick.app/com.shopnclick.app.surveyClient}: java.lang.NullPointerException 03-09 15:04:34.120: E/AndroidRuntime(8064): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3134) java.lang.reflect.Method.invoke(Method.java:521) 03-09 15:04:34.120: E/AndroidRuntime(8064): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) 03-09 15:04:34.120: E/AndroidRuntime(8064):

    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

      You have to provide a ViewHolder with a constructor which takes a view!

      at com.mikepenz.fastadapter.items.AbstractItem$ReflectionBasedViewHolderFactory.create()
    2. com.mikepenz.fastadapter
      AbstractAdapter.onCreateViewHolder
      1. com.mikepenz.fastadapter.items.AbstractItem$ReflectionBasedViewHolderFactory.create(AbstractItem.java:343)
      2. com.mikepenz.fastadapter.items.AbstractItem.getViewHolder(AbstractItem.java:284)
      3. com.mikepenz.fastadapter.items.AbstractItem.getViewHolder(AbstractItem.java:233)
      4. com.mikepenz.fastadapter.FastAdapter$OnCreateViewHolderListenerImpl.onPreCreateViewHolder(FastAdapter.java:1326)
      5. com.mikepenz.fastadapter.FastAdapter.onCreateViewHolder(FastAdapter.java:330)
      6. com.mikepenz.fastadapter.AbstractAdapter.onCreateViewHolder(AbstractAdapter.java:128)
      6 frames
    3. Android v7
      RecyclerView$ViewFlinger.run
      1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5482)
      2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
      4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
      5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
      6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
      7. android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1180)
      8. android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1031)
      9. android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4061)
      9 frames
    4. Android Platform
      ActivityThread.main
      1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
      2. android.view.Choreographer.doCallbacks(Choreographer.java:591)
      3. android.view.Choreographer.doFrame(Choreographer.java:559)
      4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
      5. android.os.Handler.handleCallback(Handler.java:808)
      6. android.os.Handler.dispatchMessage(Handler.java:103)
      7. android.os.Looper.loop(Looper.java:193)
      8. android.app.ActivityThread.main(ActivityThread.java:5333)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame