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

When moving to root path null pointer exception is raised #9

Closed
Kyosfonica opened this issue Nov 24, 2018 · 1 comment
Closed

When moving to root path null pointer exception is raised #9

Kyosfonica opened this issue Nov 24, 2018 · 1 comment

Comments

@Kyosfonica
Copy link

Is there a way to prevent the user from moving outside the /storage/emulated/0

On my app when I press up just launching the android folder picker library twice I get a null pointer exception because the app seems to fetch a non existing folder. I do not event press confirm, the exception is raised directly from the library activity

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=Intent { cmp=com.XXXXX/lib.folderpicker.FolderPicker }} to activity {com.XXXXX/com.XXXXXXX.activities.CreateBackupActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:4440)

@Kyosfonica
Copy link
Author

My fault.

I implemented the activity result on the wrong activity.

Sorry.

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