litesuits / litesuits/android-lite-http
你们用这个框架的时候有没有报ConcurrentModificationException?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 817
- Forks
- 337
- PR merge metrics
- No merged PRs in 30d
Description
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。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at com.litesuits.http.request.AbstractRequest.reqToString(), using the reported LinkedHashMap stack trace as the entry point. Investigate concurrent access to the request data and verify the issue is resolved by reproducing concurrent calls without a ConcurrentModificationException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100