java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

GitHub | 4eRTuk | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Падение при выборе слоя из NGW

    GitHub | 10 months ago | 4eRTuk
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  2. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  3. 0

    High: Stickerbook crash

    GitHub | 3 years ago | itscam
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Crash Log] Sat, 01 Nov 2014 14:55:53 GMT

    GitHub | 3 years ago | blFeedbackBot
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Invalid index 0, size is 0

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.get(ArrayList.java:308)
    2 frames
  3. com.nextgis.maplib
    LayerWithStyles.getTMSUrl
    1. com.nextgis.maplib.datasource.ngw.LayerWithStyles.getTMSUrl(LayerWithStyles.java:173)
    1 frame
  4. com.nextgis.maplibui
    SelectNGWResourceDialog$2.onClick
    1. com.nextgis.maplibui.dialog.SelectNGWResourceDialog.createLayers(SelectNGWResourceDialog.java:278)
    2. com.nextgis.maplibui.dialog.SelectNGWResourceDialog$2.onClick(SelectNGWResourceDialog.java:155)
    2 frames
  5. Android v7
    AlertController$ButtonHandler.handleMessage
    1. android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:157)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:145)
    3. android.app.ActivityThread.main(ActivityThread.java:6862)
    3 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
    2 frames