Hi can you used spring cloud proxy? what version by shenyu?
xy <18621594...@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) > > > >