You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LinkedList used in some classes is not synchronized. As these lists may be accessed by more than one thread the iterator will throw ConcurrentModificationExceptions causing the application to "force close".
The relevant parts that access these list have to be synchronized or another list implementation has to be used.
The exception is currently always thrown at this part of the code:
for (Message message : conversation.getHistory()) {
messages.add(message.renderTextView(context));
}
The LinkedList used in some classes is not synchronized. As these lists may be accessed by more than one thread the iterator will throw ConcurrentModificationExceptions causing the application to "force close".
The relevant parts that access these list have to be synchronized or another list implementation has to be used.
See: http://java.sun.com/javase/6/docs/api/java/util/LinkedList.html
The text was updated successfully, but these errors were encountered: