iterator and iterator2 are final, meaning they can't be changed after they are declared. Make them not final or instantiate them at declaration.