io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.

GitHub | BoriszhangSec | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 6292#243731988

    GitHub | 6 months ago | BoriszhangSec
    io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.

    Root Cause Analysis

    1. io.fabric8.kubernetes.client.KubernetesClientException

      An error has occurred.

      at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable()
    2. io.fabric8.kubernetes
      BaseClient.rootPaths
      1. io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:57)[kubernetes-client-1.4.6.jar:]
      2. io.fabric8.kubernetes.client.dsl.base.BaseOperation.getRootPaths(BaseOperation.java:156)[kubernetes-client-1.4.6.jar:]
      3. io.fabric8.kubernetes.client.BaseClient.rootPaths(BaseClient.java:150)[kubernetes-client-1.4.6.jar:]
      3 frames
    3. io.fabric8.openshift
      OpenShiftExtensionAdapter.adapt
      1. io.fabric8.openshift.client.OpenshiftAdapterSupport.isOpenShift(OpenshiftAdapterSupport.java:51)[openshift-client-1.4.6.jar:]
      2. io.fabric8.openshift.client.OpenshiftAdapterSupport.isAdaptable(OpenshiftAdapterSupport.java:35)[openshift-client-1.4.6.jar:]
      3. io.fabric8.openshift.client.OpenShiftExtensionAdapter.adapt(OpenShiftExtensionAdapter.java:45)[openshift-client-1.4.6.jar:]
      4. io.fabric8.openshift.client.OpenShiftExtensionAdapter.adapt(OpenShiftExtensionAdapter.java:33)[openshift-client-1.4.6.jar:]
      4 frames
    4. io.fabric8.kubernetes
      BaseClient.adapt
      1. io.fabric8.kubernetes.client.BaseClient.adapt(BaseClient.java:142)[kubernetes-client-1.4.6.jar:]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor865.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
      3. java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
      3 frames
    6. Weld Implementation
      ProxyMethodHandler.invoke
      1. org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)[weld-servlet-2.3.5.Final.jar:2.3.5.Final]
      2. org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)[weld-servlet-2.3.5.Final.jar:2.3.5.Final]
      2 frames
    7. io.fabric8.kubernetes
      KubernetesClient$418356913$Proxy$_$$_WeldClientProxy.adapt
      1. io.fabric8.kubernetes.client.KubernetesClient$418356913$Proxy$_$$_WeldClientProxy.adapt(Unknown Source)[weld-servlet-2.3.5.Final.jar:]
      1 frame
    8. Fabric8 :: Kubernetes Client API
      Controller.applyBuildConfig
      1. io.fabric8.kubernetes.api.Controller.getOpenShiftClientOrNull(Controller.java:403)[kubernetes-api-2.2.156.jar:2.2.156]
      2. io.fabric8.kubernetes.api.Controller.getOpenShiftClientOrJenkinshift(Controller.java:411)[kubernetes-api-2.2.156.jar:2.2.156]
      3. io.fabric8.kubernetes.api.Controller.applyBuildConfig(Controller.java:785)[kubernetes-api-2.2.156.jar:2.2.156]
      3 frames
    9. io.fabric8.forge
      CommandsResource.executeCommand
      1. io.fabric8.forge.rest.main.GitCommandCompletePostProcessor.createBuildConfig(GitCommandCompletePostProcessor.java:206)[fabric8-forge-core-2.3.17.jar:2.3.17]
      2. io.fabric8.forge.rest.main.GitCommandCompletePostProcessor.firePostCompleteActions(GitCommandCompletePostProcessor.java:175)[fabric8-forge-core-2.3.17.jar:2.3.17]
      3. io.fabric8.forge.rest.CommandsResource.doExecute(CommandsResource.java:385)[fabric8-forge-core-2.3.17.jar:2.3.17]
      4. io.fabric8.forge.rest.CommandsResource$4.apply(CommandsResource.java:279)[fabric8-forge-core-2.3.17.jar:2.3.17]
      5. io.fabric8.forge.rest.CommandsResource$4.apply(CommandsResource.java:275)[fabric8-forge-core-2.3.17.jar:2.3.17]
      6. io.fabric8.forge.rest.CommandsResource.withUIContext(CommandsResource.java:600)[fabric8-forge-core-2.3.17.jar:2.3.17]
      7. io.fabric8.forge.rest.CommandsResource.withUIContext(CommandsResource.java:561)[fabric8-forge-core-2.3.17.jar:2.3.17]
      8. io.fabric8.forge.rest.CommandsResource.executeCommand(CommandsResource.java:275)[fabric8-forge-core-2.3.17.jar:2.3.17]
      8 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor684.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
      3. java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
      3 frames
    11. Apache CXF Core
      AbstractInvoker.invoke
      1. org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)[cxf-core-3.1.6.jar:3.1.6]
      2. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)[cxf-core-3.1.6.jar:3.1.6]
      2 frames
    12. Apache CXF Runtime JAX-RS Frontend
      JAXRSInvoker.invoke
      1. org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)[cxf-rt-frontend-jaxrs-3.1.6.jar:3.1.6]
      2. org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)[cxf-rt-frontend-jaxrs-3.1.6.jar:3.1.6]
      2 frames
    13. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)[cxf-core-3.1.6.jar:3.1.6]
      2. org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)[cxf-core-3.1.6.jar:3.1.6]
      3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)[cxf-core-3.1.6.jar:3.1.6]
      4. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[cxf-core-3.1.6.jar:3.1.6]
      4 frames
    14. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.doPost
      1. org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:254)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      2. org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      3. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      4. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      5. org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      6. org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      7. org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      7 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[servlet-api-3.1.jar:3.1.0]
      1 frame
    16. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.service
      1. org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)[cxf-rt-transports-http-3.1.6.jar:3.1.6]
      1 frame
    17. Jetty
      SelectChannelEndPoint$2.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)[jetty-servlet-9.3.10.v20160621.jar:9.3.10.v20160621]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)[jetty-servlet-9.3.10.v20160621.jar:9.3.10.v20160621]
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)[jetty-security-9.3.10.v20160621.jar:9.3.10.v20160621]
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)[jetty-servlet-9.3.10.v20160621.jar:9.3.10.v20160621]
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      14. org.eclipse.jetty.server.Server.handle(Server.java:524)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      15. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      16. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)[jetty-server-9.3.10.v20160621.jar:9.3.10.v20160621]
      17. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)[jetty-io-9.3.10.v20160621.jar:9.3.10.v20160621]
      18. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)[jetty-io-9.3.10.v20160621.jar:9.3.10.v20160621]
      19. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)[jetty-io-9.3.10.v20160621.jar:9.3.10.v20160621]
      19 frames
    18. org.eclipse.jetty
      ExecuteProduceConsume.run
      1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)[jetty-util-9.3.10.v20160621.jar:9.3.10.v20160621]
      2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)[jetty-util-9.3.10.v20160621.jar:9.3.10.v20160621]
      3. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)[jetty-util-9.3.10.v20160621.jar:9.3.10.v20160621]
      3 frames
    19. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)[jetty-util-9.3.10.v20160621.jar:9.3.10.v20160621]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)[jetty-util-9.3.10.v20160621.jar:9.3.10.v20160621]
      2 frames
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
      1 frame