litesuits / android-lite-http

LiteHttp is a simple, intelligent and flexible HTTP framework for Android. With LiteHttp you can make HTTP request with only one line of code! It could convert a java model to the parameter and rander the response JSON as a java model intelligently.
http://litesuits.com?form=ghttp
Apache License 2.0
830 stars 347 forks source link

你们用这个框架的时候有没有报ConcurrentModificationException? #31

Open feiyuu opened 7 years ago

feiyuu commented 7 years ago

java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:346) at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:375) at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:375) at com.litesuits.http.request.AbstractRequest.reqToString(AbstractRequest.java) at com.litesuits.http.request.AbstractRequest.toString(AbstractRequest.java) at java.lang.StringBuilder.append(StringBuilder.java:202)

感觉是reqToString中没有做线程安全处理导致,现在这个bug友盟每天都报,是我这个项目里最大的bug。

feiyuu commented 7 years ago

已经联系作者解决