[Xposed Framework Modules] danecr7:
Hello guys,

In recent weeks i'm starting to have issues with AppOps. I can't even run it as it closes itself whenever I launch it. See the logcat below.

My device is OnePlus 3 with Freedom OS.

11-26 01:02:39.732 I/ActivityManager(3254): START u0 {act=android.intent.action.MAIN cat=[de.robv.android.xposed.category.MODULE_SETTINGS] flg=0x10000000 pkg=at.jclehner.appopsxposed cmp=at.jclehner.appopsxposed/.SettingsActivity} from uid 10032 pid 7017 on display 0

11-26 01:02:39.775 I/ActivityManager(3254): Start proc 7205:at.jclehner.appopsxposed/u0a75 for activity at.jclehner.appopsxposed/.SettingsActivity

11-26 01:02:39.964 E/AndroidRuntime(7205): Process: at.jclehner.appopsxposed, PID: 7205

11-26 01:02:39.964 E/AndroidRuntime(7205): java.lang.RuntimeException: Unable to start activity ComponentInfo{at.jclehner.appopsxposed/at.jclehner.appopsxposed.SettingsActivity}: java.lang.ArrayIndexOutOfBoundsException: length=64; index=-1

11-26 01:02:39.964 E/AndroidRuntime(7205):	at android.app.AppOpsManager.opToPermission(AppOpsManager.java:1024)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.ObjectWrapper.callInternal(ObjectWrapper.java:139)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.ObjectWrapper.callStatic(ObjectWrapper.java:127)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.AppOpsManagerWrapper.opToPermission(AppOpsManagerWrapper.java:242)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.opLabelFromPermission(OpsLabelHelper.java:255)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:224)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:219)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:141)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabelsOrSummaries(OpsLabelHelper.java:129)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabels(OpsLabelHelper.java:67)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabelOrSummary(OpsLabelHelper.java:202)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabel(OpsLabelHelper.java:51)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.SettingsActivity$SettingsFragment.setupPreferences(SettingsActivity.java:252)

11-26 01:02:39.964 E/AndroidRuntime(7205):	at at.jclehner.appopsxposed.SettingsActivity$SettingsFragment.onCreate(SettingsActivity.java:147)

11-26 01:02:39.971 W/ActivityManager(3254): Force finishing activity at.jclehner.appopsxposed/.SettingsActivity

11-26 01:02:40.015 W/ActivityManager(3254): Dismiss app error dialog : at.jclehner.appopsxposed

11-26 01:02:40.016 W/AppOps (3254): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0

11-26 01:02:40.031 I/ActivityManager(3254): Process at.jclehner.appopsxposed (pid 7205) has died

11-26 01:03:36.278 I/ActivityManager(3254): Start proc 7762:at.jclehner.appopsxposed/u0a75 for broadcast at.jclehner.appopsxposed/.SystemEventReceiver

11-26 01:03:36.312 W/System (7762): ClassLoader referenced unknown path: /data/app/at.jclehner.appopsxposed-1/lib/arm64

11-26 01:03:36.355 V/Theme (7762): ColorMode:at.jclehner.appopsxposed is false

11-26 01:03:47.009 I/ActivityManager(3254): START u0 {flg=0x10018000 cmp=at.jclehner.appopsxposed/.AppOpsActivity (has extras)} from uid 10075 pid -1 on display 0

11-26 01:03:47.116 W/ObjectWrapper(7762): at.jclehner.appopsxposed.util.ObjectWrapper$ReflectiveException: java.lang.NoSuchFieldException: No field OP_LOCK_APP in class Lat/jclehner/appopsxposed/util/AppOpsManagerWrapper; (declaration of 'at.jclehner.appopsxposed.util.AppOpsManagerWrapper' appears in /data/app/at.jclehner.appopsxposed-1/base.apk)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.ObjectWrapper.getStatic(ObjectWrapper.java:82)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.ObjectWrapper.getStatic(ObjectWrapper.java:56)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.AppOpsManagerWrapper.opFromName(AppOpsManagerWrapper.java:327)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.opLabelFromPermission(OpsLabelHelper.java:254)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:224)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:219)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:141)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabelsOrSummaries(OpsLabelHelper.java:129)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpSummaries(OpsLabelHelper.java:63)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at com.android.settings.applications.AppOpsState.<init>(AppOpsState.java:70)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at com.android.settings.applications.AppOpsDetails.onCreate(AppOpsDetails.java:207)

11-26 01:03:47.116 W/ObjectWrapper(7762): Caused by: java.lang.NoSuchFieldException: No field OP_LOCK_APP in class Lat/jclehner/appopsxposed/util/AppOpsManagerWrapper; (declaration of 'at.jclehner.appopsxposed.util.AppOpsManagerWrapper' appears in /data/app/at.jclehner.appopsxposed-1/base.apk)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.ObjectWrapper.getDeclaredField(ObjectWrapper.java:169)

11-26 01:03:47.116 W/ObjectWrapper(7762):	at at.jclehner.appopsxposed.util.ObjectWrapper.getStatic(ObjectWrapper.java:70)

11-26 01:03:47.117 E/AndroidRuntime(7762): Process: at.jclehner.appopsxposed, PID: 7762

11-26 01:03:47.117 E/AndroidRuntime(7762): java.lang.RuntimeException: Unable to start activity ComponentInfo{at.jclehner.appopsxposed/at.jclehner.appopsxposed.AppOpsActivity}: java.lang.ArrayIndexOutOfBoundsException: length=64; index=-1

11-26 01:03:47.117 E/AndroidRuntime(7762):	at android.app.AppOpsManager.opToPermission(AppOpsManager.java:1024)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.ObjectWrapper.callInternal(ObjectWrapper.java:139)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.ObjectWrapper.callStatic(ObjectWrapper.java:127)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.AppOpsManagerWrapper.opToPermission(AppOpsManagerWrapper.java:242)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.opLabelFromPermission(OpsLabelHelper.java:255)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:224)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:219)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:141)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabelsOrSummaries(OpsLabelHelper.java:129)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpSummaries(OpsLabelHelper.java:63)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at com.android.settings.applications.AppOpsState.<init>(AppOpsState.java:70)

11-26 01:03:47.117 E/AndroidRuntime(7762):	at com.android.settings.applications.AppOpsDetails.onCreate(AppOpsDetails.java:207)

11-26 01:03:47.123 W/ActivityManager(3254): Force finishing activity at.jclehner.appopsxposed/.AppOpsActivity

11-26 01:03:47.428 I/WindowManager(3254): Screenshot max retries 4 of Token{fdc7e32 ActivityRecord{46f563d u0 at.jclehner.appopsxposed/.AppOpsActivity t4225 f}} appWin=Window{bcaf773 u0 Starting at.jclehner.appopsxposed} drawState=4, isFingerprintAuthenticating = false

11-26 01:03:47.447 W/ActivityManager(3254): Dismiss app error dialog : at.jclehner.appopsxposed

11-26 01:03:47.447 W/AppOps (3254): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0

11-26 01:03:47.470 I/ActivityManager(3254): Process at.jclehner.appopsxposed (pid 7762) has died

11-26 01:04:43.915 I/ActivityManager(3254): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=at.jclehner.appopsxposed/.LauncherActivity-Icon bnds=[432,1215][648,1541] (has extras)} from uid 10101 pid 4295 on display 0

11-26 01:04:43.999 I/ActivityManager(3254): Start proc 8024:at.jclehner.appopsxposed/u0a75 for activity at.jclehner.appopsxposed/.LauncherActivity-Icon

11-26 01:04:44.021 W/System (8024): ClassLoader referenced unknown path: /data/app/at.jclehner.appopsxposed-1/lib/arm64

11-26 01:04:44.060 V/Theme (8024): ColorMode:at.jclehner.appopsxposed is false

11-26 01:04:44.149 I/ActivityManager(3254): START u0 {flg=0x10018000 cmp=at.jclehner.appopsxposed/.AppOpsActivity} from uid 10075 pid 8024 on display 0

11-26 01:04:44.302 W/ObjectWrapper(8024): at.jclehner.appopsxposed.util.ObjectWrapper$ReflectiveException: java.lang.NoSuchFieldException: No field OP_LOCK_APP in class Lat/jclehner/appopsxposed/util/AppOpsManagerWrapper; (declaration of 'at.jclehner.appopsxposed.util.AppOpsManagerWrapper' appears in /data/app/at.jclehner.appopsxposed-1/base.apk)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.ObjectWrapper.getStatic(ObjectWrapper.java:82)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.ObjectWrapper.getStatic(ObjectWrapper.java:56)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.AppOpsManagerWrapper.opFromName(AppOpsManagerWrapper.java:327)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.opLabelFromPermission(OpsLabelHelper.java:254)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:224)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:219)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:141)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabelsOrSummaries(OpsLabelHelper.java:129)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpSummaries(OpsLabelHelper.java:63)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at com.android.settings.applications.AppOpsState.<init>(AppOpsState.java:70)

11-26 01:04:44.302 W/ObjectWrapper(8024):	at com.android.settings.applications.AppOpsCategory.onCreate(AppOpsCategory.java:328)

11-26 01:04:44.303 E/AndroidRuntime(8024): Process: at.jclehner.appopsxposed, PID: 8024

11-26 01:04:44.303 E/AndroidRuntime(8024):	at android.app.AppOpsManager.opToPermission(AppOpsManager.java:1024)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.ObjectWrapper.callInternal(ObjectWrapper.java:139)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.ObjectWrapper.callStatic(ObjectWrapper.java:127)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.AppOpsManagerWrapper.opToPermission(AppOpsManagerWrapper.java:242)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.opLabelFromPermission(OpsLabelHelper.java:255)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:224)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getFallbackString(OpsLabelHelper.java:219)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:185)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getAppOpsString(OpsLabelHelper.java:141)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpLabelsOrSummaries(OpsLabelHelper.java:129)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at at.jclehner.appopsxposed.util.OpsLabelHelper.getOpSummaries(OpsLabelHelper.java:63)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at com.android.settings.applications.AppOpsState.<init>(AppOpsState.java:70)

11-26 01:04:44.303 E/AndroidRuntime(8024):	at com.android.settings.applications.AppOpsCategory.onCreate(AppOpsCategory.java:328)

11-26 01:04:44.310 W/ActivityManager(3254): Force finishing activity at.jclehner.appopsxposed/.AppOpsActivity

11-26 01:04:44.343 W/ActivityManager(3254): Dismiss app error dialog : at.jclehner.appopsxposed

11-26 01:04:44.344 W/AppOps (3254): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0

11-26 01:04:44.356 I/WindowState(3254): WIN DEATH: Window{ee7e88e u0 at.jclehner.appopsxposed/at.jclehner.appopsxposed.AppOpsActivity}

11-26 01:04:44.356 I/ActivityManager(3254): Process at.jclehner.appopsxposed (pid 8024) has died

11-26 01:04:44.359 I/WindowState(3254): WIN DEATH: Window{a7d1524 u0 at.jclehner.appopsxposed/at.jclehner.appopsxposed.LauncherActivity-Icon}

11-26 01:05:03.783 I/ActivityManager(3254): Start proc 8081:at.jclehner.appopsxposed/u0a75 for broadcast at.jclehner.appopsxposed/.SystemEventReceiver

11-26 01:05:03.807 W/System (8081): ClassLoader referenced unknown path: /data/app/at.jclehner.appopsxposed-1/lib/arm64

11-26 01:05:03.850 V/Theme (8081): ColorMode:at.jclehner.appopsxposed is false

11-26 01:05:48.350 I/Xposed (3760): fsbi >> icon >> notify >> REMOVED >> exists: false >> StatusBarIconView(slot=at.jclehner.appopsxposed/0x275d icon=StatusBarIcon(icon=Icon(typ=RESOURCE pkg=at.jclehner.appopsxposed id=0x7f020007) visible user=0 ) notification=Notification(pri=-1 contentView=at.jclehner.appopsxposed/0x1090085 vibrate=null sound=null defaults=0x0 flags=0x10 color=0x00000000 vis=PRIVATE))