java.lang.NullPointerException

GitHub | JokerHYC | 7 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

    got an error.

    GitHub | 7 months ago | JokerHYC
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. filpgame 7 times, last 3 months ago
  2. mathan m 2 times, last 7 months ago
  3. emmanuelstroem 4 times, last 9 months ago
  4. Macapon 21 times, last 9 months ago
  5. dmitry 8 times, last 9 months ago
26 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.NullPointerException

    No message provided

    at android.support.v7.widget.RecyclerView$Adapter.createViewHolder()
  2. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5483)
    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.onLayoutChildren(LinearLayoutManager.java:574)
    8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
    9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
    10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
    10 frames
  3. Android Platform
    LinearLayout.onLayout
    1. android.view.View.layout(View.java:14873)
    2. android.view.ViewGroup.layout(ViewGroup.java:4651)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1697)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1551)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1460)
    5 frames