Gallardot commented on issue #14825:
URL: 
https://github.com/apache/dolphinscheduler/issues/14825#issuecomment-1695370622

   To view the logs of the task, an exception similar to issue 
[14819](https://github.com/apache/dolphinscheduler/issues/14819) occurred. The 
following is the exception log on the worker.
   
   
   ```
   [ERROR] 2023-08-28 17:25:05.005 +0800 
org.apache.dolphinscheduler.extract.base.server.JdkDynamicServerHandler:[115] - 
[WorkflowInstance-0][TaskInstance-0] - Invoke method public abstract 
org.apache.dolphinscheduler.extract.worker.transportor.TaskInstanceLogPageQueryResponse
 
org.apache.dolphinscheduler.extract.worker.IWorkerLogService.pageQueryTaskInstanceLog(org.apache.dolphinscheduler.extract.worker.transportor.TaskInstanceLogPageQueryRequest)
 failed, null.
   java.lang.reflect.InvocationTargetException: null
        at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.dolphinscheduler.extract.base.server.ServerMethodInvokerImpl.invoke(ServerMethodInvokerImpl.java:39)
        at 
org.apache.dolphinscheduler.extract.base.server.JdkDynamicServerHandler.lambda$processReceived$0(JdkDynamicServerHandler.java:108)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
        at java.util.concurrent.FutureTask.run(FutureTask.java)
        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)
   Caused by: java.lang.NullPointerException: null
        at java.io.File.<init>(File.java:277)
        at 
org.apache.dolphinscheduler.common.utils.LogUtils.readPartFileContent(LogUtils.java:103)
        at 
org.apache.dolphinscheduler.server.worker.rpc.WorkerLogServiceImpl.pageQueryTaskInstanceLog(WorkerLogServiceImpl.java:56)
        ... 11 common frames omitted
   ```
   
   


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