java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Runtime Exception when running cordova app
    via Stack Overflow by kmiasko
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cphoto.pl/com.cphoto.pl.MainActivity}: java.lang.StringIndex OutOfBoundsException: length=0; index=0 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.StringIndexOutOfBoundsException: 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) ... 11 more
    No Bugmate found.