Javascript Code Analysis getting stuck at a particular file

For Context , i m using Bitbucket pipeline to analyze my Javascript and Vuejs code, When running,Analysis, it get stuck at variaous file, i have paid version .

These are my logs,

INFO: Configured Node.js --max-old-space-size=8000.

169

INFO: Using Node.js executable: 'node'.

170

INFO: Memory configuration: OS (31628 MB), Node.js (8048 MB).

171

INFO: Found 0 tsconfig.json file(s): []

172

INFO: Analyzing 1171 files using tsconfig: /tmp/tmp-108-TMiQUa60wbTk

173

INFO: 1171 source files to be analyzed

174

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

175

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

176

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

177

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

178

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

179

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

180

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

181

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

182

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

183

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

184

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

185

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

186

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

187

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

188

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

189

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

190

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

191

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

192

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

193

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

194

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

195

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

196

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

197

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

198

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

199

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

200

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

201

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

202

INFO: 0/1171 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/views/pages/students/ToggleActions.vue

203

ERROR: Failure during analysis

204

java.lang.IllegalStateException: The bridge server is unresponsive

205

at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)

206

at org.sonar.plugins.javascript.bridge.BridgeServerImpl.analyzeJavaScript(BridgeServerImpl.java:361)

207

at org.sonar.plugins.javascript.bridge.AnalysisWithWatchProgram.analyze(AnalysisWithWatchProgram.java:146)

208

at org.sonar.plugins.javascript.bridge.AnalysisWithWatchProgram.analyzeTsConfig(AnalysisWithWatchProgram.java:121)

209

at org.sonar.plugins.javascript.bridge.AnalysisWithWatchProgram.analyzeFiles(AnalysisWithWatchProgram.java:78)

210

at org.sonar.plugins.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)

211

at org.sonar.plugins.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:76)

212

at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)

213

at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)

214

at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)

215

at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)

216

at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)

217

at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)

218

at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)

219

at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)

220

at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:180)

221

at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:176)

222

at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:147)

223

at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)

224

at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)

225

at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:399)

226

at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)

227

at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)

228

at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:127)

229

at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)

230

at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)

231

at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)

232

at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)

233

at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)

234

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

235

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

236

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

237

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

238

at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)

239

at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)

240

at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)

241

at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)

242

at org.sonarsource.scanner.cli.Main.execute(Main.java:126)

243

at org.sonarsource.scanner.cli.Main.execute(Main.java:81)

244

at org.sonarsource.scanner.cli.Main.main(Main.java:62)

245

Caused by: java.net.http.HttpTimeoutException: request timed out

246

at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:571)

247

at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)

248

at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:398)

249

... 39 common frames omitted

250

Hey there.

Can you share this file? The first think to check would be if anything specific about this file is tripping up the analyzer.

I excluded this file from scan, still got stuck at different File

So maybe both files share a common characteristic. It would be great if you could provide a file where the analysis stalls, so we can investigate further.