java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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.

Solutions on the web

via GitHub by JokerHYC
, 1 year ago
This exception has no message.
via Stack Overflow by YoneHsiung
, 1 year ago
This exception has no message.
via Stack Overflow by samira
, 2 years ago
via Stack Overflow by user180460
, 1 year ago
This exception has no message.
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.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)

Users with the same issue

7 times, 1 year ago
2 times, 1 year ago
4 times, 1 year ago
387 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.