ArthurHub / ArthurHub/Android-Image-Cropper

Attempt to read from field 'int android.graphics.Bitmap$Config.nextInt' on a null object reference

Open
#665 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

First, I select a gif photo from gallery, then to crop the photo with a full size , it will report this problem below :
Attempt to read from field 'int android.graphics.Bitmap$Config.nextInt' on a null object reference.

if the size you croped is not full size, it's woked well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by selecting a GIF from the gallery and cropping it at full size, then compare that with a smaller crop that works. Trace the Android image-cropping flow involved in both cases; done means full-size GIF cropping completes without the reported null-object exception.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.