Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Attempt to invoke virtual method 'android.os.Parcelable android.os.Bundle.getParcelable(java.lang.String)' on a null object reference" #55

Closed
SwallowYourDreams opened this issue Jun 24, 2019 · 1 comment

Comments

@SwallowYourDreams
Copy link

SwallowYourDreams commented Jun 24, 2019

Occurs on:

Device: Samsung Galaxy Note 4 (SM-N910F)
OS: Lineage OS 16 unofficial by kevintm78, Build: lineage_trlte-userdebug 9 PQ2a.190305.002eng.kevint.20190312.063803 test-keys
Configuration: OS encrypted and rooted via su arm
AppOpsX version: 1.2.5

Description

Upon attempting to see the permissions of any app, AppOpsX will show the following error message:

Attempt to invoke virtual method 'android.os.Parcelable android.os.Bundle.getParcelable(java.lang.String)' on a null object reference

Steps to reproduce

  1. Open AppOpsX
  2. Tap on any app

Expected result

Seeing app permissions and being able to toggle them on/off.

What I've attempted to solve the problem

  • Reboot
  • Reinstall AppOpsX
  • Turn on Root compatibility mode in AppOpsX > Settings
  • Turn on ADB mode in AppOpsX > Settings

The problem puzzles me because I have used AppOpsX before and without problems, but at that time I hadn't encrypted the device. My prime suspect is the device encryption.

@SwallowYourDreams
Copy link
Author

Apologies. I wasn't aware that turning on root compatibility mode requires a reboot. After the reboot, it works, although I cannot turn off certain permissions (WiFi / data access). But I suppose that is part of the workaround. I'm closing this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant