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 carlosfvieira
, 1 year ago
Unable to start activity ComponentInfo{org.envaya.sms/org.envaya.sms.ui.Main}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
via GitHub by jsarabia1247
, 10 months ago
Unable to start activity ComponentInfo{org.wycliffeassociates.translationrecorder/org.wycliffeassociates.translationrecorder.Playback.PlaybackActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
via Stack Overflow by Armando Alberti
, 2 years ago
Unable to start activity ComponentInfo{youth_stories.com.youth_stories/youth_stories.com.youth_stories.Home}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
via GitHub by jsarabia1247
, 1 year ago
Unable to start activity ComponentInfo{wycliffeassociates.recordingapp/wycliffeassociates.recordingapp.Recording.RecordingScreen}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
via GitHub by jsarabia1247
, 10 months ago
Unable to start activity ComponentInfo{org.wycliffeassociates.translationrecorder/org.wycliffeassociates.translationrecorder.Recording.RecordingScreen}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
via GitHub by cirilla
, 1 year ago
Unable to start activity ComponentInfo{com.ibm.mobilefirst.mobileedge.gym/com.ibm.mobilefirst.mobileedge.gym.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference	at org.envaya.sms.ui.Main.onCreate(Main.java:33)	at android.app.Activity.performCreate(Activity.java:6021)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)	at android.app.ActivityThread.access$800(ActivityThread.java:155)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5376)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)