SINTEF-9012 / bglib

Java implementation of the BGAPI binary protocol for Bluegiga BLE112 Bluetooth low energy modules.
37 stars 14 forks source link

ConcurrentModificationException #10

Open ghost opened 10 years ago

ghost commented 10 years ago

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)

rasendubi commented 10 years ago

Fixed by #11.