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


Solutions on the web17647

Solution icon of stackoverflow
via Stack Overflow by Emilyy Lim
, 9 months ago
Unable to start activity ComponentInfo{attendance.emily.example.com.attendance/attendance.emily.example.com.attendance.MainActivity}: 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 stackoverflow
Unable to start activity ComponentInfo{rjj.tutorial_retrievingdatafromlistview/rjj.tutorial_retrievingdatafromlistview.MainActivity}: java.lang.NullPointerException: storage == null

Solution icon of stackoverflow
via Stack Overflow by Laura
, 9 months ago
Unable to start activity ComponentInfo{com.example.wdt/com.example.wdt.MultipleWifi}: java.lang.NullPointerException: storage == null

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

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.google.android.gms/com.google.android.gms.wallet.address.RequestUserAddressActivity}: java.lang.NullPointerException: null reference

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.griding/com.example.griding.MainMenuActivity}: java.lang.NullPointerException: name == null

Solution icon of stackoverflow
Unable to start activity ComponentInfo{...tutorial/...tutorial.SimpleListActivity}: java.lang.NullPointerException: lock == null

Solution icon of github
Unable to start activity ComponentInfo{com.mopub.mobileads.MoPubActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
via Stack Overflow by gregor
, 1 year ago
Unable to start activity ComponentInfo{......}: java.lang.NullPointerException

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{attendance.emily.example.com.attendance/attendance.emily.example.com.attendance.MainActivity}: java.lang.NullPointerException: storage == null
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653)
	at android.app.ActivityThread.access$800(ActivityThread.java:156)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:157)
	at android.app.ActivityThread.main(ActivityThread.java:5872)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
	at dalvik.system.NativeStart.main(Native Method)
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 attendance.emily.example.com.attendance.MainActivity.onCreate(MainActivity.java:73)
	at android.app.Activity.performCreate(Activity.java:5312)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2552)
	... 11 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, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 month ago
2 times, 1 year ago
95 times, 1 year ago
20 more bugmates