java.lang.RuntimeException: Unable to start activity ComponentInfo{ir.mototel.mototel/com.sepandar.xengine.activity.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-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 Stack Overflow by zzz
, 1 year ago
Unable to start activity ComponentInfo{ir.mototel.mototel/com.sepandar.xengine.activity.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
via GitHub by debbiche
, 1 year ago
Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
via xda-developers.com by Unknown author, 11 months ago
Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
via GitHub by PaoloLoconsole
, 11 months ago
Unable to start activity ComponentInfo{it....e.AndroidExplorer}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=630261345
via aimp.ru by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.aimp.player/com.aimp.player.views.MainActivity.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
via Stack Overflow by Paolo Loconsole
, 1 year ago
Unable to start activity ComponentInfo{it...re/it....re.AndroidExplorer}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=630261345
java.lang.RuntimeException: Unable to start activity ComponentInfo{ir.mototel.mototel/com.sepandar.xengine.activity.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
at java.util.ArrayList.get(ArrayList.java:310)
at com.sepandar.xengine.activity.MainActivity.onCreate(MainActivity.java:171)
at android.app.Activity.performCreate(Activity.java:6020)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2284)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5349)
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)

Users with the same issue

Once, 11 months ago
148 times, 11 months ago
Once, 1 year ago
10 times, 1 year ago
Once, 3 months ago

Write tip

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