java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

Appcelerator JIRA | Veronika Milic | 2 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Titanium Android Map java.lang.ArrayIndexOutOfBoundsException

    Stack Overflow | 2 years ago | user1732111
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    h2. Problem I have a MapView in my Android Titanium app. After a certain time the map tiles don't load anymore, resulting in a blurry map, or, if I switch to sattellite view, to an empy grid. Sometimes the issue appears as soon as the map is loaded, sometimes it takes a little longer and the map works fine for an amount of time. I already tried to change API keys. I think that the issue could be related to this: [], even it is reported only for Android v4.1.2 To exclude that the issue could be related to other parts of the app, I tried to make a test app with just a map in the index and the issue was still present. h2. Test case {code:lang=javascript|title=index.js} var Map = require(''); $; {code} {code:lang=xml|title=index.xml} <Alloy> <Window class="container"> <Module id="mapview" module="" method="createView"> </Module> </Window> </Alloy> {code} h2. Logs {code:lang=none|title=console} [ERROR] : REQUEST: ERROR [ERROR] : REQUEST: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 [ERROR] : REQUEST: at org.appcelerator.titanium.util.TiResponseCache.get( [ERROR] : REQUEST: at [ERROR] : REQUEST: at [ERROR] : REQUEST: at [ERROR] : REQUEST: at [ERROR] : REQUEST: at [ERROR] : REQUEST: at [ERROR] : REQUEST: at [ERROR] : REQUEST: at Source) [ERROR] : REQUEST: at {code} h2. Discussions Q&A question []

    Appcelerator JIRA | 2 years ago | Veronika Milic
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

    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.ArrayIndexOutOfBoundsException

      length=1; index=1

      at org.appcelerator.titanium.util.TiResponseCache.get()
    2. org.appcelerator.titanium
      1. org.appcelerator.titanium.util.TiResponseCache.get(
      1 frame
    3. Android
      7 frames
      1. Source)
      1 frame
    5. Java RT
      1 frame