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/05/13 01:36:08 UTC
[GitHub] [dolphinscheduler] zhenglibao168 opened a new issue, #10019: [Bug] [Module Name] 执行任务报空指针
zhenglibao168 opened a new issue, #10019:
URL: https://github.com/apache/dolphinscheduler/issues/10019
### 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
[INFO] 2022-05-13 01:17:54.787 TaskLogLogger-class org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[113] - task ready to submit: TaskInstance{id=1, name='dataqa', taskType='DATA_QUALITY', processInstanceId=1, processInstanceName='null', state=SUBMITTED_SUCCESS, firstSubmitTime=Fri May 13 01:17:54 UTC 2022, submitTime=Fri May 13 01:17:54 UTC 2022, startTime=null, endTime=null, host='null', executePath='null', logPath='null', retryTimes=0, alertFlag=NO, processInstance=ProcessInstance{id=1, state=RUNNING_EXECUTION, recovery=NO, startTime=Fri May 13 01:17:54 UTC 2022, endTime=null, runTimes=1, name='workflow01-1-20220513011754743', host='192.168.121.222:5678', processDefinition=ProcessDefinition{id=1, code=5500700871200, name='workflow01', version=1, releaseState=ONLINE, projectCode=5500682021792, description='', globalParams='[]', globalParamList=[], globalParamMap=null, createTime=Fri May 13 01:17:05 UTC 2022, updateTime=Fri May 13 01:17:05 UTC 2022, flag=
YES, userId=1, userName='null', projectName='null', locations='[{"taskCode":5500690649888,"x":114,"y":158}]', scheduleReleaseState=null, timeout=0, tenantId=1, tenantCode='null', modifyBy='null', warningGroupId=0}, commandType=START_PROCESS, commandParam='{}', taskDependType=TASK_POST, maxTryTimes=0, failureStrategy=CONTINUE, warningType=ALL, warningGroupId=2, scheduleTime=null, commandStartTime=Fri May 13 01:17:53 UTC 2022, globalParams='null', executorId=1, tenantCode='null', queue='null', isSubProcess=NO, locations='[{"taskCode":5500690649888,"x":114,"y":158}]', historyCmd='START_PROCESS', dependenceScheduleTimes='null', duration=null, processInstancePriority=HIGHEST, workerGroup='work01', timeout=0, tenantId=1, processDefinitionCode='5500700871200', processDefinitionVersion='1', dryRun='0'}, restartTime='Fri May 13 01:17:54 UTC 2022', isBlocked=false}, processDefine=ProcessDefinition{id=1, code=5500700871200, name='workflow01', version=1, releaseState=ONLINE, projectCode=5500682
021792, description='', globalParams='[]', globalParamList=[], globalParamMap=null, createTime=Fri May 13 01:17:05 UTC 2022, updateTime=Fri May 13 01:17:05 UTC 2022, flag=YES, userId=1, userName='null', projectName='null', locations='[{"taskCode":5500690649888,"x":114,"y":158}]', scheduleReleaseState=null, timeout=0, tenantId=1, tenantCode='null', modifyBy='null', warningGroupId=0}, pid=0, appLink='null', flag=YES, dependency='null', duration=null, maxRetryTimes=0, retryInterval=1, taskInstancePriority=HIGHEST, processInstancePriority=HIGHEST, dependentResult='null', workerGroup='work01', environmentCode=-1, environmentConfig='null', executorId=1, executorName='null', delayTime=0, dryRun=0}
[ERROR] 2022-05-13 01:17:54.819 TaskLogLogger-class org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[126] - submit task error
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.getDefaultDataSource(BaseTaskProcessor.java:461)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.setWriterConfig(BaseTaskProcessor.java:488)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.setDataQualityTaskRelation(BaseTaskProcessor.java:388)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.getTaskExecutionContext(BaseTaskProcessor.java:279)
at org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor.dispatchTask(CommonTaskProcessor.java:119)
at org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor.submitTask(CommonTaskProcessor.java:70)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.submit(BaseTaskProcessor.java:193)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.action(BaseTaskProcessor.java:179)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitTaskExec(WorkflowExecuteThread.java:970)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitStandByTask(WorkflowExecuteThread.java:1810)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:1326)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:787)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[INFO] 2022-05-13 01:17:54.820 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1715] - remove task from stand by list, id: 1 name:dataqa
[INFO] 2022-05-13 01:17:56.407 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[90] - REQUEST TRACE_ID:30a2b548-a595-401b-8d39-f2c29a31dcaf, LOGIN_USER:admin, URI:/dolphinscheduler/projects/5500682021792/process-instances, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.ProcessInstanceController.queryProcessInstanceList, ARGS:{processDefineCode=0, executorName=null, searchVal=null, projectCode=5500682021792, pageNo=1, stateType=null, host=null, pageSize=10, startTime=null, endTime=null}
### What you expected to happen
提交任务成功
### How to reproduce
提交一个数据质量空值规则的任务
### Anything else
_No response_
### Version
3.0.0-alpha
### Are you willing to submit PR?
- [ ] 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] SbloodyS commented on issue #10019: [Bug]execute task report null pointer
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10019:
URL: https://github.com/apache/dolphinscheduler/issues/10019#issuecomment-1125679931
Related pr: #10021
--
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] SbloodyS commented on issue #10019: [Bug]execute task report null pointer
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10019:
URL: https://github.com/apache/dolphinscheduler/issues/10019#issuecomment-1129640939
This issue has been fixed in #9974. I will close this.
--
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] SbloodyS closed issue #10019: [Bug]execute task report null pointer
Posted by GitBox <gi...@apache.org>.
SbloodyS closed issue #10019: [Bug]execute task report null pointer
URL: https://github.com/apache/dolphinscheduler/issues/10019
--
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] github-actions[bot] commented on issue #10019: [Bug] [Module Name] execute task report null pointer
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10019:
URL: https://github.com/apache/dolphinscheduler/issues/10019#issuecomment-1125572698
### 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
[INFO] 2022-05-13 01:17:54.787 TaskLogLogger-class org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[113] - task ready to submit: TaskInstance{id=1, name='dataqa', taskType='DATA_QUALITY', processInstanceId=1, processInstanceName='null', state=SUBMITTED_SUCCESS, firstSubmitTime=Fri May 13 01:17:54 UTC 2022, submitTime=Fri May 13 01:17:54 UTC 2022, startTime=null, endTime=null, host='null', executePath='null', logPath='null', retryTimes=0, alertFlag=NO, processInstance=ProcessInstance{id=1, state=RUNNING_EXECUTION, recovery=NO, startTime=Fri May 13 01:17:54 UTC 2022, endTime=null, runTimes=1, name='workflow01-1-20220513011754743', host='192.168.121.222:5678', processDefinition=ProcessDefinition{id=1, code=5500700871200, name='workflow01', version=1, releaseState=ONLINE, projectCode=5500682021792, description='', globalParams='[]', globalParamList=[], globalParamMap=null, createTime=Fri May 13 01:17:05 UTC 2022, updateTime=Fri May 13 01:17:05 UTC 2022, flag=
YES, userId=1, userName='null', projectName='null', locations='[{"taskCode":5500690649888,"x":114,"y":158}]', scheduleReleaseState=null, timeout=0, tenantId=1, tenantCode='null', modifyBy='null', warningGroupId=0}, commandType=START_PROCESS, commandParam='{}', taskDependType=TASK_POST, maxTryTimes=0, failureStrategy=CONTINUE, warningType=ALL, warningGroupId=2, scheduleTime=null, commandStartTime=Fri May 13 01:17:53 UTC 2022, globalParams='null', executorId=1, tenantCode='null', queue='null', isSubProcess=NO, locations='[{"taskCode":5500690649888,"x":114,"y":158}]', historyCmd='START_PROCESS', dependenceScheduleTimes='null', duration=null, processInstancePriority=HIGHEST, workerGroup='work01', timeout=0, tenantId=1, processDefinitionCode='5500700871200', processDefinitionVersion='1', dryRun='0'}, restartTime='Fri May 13 01:17:54 UTC 2022', isBlocked=false}, processDefine=ProcessDefinition{id=1, code=5500700871200, name='workflow01', version=1, releaseState=ONLINE, projectCode=5500682
021792, description='', globalParams='[]', globalParamList=[], globalParamMap=null, createTime=Fri May 13 01:17:05 UTC 2022, updateTime=Fri May 13 01:17:05 UTC 2022, flag=YES, userId=1, userName='null', projectName='null', locations='[{"taskCode":5500690649888,"x":114,"y":158}]', scheduleReleaseState=null, timeout=0, tenantId=1, tenantCode='null', modifyBy='null', warningGroupId=0}, pid=0, appLink='null', flag=YES, dependency='null', duration=null, maxRetryTimes=0, retryInterval=1, taskInstancePriority=HIGHEST, processInstancePriority=HIGHEST, dependentResult='null', workerGroup='work01', environmentCode=-1, environmentConfig='null', executorId=1, executorName='null', delayTime=0, dryRun=0}
[ERROR] 2022-05-13 01:17:54.819 TaskLogLogger-class org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[126] - submit task error
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.getDefaultDataSource(BaseTaskProcessor.java:461)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.setWriterConfig(BaseTaskProcessor.java:488)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.setDataQualityTaskRelation(BaseTaskProcessor.java:388)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.getTaskExecutionContext(BaseTaskProcessor.java:279)
at org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor.dispatchTask(CommonTaskProcessor.java:119)
at org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor.submitTask(CommonTaskProcessor.java:70)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.submit(BaseTaskProcessor.java:193)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.action(BaseTaskProcessor.java:179)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitTaskExec(WorkflowExecuteThread.java:970)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitStandByTask(WorkflowExecuteThread.java:1810)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:1326)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:787)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[INFO] 2022-05-13 01:17:54.820 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1715] - remove task from stand by list, id: 1 name:dataqa
[INFO] 2022-05-13 01:17:56.407 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[90] - REQUEST TRACE_ID:30a2b548-a595-401b-8d39-f2c29a31dcaf, LOGIN_USER:admin, URI:/dolphinscheduler/projects/5500682021792/process-instances, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.ProcessInstanceController.queryProcessInstanceList, ARGS:{processDefineCode=0, executorName=null, searchVal=null, projectCode=5500682021792, pageNo=1, stateType=null, host=null, pageSize=10, startTime=null, endTime=null}
### What you expected to happen
提交任务成功
### How to reproduce
提交一个数据质量空值规则的任务
### Anything else
_No response_
### Version
3.0.0-alpha
### Are you willing to submit PR?
- [ ] 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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10019: [Bug] [Module Name] execute task report null pointer
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10019:
URL: https://github.com/apache/dolphinscheduler/issues/10019#issuecomment-1125572783
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 commented on issue #10019: [Bug]execute task report null pointer
Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #10019:
URL: https://github.com/apache/dolphinscheduler/issues/10019#issuecomment-1129639740
Hi @zhenglibao168 can you submit a pr to fix this issue?
--
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