Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Fix NPE when header values are null #2949

Closed
wants to merge 1 commit into from
Closed

Fix NPE when header values are null #2949

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 26, 2022

This happens to our workflow with optional headers

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • WHOSUSING.md
  • Other (please describe):

Changes in this PR

Fix NPE when optional headers like below are not provided.

"headers": {
    "header1": "${workflow.input.header1}"
}

Alternatives considered

No alternatives considered

This happens to our workflow with optional headers
@ghost ghost marked this pull request as draft April 26, 2022 08:51
@ghost ghost closed this Apr 26, 2022
@ghost ghost reopened this Apr 26, 2022
@ghost ghost marked this pull request as ready for review April 26, 2022 09:50
@ghost
Copy link
Author

ghost commented Apr 26, 2022

@aravindanr @apanicker-nflx I fail to find a way to add you guys as reviewers. Please check this PR when you have time.

@apanicker-nflx
Copy link
Collaborator

@xstas The repo structure has changed and http-task is now housed in its own module. Please rebase and commit.

@muralicmr
Copy link
Contributor

@apanicker-nflx - I have created a new PR #2964 to fix the problem, I was unable to edit this PR. Can we mark this PR as wont fix and merge #2964 instead?

@apanicker-nflx
Copy link
Collaborator

Superseded by #2964

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants