LiJie20190102 opened a new issue, #13656:
URL: https://github.com/apache/dolphinscheduler/issues/13656

   ### 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
   
   version :3.1.2
   When I delete the resources of a Spark task and start it, the job will fail 
with NullPointerException 
   
   
![aa](https://user-images.githubusercontent.com/53458004/222134066-88c3ac46-5863-404a-b398-fdb736cf6c9e.png)
   
   I have found the problem code, please allow me to submit the code.
   
   ### What you expected to happen
   
   When I delete the resources of a Spark task and start it, the job will fail 
with NullPointerException ,
   
   
![aa](https://user-images.githubusercontent.com/53458004/222134066-88c3ac46-5863-404a-b398-fdb736cf6c9e.png)
   
   I don't think there should be any exception. It should prompt that the 
resource does not exist. I have found the problem code, please allow me to 
submit the code.
   
   ### How to reproduce
   
   1. Create a Spark-type workflow definition, reference a resource (such as 
jar), and then execute the workflow normally;
   
   2. Offline the workflow, delete the resource, go online the workflow, and 
finally execute the workflow.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### 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]

Reply via email to