org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:cobertura-maven-plugin:2.6:instrument (default) on project besinapp: Unable to execute Cobertura.

Stack Overflow | Ganga.K | 3 months ago
  1. 0

    CI job failing with error - Unable to execute Cobertura. Cannot run program "/bin/sh": error=7, Argument list too long

    Stack Overflow | 3 months ago | Ganga.K
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:cobertura-maven-plugin:2.6:instrument (default) on project besinapp: Unable to execute Cobertura.
  2. 0

    Cobertura gives Argument list too long

    Stack Overflow | 2 years ago | user2973475
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:cobertura-maven-plugin:2.6:instrument (default-cli) on project TestModule: Unable to execute Cobertura.
  3. 0

    Maven - Notifications - Build failed in Jenkins: maven-plugins-windows #45

    nabble.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:keytool-maven-plugin:1.0:genkey (init) on project maven-project-info-reports-plugin: command execution failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Jenkins: maven-plugins-windows #60

    apache.org | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:keytool-maven-plugin:1.0:genkey (init) on project maven-project-info-reports-plugin: command execution failed
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=7, Argument list too long

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:130)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
    5. java.lang.Runtime.exec(Runtime.java:617)
    6. java.lang.Runtime.exec(Runtime.java:528)
    6 frames
  3. Plexus Common Utilities
    CommandLineUtils.executeCommandLine
    1. org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:636)
    2. org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:144)
    3. org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:107)
    3 frames
  4. Mojo's Maven plugin for Cobertura
    CoberturaInstrumentMojo.execute
    1. org.codehaus.mojo.cobertura.tasks.AbstractTask.executeJava(AbstractTask.java:240)
    2. org.codehaus.mojo.cobertura.tasks.InstrumentTask.execute(InstrumentTask.java:139)
    3. org.codehaus.mojo.cobertura.CoberturaInstrumentMojo.execute(CoberturaInstrumentMojo.java:162)
    3 frames
  5. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
    1 frame
  6. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
    5. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
    6. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    7. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    8. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    9. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    10. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    11. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    12. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
    13. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
    13 frames
  7. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames