org.apache.maven.lifecycle.LifecycleExecutionException

tip

You need to make sure that capitalisation of the case for the plugin in the
properties file is exactly: "AllocinePlugin" and not "allocineplugin"

tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

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

  • GitHub comment 29#228539974
    via GitHub by Ashwinsai
    ,
  • GitHub comment 2050#285324147
    via GitHub by tomtanti
    ,
  • Error when someone edits a message
    via GitHub by seanc
    ,
  • Spring Security: StringIndexOutOfBoundsException
    via by Unknown author,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.qualinsight.mojo.cobertura:qualinsight-mojo-cobertura-core:1.1.0:report-it-coverage (default-cli) on project XStreamCommunicator: Execution default-cli of goal com.qualinsight.mojo.cobertura:qualinsight-mojo-cobertura-core:1.1.0:report-it-coverage failed: String index out of range: -33 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.qualinsight.mojo.cobertura:qualinsight-mojo-cobertura-core:1.1.0:report-it-coverage failed: String index out of range: -33 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -33 at java.lang.String.substring(String.java:1931) at com.qualinsight.mojo.cobertura.core.AbstractReportMojo.convertReport(AbstractReportMojo.java:103) at com.qualinsight.mojo.cobertura.core.AbstractReportMojo.convertToSonarQubeReport(AbstractReportMojo.java:90) at com.qualinsight.mojo.cobertura.core.AbstractCleaningReportMojo.execute(AbstractCleaningReportMojo.java:54) at com.qualinsight.mojo.cobertura.core.ITCoverageReportMojo.execute(ITCoverageReportMojo.java:31) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) ... 20 more

    Users with the same issue

    eti22
    3 times, last one,
    RoiOtero
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Handemelindo
    1 times, last one,
    92 more bugmates