Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/ehowtono/public_html/wp-includes/wp-db.php on line 2030

Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/ehowtono/public_html/wp-includes/wp-db.php on line 2030
Getting “ConcurrentModificationException” while removing elements from ArrayList - eHowToNow

Getting “ConcurrentModificationException” while removing elements from ArrayList

883 views
0

I’m trying to remove elements from an ArrayList while iterating like code given below:

for (String str : myArrayList) {
if (someCondition) {
myArrayList.remove(str);
}
}

I got ConcurrentModificationException when trying to remove element from the list at the same time when iterating myArrayList.

Is there any solution to solve this problem?

Answered question

Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/ehowtono/public_html/wp-includes/wp-db.php on line 2030