java.lang.NullPointerException

Exception #2508103

Samebug tips1

This was issue #706 in tabris-js. It happens when you have a switch in a CollectionView that is child of a Tab. Updating tabris or changing the switch for a Checkbox seems to solve the issue.

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

Solutions on the web50

Stack trace

  • java.lang.NullPointerException at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5483) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353) at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574) at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906) at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283) at android.view.View.layout(View.java:14873) at android.view.ViewGroup.layout(ViewGroup.java:4651) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1697) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1551) at android.widget.LinearLayout.onLayout(LinearLayout.java:1460)

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

mathan mmathan m
2 times, last one
MacaponMacapon
387 times, last one
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
37 more bugmates