Has anyone seen this exception?


(Geko) #1

One of my apps is throwing this when calling getChildDevice. Does anyone knows WTF is it? I suspect this is due to recent changes in SmartThings cloud because this app was working few weeks ago.

error java.util.ConcurrentModificationException @ line 393

(Tim Slagle) #2

Well…

if (java.util.ConcurrentModificationException) {
object.delete (North.Korea)
}

OMG Geko!! What did you do!?


Honestly though… I have no idea lol


(Ron S) #3

Are you modifying the same collection that you are iterating for some reason within the “body” of the same iteration loop? Adding or removing objects maybe?