Not sure exactly what's wrong here:
    while(itr.hasNext())
    {
        Stock temp =itr.next();
    }
This code is throwing a ConcurrentModificationException at itr.next();
Initialization for the iterator is 
private Iterator<Stock> itr=stockList.iterator();
Any ideas?
[The basic code was copied directly from professor's slides]