java.lang.NoSuchFieldException: No field mResId in class ...
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Using Lineagos 17.1 for microg self build with the official serranoltexx repo from lineageos (where GCM is not working...will post an issue maybe eventually).
When opening just any View in microG settings app the follow exception is thrown:
03-17 00:21:25.261 1405 1405 W System.err: java.lang.NoSuchFieldException: No field mResId in class Landroid/support/v7/preference/h$c; (declaration of 'android.support.v7.preference.h$c' appears in /system/priv-app/GmsCore/GmsCore.apk)
03-17 00:21:25.261 1405 1405 W System.err: at java.lang.Class.getDeclaredField(Native Method)
03-17 00:21:25.261 1405 1405 W System.err: at com.takisoft.fix.support.v7.preference.d.f(Unknown Source:8)
03-17 00:21:25.261 1405 1405 W System.err: at com.takisoft.fix.support.v7.preference.d.<init>(Unknown Source:23)
03-17 00:21:25.261 1405 1405 W System.err: at com.takisoft.fix.support.v7.preference.c.onCreateAdapter(Unknown Source:2)
03-17 00:21:25.261 1405 1405 W System.err: at android.support.v7.preference.g.bindPreferences(Unknown Source:10)
03-17 00:21:25.261 1405 1405 W System.err: at android.support.v7.preference.g.onViewCreated(Unknown Source:26)
03-17 00:21:25.261 1405 1405 W System.err: at android.support.v4.app.m.a(Unknown Source:608)
03-17 00:21:25.261 1405 1405 W System.err: at android.support.v4.app.m.h(Unknown Source:38)
03-17 00:21:25.261 1405 1405 W System.err: at android.support.v4.app.m.a(Unknown Source:46)
03-17 00:21:25.261 1405 1405 W System.err: at android.support.v4.app.c.e(Unknown Source:165)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.m.a(Unknown Source:38)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.m.b(Unknown Source:114)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.m.c(Unknown Source:88)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.m.o(Unknown Source:21)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.m.d(Unknown Source:9)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.m.e(Unknown Source:6)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.j.a(Unknown Source:4)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v4.app.h.onStart(Unknown Source:15)
03-17 00:21:25.262 1405 1405 W System.err: at android.support.v7.app.e.onStart(Unknown Source:0)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1432)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.Activity.performStart(Activity.java:7847)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3294)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
03-17 00:21:25.262 1405 1405 W System.err: at android.os.Handler.dispatchMessage(Handler.java:107)
03-17 00:21:25.262 1405 1405 W System.err: at android.os.Looper.loop(Looper.java:214)
03-17 00:21:25.262 1405 1405 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7356)
03-17 00:21:25.262 1405 1405 W System.err: at java.lang.reflect.Method.invoke(Native Method)
03-17 00:21:25.263 1405 1405 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-17 00:21:25.263 1405 1405 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
cheers
Martin
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 by reproducing the exception when opening a View in the microG settings app on LineageOS 17.1, then trace the reported com.takisoft.fix.support.v7.preference.d call in the stack trace. Done means the settings View opens without the NoSuchFieldException; the payload names no source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100