Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serial mode will cause NPE in Workflow bootstrap #14703

Merged

Conversation

ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Aug 4, 2023

Purpose of the pull request

close #14698

Brief change log

When the workflow is in serial mode, will return null in handleCommand, will cause NPE, this PR will fix this.

Add todo to split the handleCommand

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@ruanwenjun ruanwenjun added the 3.2.0 for 3.2.0 version label Aug 4, 2023
@ruanwenjun ruanwenjun added this to the 3.2.0 milestone Aug 4, 2023
@ruanwenjun ruanwenjun requested a review from Radeity August 4, 2023 11:36
@sonarcloud
Copy link

sonarcloud bot commented Aug 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

Copy link
Member

@Radeity Radeity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Radeity Radeity added ready-to-merge bug Something isn't working labels Aug 4, 2023
@ruanwenjun ruanwenjun merged commit db62ce0 into apache:dev Aug 4, 2023
51 of 52 checks passed
@ruanwenjun ruanwenjun deleted the dev_wenjun_fixSerialWaitWillCauseNPE branch August 4, 2023 15:44
biaoma-ty pushed a commit to Kasma-Inc/dolphinscheduler that referenced this pull request Aug 17, 2023
zhongjiajie pushed a commit that referenced this pull request Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2.0 for 3.2.0 version backend bug Something isn't working ready-to-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [Master] NPE on Master
2 participants