Re: Pitanje!
>...Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 6...
:public class ArrayIndexOutOfBoundsException
:extends IndexOutOfBoundsException
:Thrown to indicate that an array has been accessed with an illegal index.
:The index is either negative or greater than or equal to the size of the array.
Verovatno je negde indeks nekog niza veci nego sto bi trebalo.
Imao sam slican problem u radu sa stekom procedura, ako ti nesto znaci.
Koristi -debug kod prevodjenja pa lociraj tacno mesto greske.
Jesi li stavio
push(alloc(next2(true)) *4);
umesto:
push(alloc(next2(true)));//pogresno u Run.java
Pozdrav
Dragan
:public class ArrayIndexOutOfBoundsException
:extends IndexOutOfBoundsException
:Thrown to indicate that an array has been accessed with an illegal index.
:The index is either negative or greater than or equal to the size of the array.
Verovatno je negde indeks nekog niza veci nego sto bi trebalo.
Imao sam slican problem u radu sa stekom procedura, ako ti nesto znaci.
Koristi -debug kod prevodjenja pa lociraj tacno mesto greske.
Jesi li stavio
push(alloc(next2(true)) *4);
umesto:
push(alloc(next2(true)));//pogresno u Run.java
Pozdrav
Dragan
- References:
- Pitanje!
- From: "Zarko Milosevic" <mzare@sezampro.yu>
- Pitanje!
Previous by date: Pitanje!
Next by date: RE: Pitanje!
Previous by thread: Pitanje! Next by thread: RE: Pitanje!
Previous by thread: Pitanje! Next by thread: RE: Pitanje!