org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.1.1:sonar (default-cli) on project cm-ui-frontend: Fail to download sonar-findbugs-plugin-3.4.3.jar to /root/.sonar/cache/_tmp/fileCache7348481126430635122.tmp


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by Muhilan
, 9 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.1.1:sonar (default-cli) on project cm-ui-frontend: Fail to download sonar-findbugs-plugin-3.4.3.jar to /root/.sonar/cache/_tmp/fileCache7348481126430635122.tmp

Solution icon of googlegroups
via Google Groups by Franz van Betteraey, 2 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven -plugin:3.0.1:sonar (default-cli) on project jhbBase: Fail to download libraries from server

Solution icon of googlegroups
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (default-cli) on project direct-import: Can not execute Findbugs

Solution icon of stackoverflow
via Stack Overflow by Henok
, 11 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project com.mycompany.myproduct.domain: Fail to connect to database

Solution icon of googlegroups
via Google Groups by Robert Willems of Brilman, 6 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on project sonar-issueresolver-plugin: Insufficient privileges

Solution icon of stackoverflow
via Stack Overflow by doubleW
, 2 weeks 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 stackoverflow
via Stack Overflow by Martyn Bristow
, 6 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on project <project>: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher

Solution icon of googlegroups
via Google Groups by Unknown author, 6 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on project nge2e-events: Unable to execute SonarQube

Solution icon of googlegroups
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli ) on project xxx: Unable to execute SonarQube

Solution icon of github
via GitHub by angelozerr
, 2 months ago
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project org.eclipse.tm4e: Unable to execute SonarQube

Stack trace

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.1.1:sonar (default-cli) on project cm-ui-frontend: Fail to download sonar-findbugs-plugin-3.4.3.jar to /root/.sonar/cache/_tmp/fileCache7348481126430635122.tmp
	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: Fail to download sonar-findbugs-plugin-3.4.3.jar to /root/.sonar/cache/_tmp/fileCache7348481126430635122.tmp
	at org.sonarsource.scanner.maven.bootstrap.ExceptionHandling.handle(ExceptionHandling.java:36)
	at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:81)
	at org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:117)
	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.IllegalStateException: Fail to download sonar-findbugs-plugin-3.4.3.jar to /root/.sonar/cache/_tmp/fileCache7348481126430635122.tmp
	at org.sonar.home.cache.FileCache.download(FileCache.java:98)
	at org.sonar.home.cache.FileCache.get(FileCache.java:82)
	at org.sonar.batch.bootstrap.BatchPluginInstaller.download(BatchPluginInstaller.java:103)
	at org.sonar.batch.bootstrap.BatchPluginInstaller.loadPlugins(BatchPluginInstaller.java:80)
	at org.sonar.batch.bootstrap.BatchPluginInstaller.installRemotes(BatchPluginInstaller.java:70)
	at org.sonar.batch.bootstrap.BatchPluginRepository.start(BatchPluginRepository.java:53)
	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.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
	at org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:320)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
	at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
	at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
	at org.picocontainer.behaviors.Stored.start(Stored.java:110)
	at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)
	at org.sonar.batch.bootstrapper.Batch.start(Batch.java:103)
	at org.sonar.batch.bootstrapper.Batch.start(Batch.java:92)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.start(BatchIsolatedLauncher.java:52)
	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.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy23.start(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:223)
	at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:159)
	at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:60)
	... 23 more
Caused by: java.net.ProtocolException: unexpected end of stream
	at com.squareup.okhttp.internal.http.HttpConnection$ChunkedSource.read(HttpConnection.java:467)
	at okio.RealBufferedSource.read(RealBufferedSource.java:50)
	at okio.RealBufferedSource.exhausted(RealBufferedSource.java:60)
	at okio.InflaterSource.refill(InflaterSource.java:101)
	at okio.InflaterSource.read(InflaterSource.java:62)
	at okio.GzipSource.read(GzipSource.java:80)
	at okio.RealBufferedSource$1.read(RealBufferedSource.java:371)
	at java.io.InputStream.read(InputStream.java:101)
	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
	at org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:1512)
	at org.sonar.batch.bootstrap.BatchPluginInstaller$FileDownloader.download(BatchPluginInstaller.java:160)
	at org.sonar.home.cache.FileCache.download(FileCache.java:96)
	... 55 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.