So...firstly, I just started programming, so please excuse me for my stupidity.
In around 8 hours I have to hand in my program which shows me the error above all the time.
Two people (me excluded) have looked it through and we just can't find the problem.
I'm not sure, if you can help....and what you need, if you can...
The viriables are in german, but it shouldn't really be a problem, right O.o
Produkt[] ProduktListe(){
Produkt[]einkaufsliste = new Produkt[EINKAUFSLISTEN_LAENGE];
boolean[] gelisteteProdukte = new boolean [Produkt.length-1];
int indexProdukte = 0;
while(indexProdukte < EINKAUFSLISTEN_LAENGE){
//the int line below is the line, that's marked...
int gewünschteProdukte = int(random(0, Produkt.length-1));