I have two list and I am Retrieving data from them.
for(String s:alist) {
for(String s1:bList) {
My code
}
}
I am getting Java. Util.ConcurrentModification Exception when searched for it and found some solutions on stackoverflow but still I am not able to resolve it. Please help. I am getting exception on second for each loop and I followed one of the solution from stackoverflow that take a temporary list and do addAll when added all data to actual list but still not able to resolve it. After this I have my code which is working fine. I am getting exception in Retrieving through for each loop