Skip to content

agent报错 #141

@gaofeng36599

Description

@gaofeng36599

ui监控不要信息,agent日志报错如下:
[10:30:37 [bistoury-agent-netty-thread-1] QTraceId[] INFO q.t.b.remoting.netty.RequestHandler] - agent receive request: id=211214.103037.192.168.1.120.21500.1153431, sourceIp=/192.168.1.120:9880, code=301
[10:30:37 [bistoury-agent-netty-thread-1] QTraceId[] INFO q.t.b.agent.common.pid.PidUtils] - get pid by PidBySystemPropertyHandler success, pid is 125833
[10:30:37 [bistoury-agent-netty-thread-1] QTraceId[] INFO q.t.b.remoting.netty.TaskProcessor] - receive host command, id [211214.103037.192.168.1.120.21500.1153431], command [125833]
[10:30:43 [log-agent-exec-2] QTraceId[] ERROR q.t.b.c.host.VirtualMachineUtil] - attach to tomcat vm error
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.(LinuxVirtualMachine.java:106) ~[tools.jar:na]
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63) ~[tools.jar:na]
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208) ~[tools.jar:na]
at qunar.tc.bistoury.commands.host.VirtualMachineUtil.connect(VirtualMachineUtil.java:54) ~[bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask.init(HostTask.java:82) [bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask.access$000(HostTask.java:49) [bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:111) [bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:107) [bistoury-commands-2.0.6.jar:na]
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111) [guava-20.0.jar:na]
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58) [guava-20.0.jar:na]
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75) [guava-20.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_251]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_251]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_251]
[10:30:43 [log-agent-exec-2] QTraceId[] ERROR q.tc.bistoury.commands.host.HostTask] - get MXBean error
java.lang.NullPointerException: null
at qunar.tc.bistoury.commands.host.HostTask.init(HostTask.java:86) ~[bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask.access$000(HostTask.java:49) ~[bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:111) [bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:107) [bistoury-commands-2.0.6.jar:na]
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111) [guava-20.0.jar:na]
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58) [guava-20.0.jar:na]
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75) [guava-20.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_251]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_251]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_251]
[10:30:43 [log-agent-exec-3] QTraceId[] ERROR q.t.b.remoting.netty.TaskProcessor] - host command error, id [211214.103037.192.168.1.120.21500.1153431], command [125833]
java.lang.RuntimeException: java.lang.NullPointerException
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:123) ~[bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:107) ~[bistoury-commands-2.0.6.jar:na]
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111) ~[guava-20.0.jar:na]
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58) ~[guava-20.0.jar:na]
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75) ~[guava-20.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_251]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_251]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_251]
Caused by: java.lang.NullPointerException: null
at qunar.tc.bistoury.commands.host.HostTask.init(HostTask.java:86) ~[bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask.access$000(HostTask.java:49) ~[bistoury-commands-2.0.6.jar:na]
at qunar.tc.bistoury.commands.host.HostTask$1.call(HostTask.java:111) ~[bistoury-commands-2.0.6.jar:na]
... 7 common frames omitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions