Error in SonarLint for IntelliJ 10.4.1: IllegalStateException: The bridge server is unresponsive

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: WebStorm 2024.1 EAP
  • SonarLint: 10.4.1.77998

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.analyzeTypeScript(BridgeServerImpl.java:367)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyze(AnalysisWithWatchProgram.java:156)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeTsConfig(AnalysisWithWatchProgram.java:130)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:79)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at o.ss.sl.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at o.ss.sl.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Mac OS X aarch64
  • IDE: WebStorm 2023.3.5
  • SonarLint: 10.4.1.77998

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.analyzeJavaScript(BridgeServerImpl.java:361)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyze(AnalysisWithWatchProgram.java:155)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeTsConfig(AnalysisWithWatchProgram.java:130)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:79)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at o.ss.sl.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at o.ss.sl.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 10 amd64
  • IDE: PhpStorm 2023.3.6
  • SonarLint: 10.4.1.77998

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.createTsConfigFile(BridgeServerImpl.java:503)
	at o.s.pl.javascript.bridge.JsTsSensor.createTsConfigFile(JsTsSensor.java:136)
	at o.s.pl.javascript.bridge.TsConfigProvider$GeneratedTsConfigFileProvider$TsConfig.writeFileWith(TsConfigProvider.java:214)
	at o.s.pl.javascript.bridge.TsConfigProvider$WildcardTsConfigProvider.writeTsConfigFileFor(TsConfigProvider.java:314)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at o.s.pl.javascript.bridge.TsConfigProvider$WildcardTsConfigProvider.getDefaultTsConfigs(TsConfigProvider.java:305)
	at o.s.pl.javascript.bridge.TsConfigProvider$GeneratedTsConfigFileProvider.tsconfigs(TsConfigProvider.java:239)
	at o.s.pl.javascript.bridge.TsConfigProvider.tsconfigs(TsConfigProvider.java:95)
	at o.s.pl.javascript.bridge.TsConfigProvider.getTsConfigs(TsConfigProvider.java:90)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:117)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: WebStorm 2024.1 EAP
  • SonarLint: 10.4.1.77998

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.analyzeTypeScript(BridgeServerImpl.java:367)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyze(AnalysisWithWatchProgram.java:156)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeTsConfig(AnalysisWithWatchProgram.java:130)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:79)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at o.ss.sl.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at o.ss.sl.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • IDE: PhpStorm 2023.3.5
  • SonarLint: 10.4.1.77998

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.analyzeJavaScript(BridgeServerImpl.java:361)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyze(AnalysisWithWatchProgram.java:155)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeTsConfig(AnalysisWithWatchProgram.java:130)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:79)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at o.ss.sl.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at o.ss.sl.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)

Hello,

To investigate the issue better, could you please enable verbose logging and provide us with these logs?

How would i enable it on JetBrains IDE?

Hi @ChukwumaA,

Here is the link to how to do it step by step.

Thank you.

I’ll set it up

1 Like

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 10 amd64
  • IDE: WebStorm 2024.1
  • SonarLint: 10.4.2.78113

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.analyzeJavaScript(BridgeServerImpl.java:361)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyze(AnalysisWithWatchProgram.java:155)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeTsConfig(AnalysisWithWatchProgram.java:130)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:79)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at o.ss.sl.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at o.ss.sl.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)

Hi @_G1,

Welcome to the community and thanks for this report!

Your topic has been merged into an ongoing thread about this same problem. As requested above, can you provide verbose logging to help us better understand the problem?

 
Thx,
Ann

1 Like

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2024.1
  • SonarLint: 10.4.2.78113

Failure during analysis

java.lang.IllegalStateException: The bridge server is unresponsive
	at o.s.pl.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at o.s.pl.javascript.bridge.BridgeServerImpl.newTsConfig(BridgeServerImpl.java:446)
	at o.s.pl.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:82)
	at o.s.pl.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at o.s.pl.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:79)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at o.ss.sl.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at o.ss.sl.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at o.ss.sl.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at o.ss.sl.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)
	at o.ss.sl.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:32)
	at o.ss.sl.core.analysis.AnalysisEngine$AsyncCommand.execute(AnalysisEngine.java:153)