java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.rutube.RutubeApp/ru.rutube.RutubeApp.ui.StartActivity}: java.lang.ArrayIndexOutOfBoundsException: index=-1 length=1

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by tumb1er
, 2 years ago
Unable to start activity ComponentInfo{ru.rutube.RutubeApp/ru.rutube.RutubeApp.ui.StartActivity}: java.lang.ArrayIndexOutOfBoundsException: index=-1 length=1
via GitHub by tumb1er
, 2 years ago
Unable to start activity ComponentInfo{ru.rutube.RutubeApp/ru.rutube.RutubeApp.ui.StartActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
via Stack Overflow by I S
, 2 years ago
Unable to start activity ComponentInfo{.....
via GitHub by di72nn
, 6 months ago
Unable to start activity ComponentInfo{fr.gaulupeau.apps.InThePoche/fr.gaulupeau.apps.Poche.ui.preferences.ConnectionWizardActivity}: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
via Stack Overflow by Ron
, 2 years ago
Unable to start activity ComponentInfo{com.example.dellstudio.projectone/com.example.dellstudio.projectone.page3}: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
via Stack Overflow by Mitchell
, 1 year ago
Unable to start activity ComponentInfo{com.hfad.wellpro/com.hfad.wellpro.DBImport}: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.rutube.RutubeApp/ru.rutube.RutubeApp.ui.StartActivity}: java.lang.ArrayIndexOutOfBoundsException: index=-1 length=1
at java.util.ArrayList.get(ArrayList.java:310)
at android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:1764)
at ru.rutube.RutubeApp.ui.StartActivity.onCreate(StartActivity.java:72)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1050)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1782)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1834)
at android.app.ActivityThread.access$500(ActivityThread.java:122)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1027)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4126)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)

Users with the same issue

Once, 3 months ago
3 times, 5 months ago
2 times, 9 months ago
Once, 11 months ago
2 times, 11 months ago

Write tip

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