You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shenyu.apache.org by xy <18...@163.com> on 2021/05/18 09:43:39 UTC

subscribeRpcTypeService error

I can run shenyu-admin locally, but exception occured  in ECS with jar, how to resolve?   I run it in ECS with this command: java -jar shenyu-admin.jar --spring.profiles.active=test2


2021-05-18 17:22:08 [main] INFO  org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository - subscribe uri : shenyu.register.service.dubbo
2021-05-18 17:22:08 [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent] ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback exception: 
java.lang.NullPointerException: null
at org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
at org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
at com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
at com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
at com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
at com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
at com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
at com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
at com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
2021-05-18 17:22:08 [main] INFO  org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository - subscribe uri : shenyu.register.service.grpc
2021-05-18 17:22:08 [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent] ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback exception: 
java.lang.NullPointerException: null
at org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
at org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
at com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
at com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
at com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
at com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
at com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
at com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
at com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)




Re:Re: Re: subscribeRpcTypeService error

Posted by xy <18...@163.com>.
My client is springcloud,  I can run successfully  in my local 
admin config:
shenyu:
register: 
registerType: nacos #http #zookeeper #etcd #nacos #consul
serverLists: http://mse-8b50f286-p.nacos-ans.mse.aliyuncs.com:8848
props:
nacosNameSpace: 1fb15a33-bbd4-4b91-ad9d-4d2f31543504
database:
dialect: mysql
init_script: "META-INF/schema.sql"
init_enable: true
  sync:
websocket:
enabled: true


















At 2021-05-18 18:32:18, "XiaoYu" <xi...@apache.org> wrote:
>Hi
>
>you rpc client is dubbo?  or spring cloud,  we should checked  this,  maybe
>this is bug .
>
>xy <18...@163.com> 于2021年5月18日周二 下午6:30写道:
>
>> master 2.3.1
>> what does it mean: can you used spring cloud proxy?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
>> >Hi
>> >
>> >can you used spring cloud proxy?  what  version  by shenyu?
>> >
>> >xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
>> >
>> >> I can run shenyu-admin locally, but exception occured  in ECS with jar,
>> >> how to resolve?   I run it in ECS with this command: java -jar
>> >> shenyu-admin.jar --spring.profiles.active=test2
>> >>
>> >>
>> >> 2021-05-18 17:22:08 [main] INFO
>> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
>> >> subscribe uri : shenyu.register.service.dubbo
>> >> 2021-05-18 17:22:08
>> >>
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> >> exception:
>> >> java.lang.NullPointerException: null
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> >> 2021-05-18 17:22:08 [main] INFO
>> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
>> >> subscribe uri : shenyu.register.service.grpc
>> >> 2021-05-18 17:22:08
>> >>
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> >> exception:
>> >> java.lang.NullPointerException: null
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> >>
>> >>
>> >>
>> >>
>>

Re: Re: Re: subscribeRpcTypeService error

Posted by XiaoYu <xi...@apache.org>.
Hi

if you local no problem, please check you config and environment

thanks~

xy <18...@163.com> 于2021年5月18日周二 下午7:55写道:

> I didn't event  start my client, I only started shenyu-admin, and it can't
> start
>
>
> At 2021-05-18 19:20:40, "wei liu" <lw...@apache.org> wrote:
> >can you give the client config of the client appllication.
> >
> >XiaoYu <xi...@apache.org> 于2021年5月18日周二 下午6:32写道:
> >
> >> Hi
> >>
> >> you rpc client is dubbo?  or spring cloud,  we should checked  this,
> maybe
> >> this is bug .
> >>
> >> xy <18...@163.com> 于2021年5月18日周二 下午6:30写道:
> >>
> >> > master 2.3.1
> >> > what does it mean: can you used spring cloud proxy?
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
> >> > >Hi
> >> > >
> >> > >can you used spring cloud proxy?  what  version  by shenyu?
> >> > >
> >> > >xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
> >> > >
> >> > >> I can run shenyu-admin locally, but exception occured  in ECS with
> >> jar,
> >> > >> how to resolve?   I run it in ECS with this command: java -jar
> >> > >> shenyu-admin.jar --spring.profiles.active=test2
> >> > >>
> >> > >>
> >> > >> 2021-05-18 17:22:08 [main] INFO
> >> > >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository
> >> -
> >> > >> subscribe uri : shenyu.register.service.dubbo
> >> > >> 2021-05-18 17:22:08
> >> > >>
> >> >
> >>
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> >> > >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> >> > >> exception:
> >> > >> java.lang.NullPointerException: null
> >> > >> at
> >> > >>
> >> >
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> >> > >> at
> >> > >>
> >> >
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> >> > >> 2021-05-18 17:22:08 [main] INFO
> >> > >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository
> >> -
> >> > >> subscribe uri : shenyu.register.service.grpc
> >> > >> 2021-05-18 17:22:08
> >> > >>
> >> >
> >>
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> >> > >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> >> > >> exception:
> >> > >> java.lang.NullPointerException: null
> >> > >> at
> >> > >>
> >> >
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> >> > >> at
> >> > >>
> >> >
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> >> > >> at
> >> > >>
> >> >
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> >
> >>
>

Re:Re: Re: subscribeRpcTypeService error

Posted by xy <18...@163.com>.
I didn't event  start my client, I only started shenyu-admin, and it can't start


At 2021-05-18 19:20:40, "wei liu" <lw...@apache.org> wrote:
>can you give the client config of the client appllication.
>
>XiaoYu <xi...@apache.org> 于2021年5月18日周二 下午6:32写道:
>
>> Hi
>>
>> you rpc client is dubbo?  or spring cloud,  we should checked  this,  maybe
>> this is bug .
>>
>> xy <18...@163.com> 于2021年5月18日周二 下午6:30写道:
>>
>> > master 2.3.1
>> > what does it mean: can you used spring cloud proxy?
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
>> > >Hi
>> > >
>> > >can you used spring cloud proxy?  what  version  by shenyu?
>> > >
>> > >xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
>> > >
>> > >> I can run shenyu-admin locally, but exception occured  in ECS with
>> jar,
>> > >> how to resolve?   I run it in ECS with this command: java -jar
>> > >> shenyu-admin.jar --spring.profiles.active=test2
>> > >>
>> > >>
>> > >> 2021-05-18 17:22:08 [main] INFO
>> > >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository
>> -
>> > >> subscribe uri : shenyu.register.service.dubbo
>> > >> 2021-05-18 17:22:08
>> > >>
>> >
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> > >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> > >> exception:
>> > >> java.lang.NullPointerException: null
>> > >> at
>> > >>
>> >
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> > >> at
>> > >>
>> >
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> > >> 2021-05-18 17:22:08 [main] INFO
>> > >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository
>> -
>> > >> subscribe uri : shenyu.register.service.grpc
>> > >> 2021-05-18 17:22:08
>> > >>
>> >
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> > >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> > >> exception:
>> > >> java.lang.NullPointerException: null
>> > >> at
>> > >>
>> >
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> > >> at
>> > >>
>> >
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> > >> at
>> > >>
>> >
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> > >>
>> > >>
>> > >>
>> > >>
>> >
>>

Re: Re: subscribeRpcTypeService error

Posted by wei liu <lw...@apache.org>.
can you give the client config of the client appllication.

XiaoYu <xi...@apache.org> 于2021年5月18日周二 下午6:32写道:

> Hi
>
> you rpc client is dubbo?  or spring cloud,  we should checked  this,  maybe
> this is bug .
>
> xy <18...@163.com> 于2021年5月18日周二 下午6:30写道:
>
> > master 2.3.1
> > what does it mean: can you used spring cloud proxy?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
> > >Hi
> > >
> > >can you used spring cloud proxy?  what  version  by shenyu?
> > >
> > >xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
> > >
> > >> I can run shenyu-admin locally, but exception occured  in ECS with
> jar,
> > >> how to resolve?   I run it in ECS with this command: java -jar
> > >> shenyu-admin.jar --spring.profiles.active=test2
> > >>
> > >>
> > >> 2021-05-18 17:22:08 [main] INFO
> > >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository
> -
> > >> subscribe uri : shenyu.register.service.dubbo
> > >> 2021-05-18 17:22:08
> > >>
> >
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> > >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> > >> exception:
> > >> java.lang.NullPointerException: null
> > >> at
> > >>
> >
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> > >> at
> > >>
> >
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> > >> at
> > >>
> >
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> > >> at
> > >>
> >
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> > >> 2021-05-18 17:22:08 [main] INFO
> > >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository
> -
> > >> subscribe uri : shenyu.register.service.grpc
> > >> 2021-05-18 17:22:08
> > >>
> >
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> > >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> > >> exception:
> > >> java.lang.NullPointerException: null
> > >> at
> > >>
> >
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> > >> at
> > >>
> >
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> > >> at
> > >>
> >
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> > >> at
> > >>
> >
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> > >> at
> > >>
> >
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> > >>
> > >>
> > >>
> > >>
> >
>

Re:Re: Re: subscribeRpcTypeService error

Posted by xy <18...@163.com>.
Could it be a Maven package problem?














At 2021-05-18 18:32:18, "XiaoYu" <xi...@apache.org> wrote:
>Hi
>
>you rpc client is dubbo?  or spring cloud,  we should checked  this,  maybe
>this is bug .
>
>xy <18...@163.com> 于2021年5月18日周二 下午6:30写道:
>
>> master 2.3.1
>> what does it mean: can you used spring cloud proxy?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
>> >Hi
>> >
>> >can you used spring cloud proxy?  what  version  by shenyu?
>> >
>> >xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
>> >
>> >> I can run shenyu-admin locally, but exception occured  in ECS with jar,
>> >> how to resolve?   I run it in ECS with this command: java -jar
>> >> shenyu-admin.jar --spring.profiles.active=test2
>> >>
>> >>
>> >> 2021-05-18 17:22:08 [main] INFO
>> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
>> >> subscribe uri : shenyu.register.service.dubbo
>> >> 2021-05-18 17:22:08
>> >>
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> >> exception:
>> >> java.lang.NullPointerException: null
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> >> 2021-05-18 17:22:08 [main] INFO
>> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
>> >> subscribe uri : shenyu.register.service.grpc
>> >> 2021-05-18 17:22:08
>> >>
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> >> exception:
>> >> java.lang.NullPointerException: null
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> >> at
>> >>
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> >> at
>> >>
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> >> at
>> >>
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> >>
>> >>
>> >>
>> >>
>>






 

Re: Re: subscribeRpcTypeService error

Posted by XiaoYu <xi...@apache.org>.
Hi

you rpc client is dubbo?  or spring cloud,  we should checked  this,  maybe
this is bug .

xy <18...@163.com> 于2021年5月18日周二 下午6:30写道:

> master 2.3.1
> what does it mean: can you used spring cloud proxy?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
> >Hi
> >
> >can you used spring cloud proxy?  what  version  by shenyu?
> >
> >xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
> >
> >> I can run shenyu-admin locally, but exception occured  in ECS with jar,
> >> how to resolve?   I run it in ECS with this command: java -jar
> >> shenyu-admin.jar --spring.profiles.active=test2
> >>
> >>
> >> 2021-05-18 17:22:08 [main] INFO
> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
> >> subscribe uri : shenyu.register.service.dubbo
> >> 2021-05-18 17:22:08
> >>
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> >> exception:
> >> java.lang.NullPointerException: null
> >> at
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> >> at
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> >> at
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> >> at
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> >> 2021-05-18 17:22:08 [main] INFO
> >> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
> >> subscribe uri : shenyu.register.service.grpc
> >> 2021-05-18 17:22:08
> >>
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> >> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> >> exception:
> >> java.lang.NullPointerException: null
> >> at
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> >> at
> >>
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> >> at
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> >> at
> >>
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> >> at
> >>
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> >>
> >>
> >>
> >>
>

Re:Re: subscribeRpcTypeService error

Posted by xy <18...@163.com>.
master 2.3.1
what does it mean: can you used spring cloud proxy?

















At 2021-05-18 18:04:49, "XiaoYu" <xi...@apache.org> wrote:
>Hi
>
>can you used spring cloud proxy?  what  version  by shenyu?
>
>xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:
>
>> I can run shenyu-admin locally, but exception occured  in ECS with jar,
>> how to resolve?   I run it in ECS with this command: java -jar
>> shenyu-admin.jar --spring.profiles.active=test2
>>
>>
>> 2021-05-18 17:22:08 [main] INFO
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
>> subscribe uri : shenyu.register.service.dubbo
>> 2021-05-18 17:22:08
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> exception:
>> java.lang.NullPointerException: null
>> at
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> at
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> at
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> at
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>> 2021-05-18 17:22:08 [main] INFO
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
>> subscribe uri : shenyu.register.service.grpc
>> 2021-05-18 17:22:08
>> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
>> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
>> exception:
>> java.lang.NullPointerException: null
>> at
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
>> at
>> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
>> at
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
>> at
>> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
>> at
>> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>>
>>
>>
>>

Re: subscribeRpcTypeService error

Posted by XiaoYu <xi...@apache.org>.
Hi

can you used spring cloud proxy?  what  version  by shenyu?

xy <18...@163.com> 于2021年5月18日周二 下午5:43写道:

> I can run shenyu-admin locally, but exception occured  in ECS with jar,
> how to resolve?   I run it in ECS with this command: java -jar
> shenyu-admin.jar --spring.profiles.active=test2
>
>
> 2021-05-18 17:22:08 [main] INFO
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
> subscribe uri : shenyu.register.service.dubbo
> 2021-05-18 17:22:08
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> exception:
> java.lang.NullPointerException: null
> at
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> at
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> at
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> at
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
> 2021-05-18 17:22:08 [main] INFO
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository -
> subscribe uri : shenyu.register.service.grpc
> 2021-05-18 17:22:08
> [nacos.publisher-com.alibaba.nacos.client.naming.event.InstancesChangeEvent]
> ERROR com.alibaba.nacos.common.notify.NotifyCenter - Event callback
> exception:
> java.lang.NullPointerException: null
> at
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.refreshURIService(NacosServerRegisterRepository.java:168)
> at
> org.apache.shenyu.register.server.nacos.NacosServerRegisterRepository.lambda$subscribeRpcTypeService$6(NacosServerRegisterRepository.java:133)
> at
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:124)
> at
> com.alibaba.nacos.client.naming.event.InstancesChangeNotifier.onEvent(InstancesChangeNotifier.java:40)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.lambda$notifySubscriber$0(DefaultPublisher.java:196)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.notifySubscriber(DefaultPublisher.java:203)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.receiveEvent(DefaultPublisher.java:187)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.openEventHandler(DefaultPublisher.java:118)
> at
> com.alibaba.nacos.common.notify.DefaultPublisher.run(DefaultPublisher.java:95)
>
>
>
>