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.
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)
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。