ArthurHub / ArthurHub/Android-Image-Cropper

App crashes when we press crop image button without loading image

Open
#542 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

When i haven't set image on CropImageView and click on Crop Image button, App Crashes with null pointer exception. I have done exceptional handling, but it didn't work. Can you suggest any way to solve this issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash by using CropImageView without setting an image and then pressing the Crop Image button. Start by tracing the button action into CropImageView and identify the null pointer path. Done means the no-image case no longer crashes and its intended handling is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.