所有RPC调用都报空指针,异常来源于servicecomb
2020-02-18 00:04:18,280Z | ERROR | pool-48-thread-4 | InvokerUtils | | com.huawei.m2m.cig.rpcservice | invoke failed,
java.lang.NullPointerException: null
at org.apache.servicecomb.core.Invocation.initTraceId(Invocation.java:248) ~[98:com.huawei.m2m.cig.rpcservice:20.2.3]
at org.apache.servicecomb.core.Invocation.onStart(Invocation.java:280) ~[98:com.huawei.m2m.cig.rpcservice:20.2.3]
at org.apache.servicecomb.core.Invocation.onStart(Invocation.java:286) ~[98:com.huawei.m2m.cig.rpcservice:20.2.3]
at org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:68) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at org.apache.servicecomb.core.provider.consumer.InvokerUtils.syncInvoke(InvokerUtils.java:54) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at org.apache.servicecomb.core.provider.consumer.InvokerUtils.syncInvoke(InvokerUtils.java:37) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at com.huawei.m2m.cig.rpcservice.iocm.IocmCmService.queryCertificatesByPage(IocmCmService.java:184) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at com.huawei.m2m.cig.rpcservice.iocm.IocmCmService.queryCertificates(IocmCmService.java:153) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at com.huawei.m2m.cig.rpcservice.cert.DeviceCaCerMgr.loadCaCert(DeviceCaCerMgr.java:81) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at com.huawei.m2m.cig.rpcservice.cert.DeviceCaCerMgr.access$000(DeviceCaCerMgr.java:37) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at com.huawei.m2m.cig.rpcservice.cert.DeviceCaCerMgr$1.run(DeviceCaCerMgr.java:60) [98:com.huawei.m2m.cig.rpcservice:20.2.3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
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) [?:?]
2020-02-18 00:04:18,280Z | ERROR | pool-42-thread-1 | InvokerUtils | | com.huawei.m2m.cig.rpcservice | invoke failed,
java.lang.NullPointerException: null
at org.apache.servicecomb.core.Invocation.initTraceId(Invocation.java:248) ~[?:?]
at org.apache.servicecomb.core.Invocation.onStart(Invocation.java:280) ~[?:?]
at org.apache.servicecomb.core.Invocation.onStart(Invocation.java:286) ~[?:?]
at org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:68) ~[?:?]
at org.apache.servicecomb.core.provider.consumer.InvokerUtils.syncInvoke(InvokerUtils.java:54) ~[?:?]
at org.apache.servicecomb.core.provider.consumer.InvokerUtils.syncInvoke(InvokerUtils.java:37) ~[?:?]
at com.huawei.m2m.cig.rpcservice.mongo.IocmDeviceAppService.findOneByDeviceId(IocmDeviceAppService.java:46) ~[?:?]
at com.huawei.m2m.cig.service.connectionInfo.MqttInfo.addConnectionInfo(MqttInfo.java:31) ~[?:?]
at com.huawei.m2m.cig.mqtt.server.MqttMessageHandler.onConnect(MqttMessageHandler.java:167) ~[?:?]
at io.moquette.spi.impl.BrokerInterceptor.lambda$notifyClientConnected$0(BrokerInterceptor.java:99) ~[?:?]
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) [?:?]