Skip to content

Fix NullPointerException in PromiseImpl.reject by providing non-null error code [DA-2077]#4

Open
planitar-osergiienko wants to merge 1 commit intomasterfrom
planitar/osergiienko/DA-2077-null-reject-code-fix
Open

Fix NullPointerException in PromiseImpl.reject by providing non-null error code [DA-2077]#4
planitar-osergiienko wants to merge 1 commit intomasterfrom
planitar/osergiienko/DA-2077-null-reject-code-fix

Conversation

@planitar-osergiienko
Copy link
Copy Markdown
Collaborator

PromiseImpl.reject requires a non-null code parameter. The fallback path in reject() was passing null, causing a crash when download errors were neither FileNotFoundException nor IORejectionException.

Related:

…error code

PromiseImpl.reject requires a non-null code parameter. The fallback
path in reject() was passing null, causing a crash when download
errors were neither FileNotFoundException nor IORejectionException.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants