java.lang.NullPointerException
at io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation.replace(HasMetadataOperation.java:86)
at io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation.replace(HasMetadataOperation.java:30)
at me.snowdrop.istio.client.internal.handler.networking.v1beta1.VirtualServiceHandler.replace(VirtualServiceHandler.java:42)
at me.snowdrop.istio.client.internal.handler.networking.v1beta1.VirtualServiceHandler.replace(VirtualServiceHandler.java:23)
at io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.createOrReplace(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java:285)
at io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.createOrReplace(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java:66)
String yaml = "---\n"
client.load(new ByteArrayInputStream(yaml.getBytes())).inNamespace("dian-stable").createOrReplace();
java.lang.NullPointerException at io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation.replace(HasMetadataOperation.java:86) at io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation.replace(HasMetadataOperation.java:30) at me.snowdrop.istio.client.internal.handler.networking.v1beta1.VirtualServiceHandler.replace(VirtualServiceHandler.java:42) at me.snowdrop.istio.client.internal.handler.networking.v1beta1.VirtualServiceHandler.replace(VirtualServiceHandler.java:23) at io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.createOrReplace(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java:285) at io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.createOrReplace(NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl.java:66)