Results 1 to 8 of 8
  1. #1
    mensa is offline Member
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    0

    Default java.lang.ArrayIndexOutOfBoundsException

    hi guys, ihave 2 problems
    1)i want to attach my cods with zip extention, but i can't, i think my firefox do not allow me, is any way?
    2)i fixed my previos problem ( i forgot to initialize the arrays) now i have new problem
    java.lang.ArrayIndexOutOfBoundsException
    plz help me for my 2 problems

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    10

    Default

    1)i want to attach my cods with zip extention, but i can't, i think my firefox do not allow me, is any way?
    Try safari.

    2)i fixed my previos problem ( i forgot to initialize the arrays) now i have new problem
    java.lang.ArrayIndexOutOfBoundsException
    It tells you that you're accessing an element greater than the max initialized element capacity of your array.
    freedom exists in the world of ideas

  3. #3
    danielstoner's Avatar
    danielstoner is offline Senior Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    191
    Rep Power
    10

    Default

    Post your code. We are not clairvoyants to see the code on your computer :) You can always post the relevant bits in the body of the post :)
    Daniel @ [www.littletutorials.com]
    Language is froth on the surface of thought

  4. #4
    mensa is offline Member
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    0

    Default

    hi danielstoner,
    i realy wanted to do this as well (insert my code in the body of the post ) but i coudn't

  5. #5
    danielstoner's Avatar
    danielstoner is offline Senior Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    191
    Rep Power
    10

    Default

    Put your code between "\[code\]" and "\[/code\]" markers. Don't use \. I just don't know how to escape the brackets.
    Last edited by danielstoner; 05-04-2008 at 10:40 PM.
    Daniel @ [www.littletutorials.com]
    Language is froth on the surface of thought

  6. #6
    Zosden's Avatar
    Zosden is offline Senior Member
    Join Date
    Apr 2008
    Posts
    384
    Rep Power
    10

    Default

    If your using eclipse it has a really nice debug mode that you could use. I use it a lot of the time when I'm programming a decent size project.
    My IP address is 127.0.0.1

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,370
    Blog Entries
    1
    Rep Power
    22

    Default

    Quote Originally Posted by mensa View Post
    hi danielstoner,
    i realy wanted to do this as well (insert my code in the body of the post ) but i coudn't

    How did you try it? As Daniel says..?

  8. #8
    rjuyal's Avatar
    rjuyal is offline Senior Member
    Join Date
    Mar 2008
    Location
    Delhi, India
    Posts
    194
    Rep Power
    10

    Default Post your code

    Just do a simple copy paste of your code while posting,
    select your code in post and click on the '#'.

    or you can mail me you code @
    content-suppressed :D
    i am the future

Similar Threads

  1. java.lang.ArrayIndexOutOfBoundsException
    By riccian in forum New To Java
    Replies: 0
    Last Post: 03-18-2008, 10:38 AM
  2. java.lang.ArrayIndexOutOfBoundsException
    By mew in forum New To Java
    Replies: 2
    Last Post: 12-02-2007, 10:40 PM
  3. Replies: 1
    Last Post: 07-31-2007, 11:47 PM
  4. Replies: 1
    Last Post: 07-25-2007, 10:55 PM
  5. java.lang.ArrayIndexOutOfBoundsException
    By Marcus in forum New To Java
    Replies: 1
    Last Post: 07-05-2007, 05:15 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
  •