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 2020/05/08 16:10:45 UTC

[GitHub] [incubator-dolphinscheduler] WeiYe-Jing opened a new issue #2646: Task manually triggers buildackcommand method setlogpath to throw NullPointerException exception

WeiYe-Jing opened a new issue #2646:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2646


   I download the code for the dev branch, modify the data source configuration, start the project, and run the task. The working server threw the following exception. I haven't made any changes to the logback-worker.xml file. Please help me to see what the problem is? Thanks.
   
   ![image](https://user-images.githubusercontent.com/33245094/81425053-72c0b380-9189-11ea-993a-6b3c02052761.png)
   
   java.lang.NullPointerException: null
   	at org.apache.dolphinscheduler.server.worker.processor.TaskExecuteProcessor.getTaskLogPath(TaskExecuteProcessor.java:123) ~[classes/:na]
   	at org.apache.dolphinscheduler.server.worker.processor.TaskExecuteProcessor.buildAckCommand(TaskExecuteProcessor.java:146) ~[classes/:na]
   	at org.apache.dolphinscheduler.server.worker.processor.TaskExecuteProcessor.doAck(TaskExecuteProcessor.java:111) ~[classes/:na]
   	at org.apache.dolphinscheduler.server.worker.processor.TaskExecuteProcessor.process(TaskExecuteProcessor.java:104) ~[classes/:na]
   	at org.apache.dolphinscheduler.remote.handler.NettyServerHandler$1.run(NettyServerHandler.java:118) ~[classes/:na]
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_121]
   	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [na:1.8.0_121]
   	at java.util.concurrent.FutureTask.run(FutureTask.java) [na:1.8.0_121]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_121]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_121]
   	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] WeiYe-Jing commented on issue #2646: Task manually triggers buildackcommand method setlogpath to throw NullPointerException exception

Posted by GitBox <gi...@apache.org>.
WeiYe-Jing commented on issue #2646:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2646#issuecomment-626089903


   Thank you very much. After adding VM options, the problem was solved.


----------------------------------------------------------------
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.

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