{"action":"opened","issue":{"url":"https://api.github.com/repos/braintree/braintree_android/issues/53","labels_url":"https://api.github.com/repos/braintree/braintree_android/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree_android/issues/53/comments","events_url":"https://api.github.com/repos/braintree/braintree_android/issues/53/events","html_url":"https://github.com/braintree/braintree_android/issues/53","id":112509455,"number":53,"title":"ConcurrentModificationException on com.devicecollector.CollectorProcess.doInBackground","user":{"login":"zinuzoid","id":496209,"avatar_url":"https://avatars.githubusercontent.com/u/496209?v=3","gravatar_id":"","url":"https://api.github.com/users/zinuzoid","html_url":"https://github.com/zinuzoid","followers_url":"https://api.github.com/users/zinuzoid/followers","following_url":"https://api.github.com/users/zinuzoid/following{/other_user}","gists_url":"https://api.github.com/users/zinuzoid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinuzoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinuzoid/subscriptions","organizations_url":"https://api.github.com/users/zinuzoid/orgs","repos_url":"https://api.github.com/users/zinuzoid/repos","events_url":"https://api.github.com/users/zinuzoid/events{/privacy}","received_events_url":"https://api.github.com/users/zinuzoid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T04:19:37Z","updated_at":"2015-10-21T04:19:37Z","closed_at":null,"body":"I use getDeviceData function to collect data and sent to Braintree\r\n```\r\nmBraintreeDeviceData = Braintree.getDeviceData(this);\r\n```\r\nWe got a lot of crash on this ~0.5% of sessions.\r\nNot sure if this related to Braintree but It's cause by library that you included in SDK.\r\n\r\n\r\nCrash log:\r\n```\r\njava.lang.RuntimeException: An error occured while executing doInBackground()\r\n       at android.os.AsyncTask$3.done(AsyncTask.java:300)\r\n       at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)\r\n       at java.util.concurrent.FutureTask.setException(FutureTask.java:222)\r\n       at java.util.concurrent.FutureTask.run(FutureTask.java:242)\r\n       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n       at java.lang.Thread.run(Thread.java:848)\r\nCaused by: java.util.ConcurrentModificationException\r\n       at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)\r\n       at com.devicecollector.CollectorProcess.doInBackground(CollectorProcess.java:102)\r\n       at com.devicecollector.CollectorProcess.doInBackground(CollectorProcess.java:34)\r\n       at android.os.AsyncTask$2.call(AsyncTask.java:288)\r\n       at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n       at java.lang.Thread.run(Thread.java:848)\r\n```"}}