You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/04/20 06:08:23 UTC

[GitHub] [dolphinscheduler] naziD opened a new issue, #9608: [Bug] [DAO] Due to the task param map, deserialize the task definition failed

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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #9608: [Bug] [DAO] Due to the task param map, deserialize the task definition failed

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #9608:
URL: https://github.com/apache/dolphinscheduler/issues/9608#issuecomment-1103506840

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw) and send your question to channel `#troubleshooting`


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] caishunfeng closed issue #9608: [Bug] [DAO] Due to the task param map, serialize the task definition failed

Posted by GitBox <gi...@apache.org>.
caishunfeng closed issue #9608: [Bug] [DAO] Due to the task param map, serialize the task definition failed
URL: https://github.com/apache/dolphinscheduler/issues/9608


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org