Thread: Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException

Results 1 to 8 of 8
  1. #1 Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException 
    What....Do you mind?

    Join Date
    May 2007
    Age
    32
    Posts
    552
    Thanks given
    27
    Thanks received
    24
    Rep Power
    14
    Can anyone please point me in the right direction for this error?

    Code:
    Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: 55563
            at ItemDef.forID(ItemDef.java:12)
            at ItemDef.getSprite(ItemDef.java:675)
            at client.drawInterface(client.java:9957)
            at client.draw3dScreen(client.java:10655)
            at client.method146(client.java:14618)
            at client.drawGameScreen(client.java:9748)
            at client.processDrawing(client.java:10588)
            at RSApplet.run(RSApplet.java:108)
            at client.run(client.java:6074)
            at java.lang.Thread.run(Unknown Source)

    I have no idea what means what haha, so if someone knows what some do that will help greatly thanks.
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    you tried spawning a ::item 55563
    Reply With Quote  
     

  3. #3  
    What....Do you mind?

    Join Date
    May 2007
    Age
    32
    Posts
    552
    Thanks given
    27
    Thanks received
    24
    Rep Power
    14
    its an item haha, thanks i didn't know what it means since trying to learn client sided things thanks for the notice

    EDIT: not an item not sure what it is lol
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Oct 2011
    Posts
    184
    Thanks given
    2
    Thanks received
    0
    Rep Power
    0
    its to far out, u didnt hit tab im assuming
    Reply With Quote  
     

  5. #5  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    it's definitively an item, notice the ItemDef...

    To fix it go to line 11 and put

    Code:
    if (id > line12array.length) 
    return;
    Reply With Quote  
     

  6. #6  
    What....Do you mind?

    Join Date
    May 2007
    Age
    32
    Posts
    552
    Thanks given
    27
    Thanks received
    24
    Rep Power
    14
    Quote Originally Posted by x25xquinton View Post
    its to far out, u didnt hit tab im assuming
    it happens when i log in
    Reply With Quote  
     

  7. #7  
    What....Do you mind?

    Join Date
    May 2007
    Age
    32
    Posts
    552
    Thanks given
    27
    Thanks received
    24
    Rep Power
    14
    Quote Originally Posted by Harlan View Post
    it's definitively an item, notice the ItemDef...

    To fix it go to line 11 and put

    Code:
    if (id > line12array.length) 
    return;

    Code:
    Java\ItemDef.java:11: non-static variable id cannot be referenced from a static
    context
    if (id > line12array)
        ^
    Java\ItemDef.java:11: cannot find symbol
    symbol  : variable line12array
    location: class ItemDef
    if (id > line12array)
             ^
    Java\ItemDef.java:12: missing return value
    return;
    ^
    Note: Java\client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Press any key to continue . . .
    sorry causing trouble >.<
    Reply With Quote  
     

  8. #8  
    What....Do you mind?

    Join Date
    May 2007
    Age
    32
    Posts
    552
    Thanks given
    27
    Thanks received
    24
    Rep Power
    14
    bump still need help

    EDIT: fixed it.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 07-30-2011, 05:05 PM
  2. Replies: 14
    Last Post: 06-30-2010, 05:59 PM
  3. Replies: 0
    Last Post: 10-18-2009, 04:35 AM
  4. Replies: 2
    Last Post: 10-06-2009, 04:55 AM
  5. Replies: 6
    Last Post: 09-10-2009, 06:04 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •