Error loading org.sonar.scanner.scan.filesystem.ProjectFileIndexer

we are getting issue even with the new sonar scanner version (SonarScanner 4.8.0.2856)

**00:24:48** java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer 
**00:24:48**    at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52) 
**00:24:48**    at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678) 
**00:24:48**    at org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:273) 
**00:24:48**    at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:412) 
**00:24:48**    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123) 
**00:24:48**    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109) 
**00:24:48**    at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:130) 
**00:24:48**    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123) 
**00:24:48**    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109) 
**00:24:48**    at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:58) 
**00:24:48**    at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:52) 
**00:24:48**    at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 
**00:24:48**    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
**00:24:48**    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
**00:24:48**    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
**00:24:48**    at java.base/java.lang.reflect.Method.invoke(Method.java:566) 
**00:24:48**    at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 
**00:24:48**    at com.sun.proxy.$Proxy0.execute(Unknown Source) 
**00:24:48**    at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 
**00:24:48**    at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 
**00:24:48**    at org.sonarsource.scanner.cli.Main.execute(Main.java:126) 
**00:24:48**    at org.sonarsource.scanner.cli.Main.execute(Main.java:81) 
**00:24:48**    at org.sonarsource.scanner.cli.Main.main(Main.java:62) 
**00:24:48** Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.FileIndexer 
**00:24:48**    at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52) 
**00:24:48**    at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632) 
**00:24:48**    at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118) 
**00:24:48**    at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136) 
**00:24:48**    at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)

Hi,

Can you share the full analysis log, starting from the analysis command, please?

Ā 
Ann

Hi,

I see this:

And I see from the timestamp in the log that this occurred today.

But given the lag between posts here, I guess itā€™s intermittent?

Do you have something ā€œhelpfulā€ on the network that might be interfering? Because that URL resolved for me.

 
Ann

yeah sometime after 2 or 3 rebuilds its working.

Hi,

Your project seems to be public (i.e. the URL works for me). I donā€™t understand why you want to obfuscate at this pointā€¦?

Where is your build agent located physically? Could you provide some time/datestamps for failures so we can see if thereā€™s anything going on on our end?

Ā 
Ann

Hi @ganncamp
How is it possible, my project is private. So please remove the url you shared.

Hi,

Hmmā€¦ today your project shows up as private so Iā€™ve redacted the pertinent values in the URL.

Ā 
Ann

Thanks @ganncamp

Hi @ganncamp
we see this issue frequently.

ERROR: Error during SonarScanner execution

[2023-04-03T15:44:56.294Z] java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)

[2023-04-03T15:44:56.294Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:273)

[2023-04-03T15:44:56.294Z] 	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:412)

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)

[2023-04-03T15:44:56.294Z] 	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:130)

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)

[2023-04-03T15:44:56.294Z] 	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:58)

[2023-04-03T15:44:56.294Z] 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:52)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)

[2023-04-03T15:44:56.294Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[2023-04-03T15:44:56.294Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

[2023-04-03T15:44:56.294Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[2023-04-03T15:44:56.294Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)

[2023-04-03T15:44:56.294Z] 	at com.sun.proxy.$Proxy0.execute(Unknown Source)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)

[2023-04-03T15:44:56.294Z] 	at org.sonarsource.scanner.cli.Main.main(Main.java:62)

[2023-04-03T15:44:56.294Z] Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.FileIndexer

[2023-04-03T15:44:56.294Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)

[2023-04-03T15:44:56.294Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)

[2023-04-03T15:44:56.295Z] 	... 22 more

[2023-04-03T15:44:56.295Z] Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.MetadataGenerator

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)

[2023-04-03T15:44:56.295Z] 	... 36 more

[2023-04-03T15:44:56.295Z] Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.StatusDetection

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)

[2023-04-03T15:44:56.295Z] 	... 50 more

[2023-04-03T15:44:56.295Z] Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.repository.CachedProjectRepositoriesSupplier

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)

[2023-04-03T15:44:56.295Z] 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)

[2023-04-03T15:44:56.295Z] 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)

[2023-04-03T15:44:56.295Z] 	... 64 more

Hi,

My answer hasnā€™t changed:

 
Ann

Hi @ganncamp
build running in bitbucket-pipelines cloud (https://bitbucket.org/) also giving same error. We done manage these right.

@ganncamp
please help on this issue, bitbucket pipelines also failing with same error. we dont manage bitbucket cloud.

Hi,

So you have Bitbucket Cloud talking to SonarCloud and youā€™re intermittently seeing that error? Is the root cause, the timeout still the same?

Ā 
Ann

Yes @ganncamp

Hi,

Could you please post the log of the analysis attempt between Bitbucket Cloud and SonarCloud, redacted as necessary?

Ā 
Ann

Hi @ganncamp
I will share build out put once if we get the issue.
Same lines, we see below error even in successful builds. does this affect anything?

Hi,

Please give the full (redacted) text of the entire log, including all the lines of the stacktrace.

Ā 
Thx,
Ann

@ganncamp

22:01:38 
22:01:38 * Exception is:
22:01:38 org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':sonarqube'.
22:01:38 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142)
22:01:38 	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
22:01:38 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140)
22:01:38 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
22:01:38 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
22:01:38 	at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
22:01:38 	at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
22:01:38 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
22:01:38 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
22:01:38 	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
22:01:38 	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)
22:01:38 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:420)
22:01:38 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:342)
22:01:38 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
22:01:38 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
22:01:38 Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
22:01:38 	at org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:273)
22:01:38 	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:414)
22:01:38 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
22:01:38 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
22:01:38 	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:130)
22:01:38 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
22:01:38 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
22:01:38 	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
22:01:38 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
22:01:38 	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
22:01:38 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:01:38 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
22:01:38 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
22:01:38 	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
22:01:38 	at jdk.proxy43/jdk.proxy43.$Proxy370.execute(Unknown Source)
22:01:38 	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
22:01:38 	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
22:01:38 	at org.sonarqube.gradle.SonarQubeTask.run(SonarQubeTask.java:102)
22:01:38 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:01:38 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
22:01:38 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
22:01:38 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
22:01:38 	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
22:01:38 	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
22:01:38 	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
22:01:38 	at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:236)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
22:01:38 	at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
22:01:38 	at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
22:01:38 	at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
22:01:38 	at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
22:01:38 	at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
22:01:38 	at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
22:01:38 	at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
22:01:38 	at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
22:01:38 	at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)
22:01:38 	at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
22:01:38 	at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
22:01:38 	at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
22:01:38 	at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
22:01:38 	at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
22:01:38 	at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
22:01:38 	at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
22:01:38 	at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
22:01:38 	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:124)
22:01:38 	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:80)
22:01:38 	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:58)
22:01:38 	at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
22:01:38 	at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
22:01:38 	at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:181)
22:01:38 	at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:71)
22:01:38 	at org.gradle.internal.Either$Right.fold(Either.java:175)
22:01:38 	at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
22:01:38 	at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:69)
22:01:38 	at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47)
22:01:38 	at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
22:01:38 	at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
22:01:38 	at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
22:01:38 	at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
22:01:38 	at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:110)
22:01:38 	at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)
22:01:38 	at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)
22:01:38 	at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
22:01:38 	at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)
22:01:38 	at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
22:01:38 	at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
22:01:38 	at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
22:01:38 	at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)
22:01:38 	at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
22:01:38 	at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
22:01:38 	at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
22:01:38 	at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)
22:01:38 	at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
22:01:38 	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:254)
22:01:38 	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:91)
22:01:38 	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:56)
22:01:38 	at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
22:01:38 	at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
22:01:38 	at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
22:01:38 	at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
22:01:38 	at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
22:01:38 	at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
22:01:38 	at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:281)
22:01:38 	at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
22:01:38 	at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
22:01:38 	at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
22:01:38 	at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
22:01:38 	at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
22:01:38 	at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
22:01:38 	at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
22:01:38 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:139)
22:01:38 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
22:01:38 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
22:01:38 	at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
22:01:38 	at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
22:01:38 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
22:01:38 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
22:01:38 	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
22:01:38 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
22:01:38 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
22:01:38 	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)
22:01:38 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)
22:01:38 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:420)
22:01:38 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:342)
22:01:38 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
22:01:38 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
22:01:38 Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.FileIndexer
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
22:01:38 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
22:01:38 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
22:01:38 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
22:01:38 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
22:01:38 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
22:01:38 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
22:01:38 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
22:01:38 	... 135 more
22:01:38 Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.MetadataGenerator
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
22:01:38 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
22:01:38 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
22:01:38 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
22:01:38 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
22:01:38 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
22:01:38 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
22:01:38 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
22:01:38 	... 149 more
22:01:38 Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.StatusDetection
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
22:01:38 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
22:01:38 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
22:01:38 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
22:01:38 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
22:01:38 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
22:01:38 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
22:01:38 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
22:01:38 	... 163 more
22:01:38 Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.repository.CachedProjectRepositoriesSupplier
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
22:01:38 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
22:01:38 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
22:01:38 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
22:01:38 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
22:01:38 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
22:01:38 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
22:01:38 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
22:01:38 	... 177 more
22:01:38 Caused by: java.lang.IllegalStateException: Fail to request https://sonarcloud.io/batch/project.protobuf?key=Testkey&branch=Dev
22:01:38 	at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:230)
22:01:38 	at org.sonarqube.ws.client.HttpConnector.get(HttpConnector.java:137)
22:01:38 	at org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:121)
22:01:38 	at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:59)
22:01:38 	at org.sonar.scanner.repository.DefaultProjectRepositoriesLoader.load(DefaultProjectRepositoriesLoader.java:35)
22:01:38 	at org.sonar.scanner.repository.CachedProjectRepositoriesSupplier.getProjectRepositories(CachedProjectRepositoriesSupplier.java:42)
22:01:38 	at org.sonar.scanner.repository.CachedProjectRepositoriesSupplier.<init>(CachedProjectRepositoriesSupplier.java:36)
22:01:38 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
22:01:38 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
22:01:38 	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
22:01:38 	at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
22:01:38 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
22:01:38 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
22:01:38 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
22:01:38 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
22:01:38 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
22:01:38 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
22:01:38 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
22:01:38 	... 191 more
22:01:38 Caused by: java.net.SocketTimeoutException: timeout
22:01:38 	at okio.SocketAsyncTimeout.newTimeoutException(JvmOkio.kt:147)
22:01:38 	at okio.AsyncTimeout.access$newTimeoutException(AsyncTimeout.kt:158)
22:01:38 	at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:337)
22:01:38 	at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:427)
22:01:38 	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:320)
22:01:38 	at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
22:01:38 	at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:178)
22:01:38 	at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
22:01:38 	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
22:01:38 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
22:01:38 	at org.sonarqube.ws.client.OkHttpClientBuilder.addHeaders(OkHttpClientBuilder.java:201)
22:01:38 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
22:01:38 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
22:01:38 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
22:01:38 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
22:01:38 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
22:01:38 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
22:01:38 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
22:01:38 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
22:01:38 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
22:01:38 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
22:01:38 	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
22:01:38 	at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:228)
22:01:38 	... 210 more
22:01:38 Caused by: java.net.SocketException: Socket closed
22:01:38 	at okio.InputStreamSource.read(JvmOkio.kt:94)
22:01:38 	at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:125)
22:01:38 	... 230 more

Hi,

Are you still receiving this error today?

If so, I find two log lines interesting.

This one doesnā€™t include an organization key, so itā€™s not surprising to me that the request would fail. However, it looks like thereā€™s something else going on:

Do you have something on your network, e.g. a proxy, that could be interfering to cause this ā€˜Socket closedā€™ error?

 
Ann

exact same issue with bitbucket pipelines as well. do u suspect proxy or network issue from bitbucket cloud side?