Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-02-2008, 07:25 PM
Member
 
Join Date: Apr 2008
Posts: 4
mensa is an unknown quantity at this point
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-03-2008, 07:58 PM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 260
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Quote:
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.

Quote:
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.
__________________
best regards,
sukatoa
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-04-2008, 12:21 AM
danielstoner's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 117
danielstoner is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-04-2008, 11:22 PM
Member
 
Join Date: Apr 2008
Posts: 4
mensa is an unknown quantity at this point
hi danielstoner,
i realy wanted to do this as well (insert my code in the body of the post ) but i coudn't
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-04-2008, 11:36 PM
danielstoner's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 117
danielstoner is on a distinguished road
Put your code between "\[code\]" and "\[/code\]" markers. Don't use \. I just don't know how to escape the brackets.
__________________
Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought

Last edited by danielstoner : 05-04-2008 at 11:40 PM.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-05-2008, 08:21 AM
Zosden's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 218
Zosden is on a distinguished road
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.
__________________
Definition of Impossible = making a good game in Java.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 05-05-2008, 09:53 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,180
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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..?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 05-05-2008, 10:09 AM
rjuyal's Avatar
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 100
rjuyal is on a distinguished road
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
__________________
Life was much better in 2021
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.ArrayIndexOutOfBoundsException riccian New To Java 0 03-18-2008 10:38 AM
java.lang.ArrayIndexOutOfBoundsException mew New To Java 2 12-02-2007 10:40 PM
Error: java.lang.ArrayIndexOutOfBoundsException fernando Java 2D 1 08-01-2007 12:47 AM
Error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException romina New To Java 1 07-25-2007 11:55 PM
java.lang.ArrayIndexOutOfBoundsException Marcus New To Java 1 07-05-2007 06:15 AM


All times are GMT +3. The time now is 01:16 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org