java.lang.IndexOutOfBoundsException: Index: 0, Size: 0<br></p> <pre> <code>at java.util.ArrayList.RangeCheck(ArrayList.java:547)

Appcelerator JIRA | Aptana | 6 years 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

    {html}<div><p>Assigned to <a href= "http://aptanastudio.tenderapp.com/discussions/problems/44-edittingjavascript"> Tender issue #44</a>. There are quite a few PHP errors in this log. Since we are not planning on supporting php with our own bits, I am not as much worried about those. However, there seems to be an IllegalArgumentException at the end related to the only the Javascript Editor. We should follow up on that.</p> <p>!ENTRY org.eclipse.ui 4 0 2009-08-31 12:48:06.906 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0<br></p> <pre> <code>at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.aptana.ide.editor.js.runtime.OrderedObjectCollection.get(OrderedObjectCollection.java:62) at com.aptana.ide.editor.js.JSOffsetMapper.findTargetFromName(JSOffsetMapper.java:1223) at com.aptana.ide.editor.js.JSOffsetMapper.findTarget(JSOffsetMapper.java:1169) at com.aptana.ide.editors.unified.hyperlinks.UnifiedHyperlinkDetector.detectHyperlinks(UnifiedHyperlinkDetector.java:116) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:263)</code> </pre> <p>As reported in Tender:</p> <blockquote> <p>As I make changes to JavaScript code, Aptana Studio automatically creates a processes labeled "Initializing Index". These processes are taking a long time, and a large number of these processes are filling up my process queue. Sometimes I have to wait several minutes to for the processes to finish so my JavaScript will save, or I have to go through and cancel all the pending processes. Only my JavaScript files seem to have this problem.</p> </blockquote></div>{html}

    Appcelerator JIRA | 6 years ago | Aptana
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0<br></p> <pre> <code>at java.util.ArrayList.RangeCheck(ArrayList.java:547)
  2. 0

    {html}<div><p>Assigned to <a href= "http://aptanastudio.tenderapp.com/discussions/problems/44-edittingjavascript"> Tender issue #44</a>. There are quite a few PHP errors in this log. Since we are not planning on supporting php with our own bits, I am not as much worried about those. However, there seems to be an IllegalArgumentException at the end related to the only the Javascript Editor. We should follow up on that.</p> <p>!ENTRY org.eclipse.ui 4 0 2009-08-31 12:48:06.906 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0<br></p> <pre> <code>at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.aptana.ide.editor.js.runtime.OrderedObjectCollection.get(OrderedObjectCollection.java:62) at com.aptana.ide.editor.js.JSOffsetMapper.findTargetFromName(JSOffsetMapper.java:1223) at com.aptana.ide.editor.js.JSOffsetMapper.findTarget(JSOffsetMapper.java:1169) at com.aptana.ide.editors.unified.hyperlinks.UnifiedHyperlinkDetector.detectHyperlinks(UnifiedHyperlinkDetector.java:116) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:263)</code> </pre> <p>As reported in Tender:</p> <blockquote> <p>As I make changes to JavaScript code, Aptana Studio automatically creates a processes labeled "Initializing Index". These processes are taking a long time, and a large number of these processes are filling up my process queue. Sometimes I have to wait several minutes to for the processes to finish so my JavaScript will save, or I have to go through and cancel all the pending processes. Only my JavaScript files seem to have this problem.</p> </blockquote></div>{html}

    Appcelerator JIRA | 6 years ago | Aptana
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0<br></p> <pre> <code>at java.util.ArrayList.RangeCheck(ArrayList.java:547)
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java matching loops

    Stack Overflow | 5 years ago | Stephopolis
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 2</p> </blockquote> <p>I am entering 2 files so this makes sense, because sampleNum is taken from the file names. 2 files = 2 file names</p> <pre><code>at java.util.ArrayList.RangeCheck(ArrayList.java:547)

  1. Victor_IT 2 times, last 5 days ago
  2. arturgajowy 1 times, last 1 week ago
  3. Pilleo 3 times, last 1 week ago
  4. Indri Yunita 8 times, last 2 weeks ago
  5. SteVio1989 1 times, last 3 weeks ago
73 more registered users
22 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

    Index: 0, Size: 0<br></p> <pre> <code>at java.util.ArrayList.RangeCheck(ArrayList.java:547)

    at java.util.ArrayList.get()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.get(ArrayList.java:322)
    1 frame
  3. com.aptana.ide
    UnifiedHyperlinkDetector.detectHyperlinks
    1. com.aptana.ide.editor.js.runtime.OrderedObjectCollection.get(OrderedObjectCollection.java:62)
    2. com.aptana.ide.editor.js.JSOffsetMapper.findTargetFromName(JSOffsetMapper.java:1223)
    3. com.aptana.ide.editor.js.JSOffsetMapper.findTarget(JSOffsetMapper.java:1169)
    4. com.aptana.ide.editors.unified.hyperlinks.UnifiedHyperlinkDetector.detectHyperlinks(UnifiedHyperlinkDetector.java:116)
    4 frames