org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:3.4.0-SNAPSHOT:export (default) on project runtime: null


Solutions on the web3664

Solution icon of github
via GitHub by milendyankov
, 9 months ago
Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:3.4.0-SNAPSHOT:export (default) on project runtime: null

Solution icon of github
via GitHub by azzazzel
, 9 months ago
Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:3.3.0:export (default) on project bndrun: null

Solution icon of github
Failed to execute goal biz.aQute.bnd:bnd-testing-maven-plugin:3.4.0-SNAPSHOT:testing (default) on project org.example.minimized.integrationtest: Unable to resolve <<INITIAL>> version=null: missing requirement java.lang.StringIndexOutOfBoundsException: String index out of range: 42

Solution icon of github
via GitHub by gamerson
, 5 months ago
Failed to execute goal biz.aQute.bnd:bnd-testing-maven-plugin:3.4.0-SNAPSHOT:testing (default) on project org.example.minimized.integrationtest: Unable to resolve <<INITIAL>> version=null: missing requirement java.lang.StringIndexOutOfBoundsException: String index out of range: 42

Solution icon of googlegroups
Failed to execute goal org.codehaus.sonar:sonar-maven-plugin:4.5.6:sonar (default-cli) on project bug-stackoverflow: null

Solution icon of web
via zendesk.com by Unknown author, 1 year ago
Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project myproject: null

Solution icon of googlegroups
via Google Groups by Julien HENRY, 1 year ago
Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project mortrev: null

Solution icon of stackoverflow
via Stack Overflow by doubleW
, 1 week ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on project weather-station: null

Solution icon of github
Failed to execute goal com.github.kongchen:swagger-maven-plugin:3.1.2:generate (default) on project HelloService: null

Solution icon of googlegroups
via Google Groups by Alex R via StackOverflow, 8 months ago
Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.49:endpoints_get_discovery_doc (default) on project project-api-web: -f

Stack trace

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:3.4.0-SNAPSHOT:export (default) on project runtime: null
	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.MojoExecutionException
	at aQute.bnd.maven.export.plugin.ExportMojo.execute(ExportMojo.java:66)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: java.lang.NullPointerException
	at java.util.Objects.requireNonNull(Objects.java:203)
	at java.util.ArrayList.removeAll(ArrayList.java:689)
	at aQute.bnd.maven.export.plugin.ExportMojo.resolve(ExportMojo.java:131)
	at aQute.bnd.maven.export.plugin.ExportMojo.export(ExportMojo.java:85)
	at aQute.bnd.maven.export.plugin.ExportMojo.execute(ExportMojo.java:63)
	... 22 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

8 times, 1 year ago
Once, 19 hours ago
Once, 1 week ago
Once, 1 month ago
Once, 3 months ago
33 more bugmates