io.fabric8.kubernetes.client.KubernetesClientException: Error executing: POST at: https://192.168.64.86:8443/oapi/v1/namespaces/default-testing/imagestreamtags. Cause: No resource type found for kind:DockerImage at [Source: buffer(okhttp3.internal.http.Http1xStream$FixedLengthSource@27976390).inputStream(); line: 1, column: 661] (through reference chain: io.fabric8.openshift.api.model.ImageStreamTag["image"]->io.fabric8.openshift.api.model.Image["dockerImageMetadata"])

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Try indicating constructor to use @JsonCreator annotation.

,

You are trying to deserialize a type for which Jackson does not provide a default mapper. You should create your custom mapper for this type.

Solutions on the web

via GitHub by jstrachan
, 1 year ago
Error executing: POST at: https://192.168.64.86:8443/oapi/v1/namespaces/default-testing/imagestreamtags. Cause: No resource type found for kind:DockerImage at [Source: buffer(okhttp3.internal.http.Http1xStream$FixedLengthSource@27976390
via Stack Overflow by Ogre Psalm33
, 1 year ago
Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/my-service. Cause: Received fatal alert: protocol_version
via GitHub by dermidgen
, 1 year ago
Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/elasticsearch. Cause: access denied ("java.net.NetPermission" "getProxySelector")
via GitHub by dermidgen
, 11 months ago
Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/elasticsearch. Cause: access denied ("java.net.NetPermission" "getProxySelector")
via GitHub by pires
, 2 years ago
Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/elasticsearch. Cause: access denied ("java.net.NetPermission" "getProxySelector")
via GitHub by drocsid
, 1 year ago
Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/elasticsearch-discovery. Cause: Hostname kubernetes.default.svc not verified: certificate: sha1/Uuk4Na4fbmdrEmsCoaUsax0RkJw= DN: CN=kube-apiserver subjectAltNames: [192.168.4.1, 10.51.29.211, kubernetes, kubernetes.default, densicoreos002.prod.local]
io.fabric8.kubernetes.client.KubernetesClientException: Error executing: POST at: https://192.168.64.86:8443/oapi/v1/namespaces/default-testing/imagestreamtags. Cause: No resource type found for kind:DockerImage at [Source: buffer(okhttp3.internal.http.Http1xStream$FixedLengthSource@27976390).inputStream(); line: 1, column: 661] (through reference chain: io.fabric8.openshift.api.model.ImageStreamTag["image"]->io.fabric8.openshift.api.model.Image["dockerImageMetadata"])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at io.fabric8.kubernetes.internal.KubernetesDeserializer.deserialize(KubernetesDeserializer.java:55)
at io.fabric8.kubernetes.internal.KubernetesDeserializer.deserialize(KubernetesDeserializer.java:31)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:258)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:258)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:238)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:229)
at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:207)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:578)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:278)
at io.fabric8.openshift.client.handlers.ImageStreamTagHandler.create(ImageStreamTagHandler.java:42)
at io.fabric8.openshift.client.handlers.ImageStreamTagHandler.create(ImageStreamTagHandler.java:31)
at io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.apply(NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.java:123)
at io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.apply(NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.java:51)
at io.fabric8.kubernetes.api.Controller.applyEntity(Controller.java:280)
at io.fabric8.arquillian.kubernetes.SessionListener.applyConfiguration(SessionListener.java:377)
at io.fabric8.arquillian.kubernetes.SessionListener.start(SessionListener.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at io.fabric8.arquillian.kubernetes.SuiteListener.start(SuiteListener.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)

Users with the same issue

Once, 5 months ago
Once, 1 year ago
Once, 3 months ago
5 times, 6 hours ago
4 times, 8 hours ago
135 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.