回调中修改,也会出问题,报错如下
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
java.lang.NoSuchFieldError: No instance field apZ of type Ljava/lang/Object; in class Lcom/_/b/bs; or its superclasses (declaration of 'com._.b.bs' appears in /data/app/com._/base.apk)
at com._.activity.cb_CF.onSuccess(x.java:93)
at com.*.b.f.onSuccess(AbstractRestClient.java:241)
at com.loopj.android.http.JsonHttpResponseHandler$1$1.run(JsonHttpResponseHandler.java:126)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6872)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the callback stack from com._.activity.cb_CF.onSuccess(x.java:93) through AbstractRestClient.java:241 and JsonHttpResponseHandler.java:126. Reproduce the Android callback scenario and determine why it raises the reported NoSuchFieldError; done means the same callback completes without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100