java.lang.NullPointerException

Stack Overflow | user180460 | 3 months ago
  1. 0

    Force close in LinearLayout

    Stack Overflow | 3 months ago | user180460
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NullPointerException on ViewPager with Recyclerview

    Stack Overflow | 1 year ago | Neeeko
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v7.widget.RecyclerView$ViewHolder.shouldIgnore()' on a null object reference
  4. 0

    android - NullPointerException on ViewPager with Recyclerview - Stack Overflow

    xluat.com | 1 year ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v7.widget.RecyclerView$ViewHolder.shouldIgnore()' on a null object reference

  1. mathan m 2 times, last 4 months ago
  2. emmanuelstroem 4 times, last 6 months ago
  3. dmitry 8 times, last 6 months ago
  4. Macapon 21 times, last 6 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:5229)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4453)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4363)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961)
    5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1370)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:562)
    8. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2900)
    9. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3071)
    9 frames
  3. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:15092)
    2. android.view.ViewGroup.layout(ViewGroup.java:4645)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    6. android.view.View.layout(View.java:15092)
    7. android.view.ViewGroup.layout(ViewGroup.java:4645)
    7 frames
  4. Android Support v4
    ViewPager.onLayout
    1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1627)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:15092)
    2. android.view.ViewGroup.layout(ViewGroup.java:4645)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    6. android.view.View.layout(View.java:15092)
    7. android.view.ViewGroup.layout(ViewGroup.java:4645)
    8. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    9. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    10. android.view.View.layout(View.java:15092)
    11. android.view.ViewGroup.layout(ViewGroup.java:4645)
    12. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    13. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    14. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    15. android.view.View.layout(View.java:15092)
    16. android.view.ViewGroup.layout(ViewGroup.java:4645)
    17. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    18. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    19. android.view.View.layout(View.java:15092)
    20. android.view.ViewGroup.layout(ViewGroup.java:4645)
    21. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    22. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    23. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    24. android.view.View.layout(View.java:15092)
    25. android.view.ViewGroup.layout(ViewGroup.java:4645)
    26. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    27. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    28. android.view.View.layout(View.java:15092)
    29. android.view.ViewGroup.layout(ViewGroup.java:4645)
    30. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2007)
    31. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1764)
    32. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1020)
    33. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5768)
    34. android.view.Choreographer$CallbackRecord.run(Choreographer.java:824)
    35. android.view.Choreographer.doCallbacks(Choreographer.java:624)
    36. android.view.Choreographer.doFrame(Choreographer.java:594)
    37. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:810)
    38. android.os.Handler.handleCallback(Handler.java:733)
    39. android.os.Handler.dispatchMessage(Handler.java:95)
    40. android.os.Looper.loop(Looper.java:149)
    41. android.app.ActivityThread.main(ActivityThread.java:5257)
    41 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames