[sip-comm-dev] ConcurentModificationException in the history


#1

Hi,

While playing with the history today on multiple occasions I've received the following ConcurentModificationException:

[java] Exception in thread "Thread-34" java.util.ConcurrentModificationException
     [java] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
     [java] at java.util.AbstractList$Itr.next(AbstractList.java:420)
     [java] at net.java.sip.communicator.impl.history.HistoryReaderImpl.fireProgressStateChanged(HistoryReaderImpl.java:576)
     [java] at net.java.sip.communicator.impl.history.HistoryReaderImpl.find(HistoryReaderImpl.java:348)
     [java] at net.java.sip.communicator.impl.history.HistoryReaderImpl.findByPeriod(HistoryReaderImpl.java:85)
     [java] at net.java.sip.communicator.impl.msghistory.MessageHistoryServiceImpl.findByPeriod(MessageHistoryServiceImpl.java:173)
     [java] at net.java.sip.communicator.impl.gui.main.message.history.HistoryWindow$MessagesLoader.run(HistoryWindow.java:512)

I think this synchronization problem appears now because the queries to the history are now invoked in separate threads.

Yana

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net