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

任务提交至调度: “任务提交异常:null“ #676

Closed
flyysoul opened this issue Aug 4, 2022 · 1 comment
Closed

任务提交至调度: “任务提交异常:null“ #676

flyysoul opened this issue Aug 4, 2022 · 1 comment

Comments

@flyysoul
Copy link
Contributor

flyysoul commented Aug 4, 2022

建议先去浏览下文档和部署常见问题
快速开始
部署常见问题

版本
tag:v1.2.0

场景描述
任务配置完依赖后提交至调度,后端接口报null

日志信息或数据信息

2022-08-04 18:12:07.213 [http-nio-8090-exec-5] ERROR c.d.t.d.controller.develop.DevelopTaskController$3 [APITemplate.java:63] - API Error while execute
com.dtstack.taier.common.exception.RdosDefineException: 任务提交异常:null
        at com.dtstack.taier.develop.service.develop.impl.DevelopTaskService.publishTaskInfo(DevelopTaskService.java:509)
        at com.dtstack.taier.develop.service.develop.impl.DevelopTaskService.publishTask(DevelopTaskService.java:405)
        at com.dtstack.taier.develop.service.develop.impl.DevelopTaskService$$FastClassBySpringCGLIB$$110f35e.invoke(<generated>)
...
Caused by: java.lang.NullPointerException: null
        at com.dtstack.taier.develop.service.develop.impl.DevelopTaskService.buildScheduleTaskShadeDTO(DevelopTaskService.java:619)
        at com.dtstack.taier.develop.service.develop.impl.DevelopTaskService.publishTaskInfo(DevelopTaskService.java:502)
        ... 61 common frames omitted

相关代码

  1. 调用:
    ScheduleTaskShade scheduleTasks = buildScheduleTaskShadeDTO(task, null);
  2. 源头

提示的异常或者没有达到的效果
好像有依赖的任务提交调度就会触发这一步异常。
欢迎提交对应修复的pr
( ̄┰ ̄*)ゞ还没学会怎么提pr

@vainhope
Copy link
Collaborator

vainhope commented Aug 5, 2022

image 这个地方写的有问题
https://chinese.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github/
可以参考一些pr的文章 尝试提下pr
@flyysoul

flyysoul added a commit to flyysoul/Taier that referenced this issue Aug 5, 2022
vainhope added a commit that referenced this issue Aug 5, 2022
@vainhope vainhope closed this as completed Aug 5, 2022
yyl4ever pushed a commit that referenced this issue Oct 10, 2022
yyl4ever pushed a commit that referenced this issue Oct 10, 2022
poxiao8 pushed a commit that referenced this issue Oct 10, 2022
poxiao8 pushed a commit that referenced this issue Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants