bglib
bglib copied to clipboard
ConcurrentModificationException
There is an exception that started happening to me. Since it happen on library level hope that you could fix that. Did anybody else met that too ? Exception in thread "Thread-3" java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859) at java.util.ArrayList$Itr.next(ArrayList.java:831) at org.thingml.bglib.BGAPI.receive_attclient_attribute_value(BGAPI.java:675) at org.thingml.bglib.BGAPI.receive_attclient_evt(BGAPI.java:193) at org.thingml.bglib.BGAPI.packetReceived(BGAPI.java:73) at org.thingml.bglib.BGAPITransport.run(BGAPITransport.java:121) at java.lang.Thread.run(Thread.java:744)
Fixed by #11.