Github + sonarqube 10.2 : 0 file indexed. Project is empty

Environment:

  • Python Pycharm 2023.3
  • OS: Mac OS X x86_64

After a few weeks, the project has now 0 line of code to analyse.
configuration : GITHUB + actions. the action trigger when I push some code from pycharm. the action fails with :slight_smile:

INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
[9](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:10)INFO: Project root configuration file: /github/workspace/sonar-project.properties

[10](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:11)INFO: SonarScanner 5.0.1.3006

[11](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:12)INFO: Java 17.0.8 Alpine (64-bit)

[12](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:13)INFO: Linux 6.2.0-1014-azure amd64

[13](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:14)INFO: User cache: /opt/sonar-scanner/.sonar/cache

[14](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:15)ERROR: SonarQube server [***] can not be reached

[15](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:16)INFO: ------------------------------------------------------------------------

[16](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:17)INFO: EXECUTION FAILURE

[17](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:18)INFO: ------------------------------------------------------------------------

[18](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:19)INFO: Total time: 30.353s

[19](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:20)ERROR: Error during SonarScanner execution

[20](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:21)org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis

[21](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:22)INFO: Final Memory: 4M/20M

[22](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:23) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)

[23](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:24) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)

[24](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:25) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)

[25](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:26) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)

[26](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:27) at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)

[27](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:28) at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)

[28](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:29) at org.sonarsource.scanner.cli.Main.execute(Main.java:74)

[29](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:30) at org.sonarsource.scanner.cli.Main.main(Main.java:62)

[30](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:31)Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server

[31](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:32) at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42)

[32](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:33) at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58)

[33](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:34) at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)

[34](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:35) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)

[35](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:36) ... 7 more

[36](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:37)Caused by: java.net.SocketTimeoutException: Connect timed out

[37](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:38) at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:551)

[38](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:39) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)

[39](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:40) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)

[40](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:41) at java.base/java.net.Socket.connect(Socket.java:633)

[41](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:42) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.platform.Platform.connectSocket(Platform.java:130)

[42](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:43) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectSocket(RealConnection.java:263)

[43](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:44) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connect(RealConnection.java:183)

[44](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:45) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)

[45](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:46) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)

[46](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:47) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)

[47](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:48) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Transmitter.newExchange(Transmitter.java:169)

[48](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:49) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)

[49](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:50) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)

[50](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:51) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)

[51](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:52) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)

[52](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:53) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)

[53](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:54) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)

[54](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:55) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)

[55](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:56) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)

[56](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:57) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)

[57](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:58) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)

[58](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:59) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)

[59](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:60) at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221)

[60](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:61) at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81)

[61](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:62) at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)

[62](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:63) at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99)

[63](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:64) at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39)

[64](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:65) ... 10 more

[65](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:66)ERROR:

[66](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:67)ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.

[67](https://github.com/konvertilo/konvertilo/actions/runs/6643487943/job/18050629556#step:4:68)INFO: ------------------------------------------------------------------------

the address of the server is not showing there so I can’t say wich address it’s using.

Thank you for your help

c.ij.serviceContainer.AlreadyDisposedException: Cannot create o.sl.ij.core.ModuleBindingManager because container is already disposed (container=Module: 'konvertiloJava' (disposed))
	at c.ij.serviceContainer.ContainerUtilKt.throwAlreadyDisposedError(containerUtil.kt:40)
	at c.ij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:698)
	at c.ij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:630)
	at c.ij.oa.module.ModuleServiceManager.getService(ModuleServiceManager.java:17)
	at o.sl.ij.common.util.SonarLintUtils.getService(SonarLintUtils.java:75)
	at o.sl.ij.core.ConnectedSonarLintFacade.getExcluded(ConnectedSonarLintFacade.java:79)
	at o.sl.ij.analysis.LocalFileExclusions.filterWithServerExclusions(LocalFileExclusions.java:272)
	at o.sl.ij.analysis.LocalFileExclusions.retainNonExcludedFilesByModules(LocalFileExclusions.java:164)
	at o.sl.ij.ui.AutoTriggerStatusPanel.lambda$switchCards$2(AutoTriggerStatusPanel.java:93)
	at o.sl.ij.util.ThreadUtilsKt.runOnPooledThread$lambda$1(ThreadUtils.kt:35)
	at c.ij.oa.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:272)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at c.ij.util.concurrency.ContextCallable.call(ContextCallable.java:29)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at c.ij.util.concurrency.ContextRunnable.run(ContextRunnable.java:24)

Hi,

Analysis is failing on bootstrap during the initial attempt to reach the SonarQube server. This means either that your server is down or that your server address is misconfigured on the analysis side. (Or maybe that you have something “helpful” on the network interfering.)

 
HTH,
Ann