java.lang.NullPointerException: collection == null

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.NullPointerException: collection == null
at java.util.ArrayList.(ArrayList.java:94)
at me.tatarka.bindingcollectionadapter.Utils.getListFromCollection(Utils.java:83)
at me.tatarka.bindingcollectionadapter.BindingViewPagerAdapter.setItems(BindingViewPagerAdapter.java:66)

Users with the same issue

10 times, 3 months ago
2 times, 6 months ago
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Once, 8 months ago

Write tip

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