Skip to content

Fix RuntimeException in SkewMatrixHelper when transform map is empty#57125

Open
javache wants to merge 1 commit into
react:mainfrom
javache:export-D107763077
Open

Fix RuntimeException in SkewMatrixHelper when transform map is empty#57125
javache wants to merge 1 commit into
react:mainfrom
javache:export-D107763077

Conversation

@javache

@javache javache commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary:
Fixes a crash (java.lang.RuntimeException via NoSuchElementException) in SkewMatrixHelper.isAffine2DTransformWithSkew and buildAffine2DMatrix when a transform array contains an empty map entry (no keys).

Changelog: [Android][Fixed] Fix crash in SkewMatrixHelper

Differential Revision: D107763077

Summary:
Fixes a crash (`java.lang.RuntimeException` via `NoSuchElementException`) in `SkewMatrixHelper.isAffine2DTransformWithSkew` and `buildAffine2DMatrix` when a transform array contains an empty map entry (no keys).

Changelog: [Android][Fixed] Fix crash in SkewMatrixHelper

Differential Revision: D107763077
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 9, 2026
@meta-codesync

meta-codesync Bot commented Jun 9, 2026

Copy link
Copy Markdown

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107763077.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant