java.lang.RuntimeException

Unable to start activity ComponentInfo{sample.com.dataccess/sample.com.dataccess.MainActivity}: java.lang.NullPointerException: storage == null


Solutions on the web41319

Solution icon of stackoverflow
Unable to start activity ComponentInfo{sample.com.dataccess/sample.com.dataccess.MainActivity}: java.lang.NullPointerException: storage == null

Solution icon of stackoverflow
Unable to start activity ComponentInfo{rjj.tutorial_retrievingdatafromlistview/rjj.tutorial_retrievingdatafromlistview.MainActivity}: java.lang.NullPointerException: storage == null

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.mycollege.mait/com.mycollege.mait.Preferences}: java.lang.NullPointerException: storage == null

Solution icon of stackoverflow
Unable to start activity ComponentInfo{attendance.emily.example.com.attendance/attendance.emily.example.com.attendance.MainActivity}: java.lang.NullPointerException: storage == null

Solution icon of web
Unable to start activity ComponentInfo{vn.fall.thangpq.blogreader/vn.fall.thangpq.blogreader.MainListActivity}: java.lang.NullPointerException: storage == null

Solution icon of github
via GitHub by Geekgasm
, 1 year ago
Unable to start activity ComponentInfo{eu.geekgasm.kintrol/eu.geekgasm.kintrol.DeviceChooserActivity}: java.lang.NullPointerException: storage == null

Solution icon of github
Unable to start activity ComponentInfo{net.memozz.myapplication/com.nbsp.materialfilepicker.ui.FilePickerActivity}: java.lang.NullPointerException: storage == null

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.myapp.cloudchat/com.myapp.cloudchat.HomeScreenActivity}: java.lang.NullPointerException: storage == null

Solution icon of stackoverflow
via Stack Overflow by Neil Rauch
, 1 year ago
Unable to start activity ComponentInfo{.MainActivity}: java.lang.NullPointerException: storage == null

Solution icon of github
via GitHub by MisterY
, 1 year ago
Unable to start activity ComponentInfo{com.money.manager.ex/com.nbsp.materialfilepicker.ui.FilePickerActivity}: java.lang.NullPointerException: storage == null

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{sample.com.dataccess/sample.com.dataccess.MainActivity}: java.lang.NullPointerException: storage == null at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: java.lang.NullPointerException: storage == null at java.util.Arrays$ArrayList.<init>(Arrays.java:38) at java.util.Arrays.asList(Arrays.java:155) at android.widget.ArrayAdapter.<init>(ArrayAdapter.java:128) at sample.com.dataccess.MainActivity.onCreate(MainActivity.java:47) at android.app.Activity.performCreate(Activity.java:5990) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) ... 10 more

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

3 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
95 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
19 more bugmates