java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mycollege.mait/com.mycollege.mait.Preferences}: 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

Solutions on the web

via Stack Overflow by Anshul Garg
, 1 year ago
Unable to start activity ComponentInfo{com.mycollege.mait/com.mycollege.mait.Preferences}: java.lang.NullPointerException: storage == null
via teamtreehouse.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{vn.fall.thangpq.blogreader/vn.fall.thangpq.blogreader.MainListActivity}: java.lang.NullPointerException: storage == null
via Stack Overflow by keke
, 2 years ago
Unable to start activity ComponentInfo{sg.edu.nyp.stickers/sg.edu.nyp.stickers.activities.NearablesDemoActivity}: java.lang.NullPointerException: storage == null
via Stack Overflow by madhu
, 11 months ago
Unable to start activity ComponentInfo{sample.com.dataccess/sample.com.dataccess.MainActivity}: java.lang.NullPointerException: storage == null
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.niall.easytxt/com.niall.easytxt.MainActivity}: java.lang.NullPointerException: storage == null
via Stack Overflow by Neil Rauch
, 1 year ago
Unable to start activity ComponentInfo{.MainActivity}: java.lang.NullPointerException: storage == null
java.lang.NullPointerException: storage == null
at java.util.Arrays$ArrayList.(Arrays.java:38)
at java.util.Arrays.asList(Arrays.java:155)
at android.widget.ArrayAdapter.(ArrayAdapter.java:128)
at com.mycollege.mait.Preferences.onCreate(Preferences.java:272)
at android.app.Activity.performCreate(Activity.java:6010)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)

Users with the same issue

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

Write tip

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