aaronlinv opened a new pull request #7687: URL: https://github.com/apache/dolphinscheduler/pull/7687
<!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.--> ## Purpose of the pull request <!--(For example: This pull request adds checkstyle plugin).--> #7062 The submit method of SwitchTaskProcessor calls the setTaskExecutionLogger method of the super class. The setTaskExecutionLogger method requires the super class member-variable: taskInstance and processInstance, and SwitchTaskProcessor defines member-variable with the same name, which causes the super class member variables to be uninitialized, resulting in a NullPointerException Similar problems exist with conditions and sub-processes ## Brief change log <!--*(for example:)* - *Add maven-checkstyle-plugin to root pom.xml* --> ## Verify this pull request <!--*(Please pick either of the following options)*--> 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: <!--*(example:)* - *Added dolphinscheduler-dao tests for end-to-end.* - *Added CronUtilsTest to verify the change.* - *Manually verified the change by testing locally.* --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
