You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launching activity with the Intent/StartActivity will crash the app with a null pointer exception
02-08 15:45:36.311 27680 27680 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
02-08 15:45:36.311 27680 27680 E AndroidRuntime: at com.nbsp.materialfilepicker.ui.FilePickerActivity.onCreateOptionsMenu(FilePickerActivity.java:187)
02-08 15:45:36.311 27680 27680 E AndroidRuntime: at android.app.Activity.onCreatePanelMenu(Activity.java:3396)
02-08 15:45:36.311 27680 27680 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:321)
Launched with:
val intent = Intent( activity, FilePickerActivity::class.java)
intent.putExtra(FilePickerActivity.ARG_FILTER, Pattern.compile(".*\\.txt$"))
startActivityForResult(intent, 1)
FilePickerActivity.java contains a Boolean which is never initialized if ARG_CLOSEABLE is never supplied as an Intent Extra.
The text was updated successfully, but these errors were encountered:
gbak
pushed a commit
to gbak/MaterialFilePicker
that referenced
this issue
Feb 9, 2018
Surely deserves mentioned in on the main page, also fell foul to colorAccent, and colorPrimary etc, needing to be present in main apps resources, took all afternoon.
Launching activity with the Intent/StartActivity will crash the app with a null pointer exception
Launched with:
FilePickerActivity.java contains a Boolean which is never initialized if ARG_CLOSEABLE is never supplied as an Intent Extra.
The text was updated successfully, but these errors were encountered: