Skip to content

NullPointerException after Image Capture #46

@Syed-Affan-Hameed

Description

@Syed-Affan-Hameed

Below is the Error:
" java.lang.RuntimeException: Unable to start activity ComponentInfo{com.labters.documentscannerandroid/com.labters.documentscannerandroid.ImageCropActivity}: java.lang.NullPointerException: contentResolver!!.openIn…odeStream(this)
} must not be null ".
The application works fine when I select the image from the gallery. But when I use camera to capture, the above error comes up in the console.
is this a known issue?, can anyone help me resolve this?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions