NullPointerException
See original GitHub issueFatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method ‘android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)’ on a null object reference at android.support.v4.content.FileProvider.parsePathStrategy(SourceFile:583) at android.support.v4.content.FileProvider.getPathStrategy(SourceFile:557) at android.support.v4.content.FileProvider.getUriForFile(SourceFile:399) at com.kbeanie.multipicker.core.ImagePickerImpl.takePictureWithCamera(SourceFile:144) at com.kbeanie.multipicker.core.ImagePickerImpl.pick(SourceFile:120) at com.kbeanie.multipicker.api.CameraImagePicker.pickImage(SourceFile:74)
On:
cameraImageCaptureHandler = new CameraImagePicker(this); cameraImageCaptureHandler.setImagePickerCallback(this); cameraImageCaptureHandler.shouldGenerateThumbnails(false); cameraImageCaptureHandler.shouldGenerateMetadata(false); cameraPickingPath = cameraImageCaptureHandler.pickImage();
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
Is the fix included in 1.1.31?
I’m seeing this issue still in 1.1.4-beta