I used synchronized list, and i still get ConcurrentModificationException
Asked 2013-03-15T16:44:21.123
15
I'm using Vector instead of ArrayList to make a list safe in multi-threaded enviroment. But I keep getting ConcurrentModificationException when I trying to add items to the Vector while iterating it. Why is that and how can I prevent it?