subsampling-scale-image-view icon indicating copy to clipboard operation
subsampling-scale-image-view copied to clipboard

Attempt to read from field 'float android.graphics.PointF.x' on a null object reference

Open tom5079 opened this issue 5 years ago • 0 comments

Please provide as much of the following information as possible. Please do not raise issues to ask for help developing your app.

Expected behavior

no NPE

Actual behavior

NPE

Steps to reproduce

It's unclear why it happens, but Firebase reports it affects around 3~5% of the user base. I'm using SSIV through BigImageViewer

image

Seems like SubSamplingScaleImageView.reset() is called when the region marked blue is being processed. It's the only way that this exception can occur.

tom5079 avatar Oct 01 '20 12:10 tom5079