1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved IndexOutOfBounds (RM error)

Discussion in 'Client & Site Support' started by Hazard, Jun 16, 2015.

  1. Hazard

    Joined:
    Apr 18, 2015
    Messages:
    408
    Likes Received:
    84
  2. Best Answer:
    Post #8 by Hazard, Jun 17, 2015
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    You're passing in an index that's out of the bounds of the list... that's on you...
     
  4. Hazard

    Joined:
    Apr 18, 2015
    Messages:
    408
    Likes Received:
    84
    The QueryResults thing is what's calling it and that's RM..
     
  5. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,482
    Likes Received:
    990
    Share the line of code that causes this? It's most likely you entering an invalid index, as cloud said.
     
  6. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Only because you're calling get which is a list function...
     
    dog_ likes this.
  7. dog_

    Joined:
    Nov 3, 2013
    Messages:
    277
    Likes Received:
    95
    List#get Throws:
    IndexOutOfBoundsException - if the index is out of range (index < 0 || index >= size())
    from your pic... 6 >= 0
     
  8. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    I mean I could make it return but... that's not normal :/
     
  9. Hazard

    Joined:
    Apr 18, 2015
    Messages:
    408
    Likes Received:
    84
    Apparently I did something total random in those lines, idk what I've drunk back then..
     

Share This Page

Loading...