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

com.just.agentweb.AgentActionFragment.onRequestPermissionsResult java.lang.NullPointerException #1062

Open
kuyu132 opened this issue May 6, 2024 · 0 comments

Comments

@kuyu132
Copy link

kuyu132 commented May 6, 2024

@OverRide
public void onRequestPermissionsResult(int requestCode, @nonnull String[] permissions, @nonnull int[] grantResults) {
if (mAction.getPermissionListener() != null) {
Bundle mBundle = new Bundle();
mBundle.putInt(KEY_FROM_INTENTION, mAction.getFromIntention());
mAction.getPermissionListener().onRequestPermissionsResult(permissions, grantResults, mBundle);
}
resetAction();
}

com.just.agentweb.AgentActionFragment.onRequestPermissionsResult
java.lang.NullPointerException - Attempt to invoke virtual method 'com.just.agentweb.AgentActionFragment$b com.just.agentweb.c.e()' on a null object reference

mAction.getPermissionListener()可能为空,需要判断一下

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