java.lang.RuntimeException: Unable to start activity ComponentInfo{lelisoft.com.lelimath.debug/lelisoft.com.lelimath.activities.TestItemsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List lelisoft.com.lelimath.data.TestScript.getItems()' on a null object reference


Solutions on the web

Solution icon of stackoverflow
Unable to start activity ComponentInfo{lelisoft.com.lelimath.debug/lelisoft.com.lelimath.activities.TestItemsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List lelisoft.com.lelimath.data.TestScript.getItems()' on a null object reference

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.iam_j.diary/com.example.iam_j.diary.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.example.iam_j.diary.databaseHandler.getAllDiary()' on a null object reference

Solution icon of stackoverflow
Unable to start activity ComponentInfo{dominio.android.forca/dominio.android.forca.JogoAct}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List dominio.android.forca.data.AddressBookDatabaseHelper.Exemplo()' on a null object reference

Solution icon of stackoverflow
via Stack Overflow by joshi737
, 2 months ago
Unable to start activity ComponentInfo{com.myapp.myappname/com.myapp.myappname.ui.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.myapp.myappname.database.DatabaseHandler.getAllSongs()' on a null object reference

Solution icon of stackoverflow
Unable to start activity ComponentInfo{info.androidhive.materialdesign/info.androidhive.materialdesign.activity.Graf}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List info.androidhive.materialdesign.DatabaseHelper.getAll()' on a null object reference

Solution icon of stackoverflow
via Stack Overflow by N.Gre
, 1 week ago
Unable to start activity ComponentInfo{com.example.android.bluetoothlegatt/com.example.android.bluetoothlegatt.DeviceControlActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.example.android.bluetoothlegatt.BluetoothLeService.getSupportedGattServices()' on a null object reference

Solution icon of github
via GitHub by seanleavy
, 6 months ago
Unable to start activity ComponentInfo{com.wii.sean.wiimmfiitus/com.wii.sean.wiimmfiitus.activities.MkWiiHomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.wii.sean.wiimmfiitus.helpers.PreferencesManager.getPreferencesAsList(java.lang.String)' on a null object reference

Solution icon of github
via GitHub by ccrama
, 10 months ago
Unable to start activity ComponentInfo{me.ccrama.redditslide/me.ccrama.redditslide.Activities.CommentsScreen}: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.List me.ccrama.redditslide.PostLoader.getPosts()' on a null object reference

Solution icon of github
via GitHub by carlhoerberg
, 1 year ago
Unable to start activity ComponentInfo{com.cloudamqp/com.cloudamqp.androidexample.ActivityHome}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference

Solution icon of github
via GitHub by sagartrehan
, 1 year ago
Unable to start activity ComponentInfo{com.smallcircles/rx_activity_result.HolderActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'rx_activity_result.OnResult rx_activity_result.Request.onResult()' on a null object reference

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{lelisoft.com.lelimath.debug/lelisoft.com.lelimath.activities.TestItemsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List lelisoft.com.lelimath.data.TestScript.getItems()' on a null object reference
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)

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

65 times, 3 months ago
6 times, 3 months ago
38 times, 4 months ago
16 times, 9 months ago
1047 times, 10 months ago
109 more bugmates