org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build (default) on project my-fuse-project: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build failed.

Solutions on the web4746

  • Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build (default) on project my-fuse-project: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build failed.
  • via GitHub by rhuss
    , 8 months ago
    Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.86:build (default) on project micro: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.86:build failed: A JSONObject text
  • via GitHub by cmoulliard
    , 1 year ago
    Failed to execute goal io.fabric8:fabric8-maven-plugin:2.2.38:json (default-cli) on project dabou: Execution default-cli of goal io.fabric8:fabric8-maven-plugin:2.2.38:json failed.
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build (default) on project my-fuse-project: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: java.lang.NullPointerException at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.authorize(OpenShiftOAuthInterceptor.java:102) at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.intercept(OpenShiftOAuthInterceptor.java:74) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at io.fabric8.kubernetes.client.utils.HttpClientUtils$2.intercept(HttpClientUtils.java:94) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170) at okhttp3.RealCall.execute(RealCall.java:60) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:234) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:229) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:225) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:590) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:165) at io.fabric8.maven.plugin.BuildMojo.checkOrCreateBuildConfig(BuildMojo.java:595) at io.fabric8.maven.plugin.BuildMojo.executeOpenShiftBuild(BuildMojo.java:307) at io.fabric8.maven.plugin.BuildMojo.buildAndTag(BuildMojo.java:256) at io.fabric8.maven.docker.BuildMojo.executeInternal(BuildMojo.java:47) at io.fabric8.maven.plugin.BuildMojo.executeInternal(BuildMojo.java:237) at io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:193) at io.fabric8.maven.plugin.BuildMojo.execute(BuildMojo.java:223) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.