java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rickhuisman.shoppinglist/com.rickhuisman.shoppinglist.CompletedActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference

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 Rick Huisman
, 1 year ago
Unable to start activity ComponentInfo{com.rickhuisman.shoppinglist/com.rickhuisman.shoppinglist.CompletedActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
via Stack Overflow by Jackie
, 7 months ago
Unable to start activity ComponentInfo{com.hong.user.healthyfx/com.hong.user.healthyfx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
via Stack Overflow by Ufomammut
, 1 week ago
Unable to start activity ComponentInfo{com.example.abcd.color_change/com.example.abcd.color_change.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
via GitHub by nlefler
, 1 year ago
Unable to start activity ComponentInfo{com.nlefler.requerytest/com.nlefler.requerytest.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Class io.requery.meta.Type.getClassType()' on a null object reference
via Stack Overflow by Kero Fawzy
, 11 months ago
Unable to start activity ComponentInfo{com.massive.movieapp/com.massive.movieapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'io.realm.RealmQuery io.realm.Realm.where(java.lang.Class)' on a null object reference
via GitHub by aliabbasjaffri
, 1 year ago
Unable to start activity ComponentInfo{com.ipal.itu.harzindagi/com.ipal.itu.harzindagi.Activities.ChildrenListActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.activeandroid.TableInfo com.activeandroid.ModelInfo.getTableInfo(java.lang.Class)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rickhuisman.shoppinglist/com.rickhuisman.shoppinglist.CompletedActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

16 times, 10 months ago
12 times, 11 months ago
210 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
111 more bugmates

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