springcloud的kubernetes过滤filter报错如何解决


这篇文章主要介绍“springcloud的kubernetes过滤filter报错如何解决”,在日常操作中,相信很多人在springcloud的kubernetes过滤filter报错如何解决问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”springcloud的kubernetes过滤filter报错如何解决”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!2019-08-19 02:52:42.439 ERROR 1 — [ scheduling-1] o.s.c.k.d.KubernetesCatalogWatch : Error watching Kubernetes Servicesorg.springframework.expression.spel.SpelEvaluationException: EL1012E: Cannot index into a null valueat org.springframework.expression.spel.ast.Indexer.getValueRef(Indexer.java:144) ~[spring-expression-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:68) ~[spring-expression-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:89) ~[spring-expression-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:114) ~[spring-expression-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:365) ~[spring-expression-5.1.4.RELEASE.jar!/:5.1.4.RELEASE]at org.springframework.cloud.kubernetes.discovery.KubernetesDiscoveryClient.lambda$getServices$4(KubernetesDiscoveryClient.java:152) ~[spring-cloud-kubernetes-discovery-1.0.0.M2.jar!/:1.0.0.M2]at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[na:1.8.0_222]at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[na:1.8.0_222]at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_222]at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_222]at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_222]at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_222]at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[na:1.8.0_222]at org.springframework.cloud.kubernetes.discovery.KubernetesDiscoveryClient.getServices(KubernetesDiscoveryClient.java:168) ~[spring-cloud-kubernetes-discovery-1.0.0.M2.jar!/:1.0.0.M2]at org.springframework.cloud.kubernetes.discovery.KubernetesDiscoveryClient.g 香港云主机etServices(KubernetesDiscoveryClient.java:159) ~[spring-cloud-kubernetes-discovery-1.0.0.M2.jar!/:1.0.0.M2]at org.springframework.cloud.client.discovery.composite.CompositeDiscoveryClient.getServices(CompositeDiscoveryClient.java:67) ~[spring-cloud-commons-2.1.0.M2.jar!/:2.1.0.M2]at de.codecentric.boot.admin.server.cloud.discovery.InstanceDiscoveryListener.discover(InstanceDiscoveryListener.java:104) ~[spring-boot-admin-server-cloud-2.1.0.jar!/:2.1.0]at de.codecentric.boot.admin.server.cloud.discovery.InstanceDiscoveryListener.discoverIfNeeded(InstanceDiscoveryListener.java:99) ~[spring-boot-admin-server-cloud-2.1.0.jar!/:2.1.0]at de.codecentric.boot.admin.server.cloud.discovery.InstanceDiscoveryListener.onApplicationEvent(InstanceDiscoveryListener.java:94) ~[spring-boot-admin-server-cloud-2.1.0.jar!/:2.1.0]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_222]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_222]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_222]at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_222]过滤是使用的lables,但是其中与业务无关的某个服务没有指定labels导致到此,关于“springcloud的kubernetes过滤filter报错如何解决”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注开发云网站,小编会继续努力为大家带来更多实用的文章!

相关推荐: win7磁盘被写保护怎么解决

这篇“win7磁盘被写保护怎么解决”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“win7磁盘被写保护怎么解决”文章吧。解决方法:第一种方法:1、…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

Like (0)
Donate 微信扫一扫 微信扫一扫
Previous 08/02 13:23
Next 08/02 13:23

相关推荐