Guest_imported
New member
- Jan 1, 1970
- 0
Hi all!
I just compiled my code and fixed all the compilation errors. But now at runtime I get te following message:
-----------------------------------------------------
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0>=0
at java.util.Vector.setElementAt(Vector.java:482)
at Romo.makeFirst(equaSolver.java)
at equaSolver.main(equaSolver.java)
-----------------------------------------------------
I have already resolved problem such as ArrayIndexOutOfBoundsException exceptions, but when it concerned arrays only, this seems to be a problem with my vector.. Is there a limit in the number of elements we can put in a vector.. because my code does create a vector that is be huge, and eventually gets smaller..
Thanks to anyone who can help!!
I just compiled my code and fixed all the compilation errors. But now at runtime I get te following message:
-----------------------------------------------------
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0>=0
at java.util.Vector.setElementAt(Vector.java:482)
at Romo.makeFirst(equaSolver.java)
at equaSolver.main(equaSolver.java)
-----------------------------------------------------
I have already resolved problem such as ArrayIndexOutOfBoundsException exceptions, but when it concerned arrays only, this seems to be a problem with my vector.. Is there a limit in the number of elements we can put in a vector.. because my code does create a vector that is be huge, and eventually gets smaller..
Thanks to anyone who can help!!