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

Apache's JIRA Issue Tracker | Joe Bowser | 3 years ago
  1. 0

    [CB-5974] File Plugin needs to have a default setting when config.xml doesn't have a permission - ASF JIRA

    apache.org | 12 months ago
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  2. 0

    [CB-5974] File Plugin needs to have a default setting when config.xml doesn't have a permission - ASF JIRA

    apache.org | 1 year ago
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  3. 0

    I forgot about this setting, and when I don't provide it, this crashes my entire app with an OutOfBounds Exception. This needs to have a default, and the default needs to be documented somewhere. You can reproduce this by trying to run the File tests on MobileSpec, or All Tests! E/FileUtils(17964): File plugin configuration error: Please set AndroidPersistentFileLocation in config.xml to one of "internal" (for new applications) or "compatibility" (for compatibility with previous versions) W/System.err(17964): java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0 W/System.err(17964): at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) W/System.err(17964): at java.util.ArrayList.get(ArrayList.java:308) W/System.err(17964): at org.apache.cordova.file.FileUtils.requestFileSystem(FileUtils.java:740) W/System.err(17964): at org.apache.cordova.file.FileUtils.access$1(FileUtils.java:736) W/System.err(17964): at org.apache.cordova.file.FileUtils$11.run(FileUtils.java:290) W/System.err(17964): at org.apache.cordova.file.FileUtils$24.run(FileUtils.java:461) W/System.err(17964): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/System.err(17964): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/System.err(17964): at java.lang.Thread.run(Thread.java:841) W/System.err(17964): java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 W/System.err(17964): at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) D/CordovaActivity(17964): Paused the application! D/CordovaWebView(17964): Handle the pause W/System.err(17964): at java.util.ArrayList.get(ArrayList.java:308) W/System.err(17964): at org.apache.cordova.file.FileUtils.requestFileSystem(FileUtils.java:740) W/System.err(17964): at org.apache.cordova.file.FileUtils.access$1(FileUtils.java:736) W/System.err(17964): at org.apache.cordova.file.FileUtils$11.run(FileUtils.java:290) W/System.err(17964): at org.apache.cordova.file.FileUtils$24.run(FileUtils.java:461) W/System.err(17964): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/System.err(17964): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/System.err(17964): at java.lang.Thread.run(Thread.java:841) D/CordovaLog(17964): file:///android_asset/www/autotest/pages/file.html: Line 54 : [ERROR] Problem setting up root filesystem for test running! Error to follow.

    Apache's JIRA Issue Tracker | 3 years ago | Joe Bowser
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RenderError

    GitHub | 2 years ago | Okamiwolf144
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  6. 0

    Muzei Crash when downloading

    GitHub | 2 years ago | iToobi
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0

  1. bmacedo 4 times, last 23 hours ago
  2. mhicauber 1 times, last 1 day ago
  3. filpgame 2 times, last 4 days ago
  4. tvrmsmith 1 times, last 5 days ago
  5. Indri Yunita 12 times, last 6 days ago
67 more registered users
28 unregistered visitors
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 1, 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. org.apache.cordova
    FileUtils$24.run
    1. org.apache.cordova.file.FileUtils.requestFileSystem(FileUtils.java:740)
    2. org.apache.cordova.file.FileUtils.access$1(FileUtils.java:736)
    3. org.apache.cordova.file.FileUtils$11.run(FileUtils.java:290)
    4. org.apache.cordova.file.FileUtils$24.run(FileUtils.java:461)
    4 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:841)
    3 frames