java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cphoto.pl/com.cphoto.pl.MainActivity}: java.lang.StringIndex OutOfBoundsException: length=0; index=0

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 kmiasko
, 1 year ago
Unable to start activity ComponentInfo{com.cphoto.pl/com.cphoto.pl.MainActivity}: java.lang.StringIndex OutOfBoundsException: length=0; index=0
via Stack Overflow by Raj Karan
, 1 year ago
Unable to start activity ComponentInfo{app.pack.app.pack.name/app.pack.app.pack.name.Pic}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
via GitHub by door43app
, 1 year ago
Unable to start activity ComponentInfo{com.translationstudio.androidapp/com.door43.translationstudio.newui.translate.TargetTranslationActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
via Stack Overflow by Md. Khairul Islam
, 1 week ago
Unable to start activity ComponentInfo{com.appsrox.remindme/com.appsrox.remindme.UserEditData}: java.lang.StringIndexOutOfBoundsException: length=0; index=0
via Stack Overflow by ecribs
, 1 year ago
Unable to start activity ComponentInfo{net.azurewebsites.cosy/net.azurewebsites.cosy.Classroom}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
via Stack Overflow by stefan
, 6 months ago
Unable to start activity ComponentInfo {....}java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=1 ;
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cphoto.pl/com.cphoto.pl.MainActivity}: java.lang.StringIndex OutOfBoundsException: length=0; index=0
at org.apache.cordova.ConfigXmlParser.setStartUrl(ConfigXmlParser.java:139)
at org.apache.cordova.ConfigXmlParser.handleStartTag(ConfigXmlParser.java:116)
at org.apache.cordova.ConfigXmlParser.parse(ConfigXmlParser.java:75)
at org.apache.cordova.ConfigXmlParser.parse(ConfigXmlParser.java:63)
at org.apache.cordova.CordovaActivity.loadConfig(CordovaActivity.java:158)
at org.apache.cordova.CordovaActivity.onCreate(CordovaActivity.java:111)
at com.cphoto.pl.MainActivity.onCreate(MainActivity.java:30)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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