java.lang.NullPointerException: storage == 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.

Solutions on the web

via Stack Overflow by Unknown author, 2 years ago
java.lang.NullPointerException: storage == null
at java.util.Arrays$ArrayList.(
at java.util.Arrays.asList(
at com.nbsp.materialfilepicker.utils.FileUtils.getFileListByDirPath(
at com.nbsp.materialfilepicker.ui.DirectoryFragment.initFilesList(
at com.nbsp.materialfilepicker.ui.DirectoryFragment.onViewCreated(
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(

Users with the same issue

4 times, 2 months ago
3 times, 6 months ago
2 times, 1 year ago
95 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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