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 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 samueltardieu
, 1 year ago
Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.CacheDetailActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.fasterxml.jackson.databind.JsonNode.asText()' on a null object reference
via GitHub by akarshan96
, 7 months ago
Unable to start activity ComponentInfo{org.fossasia.pslab/org.fossasia.pslab.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.hardware.usb.UsbDevice.getDeviceName()' on a null object reference
via Stack Overflow by I'l Follio
, 11 months ago
Unable to start activity ComponentInfo{citrapp.exatec/citrapp.exatec.Resultados}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
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 Aeonitis
, 1 year ago
Unable to start activity ComponentInfo{com.lh.andx/com.lh.andx.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.support.v4.app.Fragment.toString()' on a null object reference	at nl.hnogames.domoticz.app.DomoticzDashboardFragment.onAttachFragment(DomoticzDashboardFragment.java:228)	at nl.hnogames.domoticz.app.DomoticzDashboardFragment.checkConnection(DomoticzDashboardFragment.java:257)	at nl.hnogames.domoticz.app.DomoticzDashboardFragment.onActivityCreated(DomoticzDashboardFragment.java:217)	at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1983)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)	at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046)	at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:174)	at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:597)	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1288)	at android.app.Activity.performStart(Activity.java:6264)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2447)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2544)	at android.app.ActivityThread.access$900(ActivityThread.java:150)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1394)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:168)	at android.app.ActivityThread.main(ActivityThread.java:5845)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)