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 hemanth5636
, 1 year ago
Unable to start activity ComponentInfo{pdfshare.hemanthreddy.com.pdfshare/pdfshare.hemanthreddy.com.pdfshare.activities.HomeScreen}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.view.ViewPager.setAdapter(android.support.v4.view.PagerAdapter)' on a null object reference
via GitHub by galadril
, 1 year ago
Unable to start activity ComponentInfo{nl.hnogames.domoticz.premium/nl.hnogames.domoticz.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.support.v4.app.Fragment.toString()' on a null object reference
via GitHub by WingOfFlame
, 9 months ago
Unable to start activity ComponentInfo{com.PrivacyGuard/com.PrivacyGuard.Application.Activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.PrivacyGuard.Application.Network.FakeVPN.MyVpnService.stopVPN()' on a null object reference
via Stack Overflow by Abhishek Panjabi
, 1 year ago
Unable to start activity ComponentInfo{diverse.technologies.transcriber/diverse.technologies.transcriber.translateActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.clearFocus()' on a null object reference
via xiaomi.eu by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
via Stack Overflow by Noah Tanenholtz
, 1 year ago
Unable to start activity ComponentInfo{com.technologyfortomorrow.animalyze/com.technologyfortomorrow.animalyze.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.release()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.view.ViewPager.setAdapter(android.support.v4.view.PagerAdapter)' on a null object reference	at pdfshare.hemanthreddy.com.pdfshare.activities.HomeScreen.onCreate(HomeScreen.java:39)	at android.app.Activity.performCreate(Activity.java:6259)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)	at android.app.ActivityThread.access$900(ActivityThread.java:154)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5443)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)