naziD opened a new issue, #9608: URL: https://github.com/apache/dolphinscheduler/issues/9608
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened TaskDefinition.java When the local params is null or the property value is null in the local param list , it will cause the null point exception in the deserialization of the task definition. Because the `jackson` json lib will use the method `getTaskParamMap` to deserialize the object; ### What you expected to happen When the local params is null or the property value is null in the local param list , the task definition object could be deserialized normally . The `taskParamMap` could be empty HashMap or the map contains null value; ### How to reproduce Case 1 : The `taskParams` doesn't contain `localParams` parameter , which is null; Case 2: The `taskParams` contains `localParams` parameter , whose property element has a null value; ### Anything else _No response_ ### Version 2.0.5 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
