servicecomb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [servicecomb-java-chassis] xuzhiweiand opened a new issue #1582: 使用InvokerUtils.syncInvoke调用RPC接口,一直失败,所有RPC接口都报NullPointerException
Date Wed, 19 Feb 2020 08:47:51 GMT
xuzhiweiand opened a new issue #1582: 使用InvokerUtils.syncInvoke调用RPC接口,一直失败,所有RPC接口都报NullPointerException
URL: https://github.com/apache/servicecomb-java-chassis/issues/1582
 
 
   所有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) [?:?]

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


With regards,
Apache Git Services

Mime
View raw message