java.lang.RuntimeException: Unable to start activity ComponentInfo{com.demosquareout.compaq.Pingapp/com.demosquareout.compaq.Pingapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void PingApp.fragments.PersonDetails.loadAllData()' 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 sam88
, 1 year ago
Unable to start activity ComponentInfo{com.demosquareout.compaq.Pingapp/com.demosquareout.compaq.Pingapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void PingApp.fragments.PersonDetails.loadAllData()' on a null object reference
via Stack Overflow by Mauro Telese
, 1 year ago
Unable to start activity ComponentInfo{com.example.mauro.navigatore/com.example.mauro.navigatore.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TabHost.setup()' on a null object reference
via GitHub by amir19422
, 3 months ago
Unable to start activity ComponentInfo{com.example.sharif.boomtest/com.example.sharif.boomtest.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayShowHomeEnabled(boolean)' on a null object reference
via Salesforce by Rage
, 1 year ago
Unable to start activity ComponentInfo{com.mycompany/com.mycompany.ui.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.exacttarget.etpushsdk.ETPush$a.c()' on a null object reference
via Stack Overflow by Brandon Copeland
, 1 year ago
Unable to start activity ComponentInfo{com.example.fiddle/com.example.fiddle.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RelativeLayout.setOnTouchListener(android.view.View$OnTouchListener)' on a null object reference
via Stack Overflow by Tarik Hodzic
, 1 year ago
Unable to start activity ComponentInfo{com.example.android.musicplayer/com.example.android.musicplayer.ArtistLibrary}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void PingApp.fragments.PersonDetails.loadAllData()' on a null object reference
at algarferrari.fragments.PersonList.onCreateView(PersonList.java:56)
at android.app.Fragment.performCreateView(Fragment.java:2281)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:984)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1164)
at android.app.BackStackRecord.run(BackStackRecord.java:793)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1557)
at android.app.FragmentController.execPendingActions(FragmentController.java:326)
at android.app.Activity.performStart(Activity.java:6942)

Users with the same issue

You are the first who have seen this exception.

Write tip

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