Off-topic Talk Where overpaid, underworked S2000 owners waste the worst part of their days before the drive home. This forum is for general chit chat and discussions not covered by the other off-topic forums.

Who's good with Java?

Thread Tools
 
Old Jun 15, 2005 | 04:57 AM
  #1  
JerseyGirl's Avatar
Thread Starter
Registered User
 
Joined: Jun 2003
Posts: 4,358
Likes: 1
From: It's a secret!
Thumbs down Who's good with Java?

I'm working on putting some geometry figures up on a website for a class that I'm doing. The geometry program is called Cabri and I've done a few things already - all of which have come out working fine.

Today, however, I am working on a new one and get this error message:
"Int 8.0 Not Supported Form
(java.lang.ArrayIndexOutOfBoundsException)"

Any ideas on how to fix this?

Thanks!

~Kim~
Reply
Old Jun 15, 2005 | 05:44 AM
  #2  
ElTianti's Avatar
Registered User
 
Joined: May 2001
Posts: 2,997
Likes: 0
From: Rome, GA
Default

It sounds like something tried to access an array element that did not exist.

Example:

Int[] Scores;
Scores = new int[5] // creates array of 5 integers with elements 0-4
Scores[0]= 10; // Ok
Scores[1]= 15;
Scores[2]= 10;
Scores[3]= 17;
Scores[4]= 8;
Scores[5]= 23; // Runtime error!
Reply
Old Jun 15, 2005 | 08:58 AM
  #3  
gotrice02's Avatar
Registered User
 
Joined: Apr 2004
Posts: 1,996
Likes: 0
From: CFL
Default

What program generates the error? Are you including/writing any javascript code?
Reply
Old Jun 15, 2005 | 10:12 AM
  #4  
PeaceLove&S2K's Avatar
20 Year Member
 
Joined: Jul 2002
Posts: 19,257
Likes: 19
From: San Diego, CA
Default

[QUOTE=JerseyGirl,Jun 15 2005, 07:57 AM] I'm working on putting some geometry figures up on a website for a class that I'm doing.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
TAMTANIUM
Off-topic Talk
42
Sep 7, 2010 07:47 AM
Mocky
The Corner
6
Mar 1, 2005 05:50 AM




All times are GMT -8. The time now is 07:18 PM.