Paste P6501

Analysing 'SonarEmptyLabelServiceOptimizer.java'...
ActivePublic

Authored by Gehel on Dec 22 2017, 1:34 PM.
1
2​Error running SonarLint analysis
3​org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : '/home/gehel/wikimedia/wikidata/query/rdf/blazegraph/src/main/java/org/wikidata/query/rdf/blazegraph/label/SonarEmptyLabelServiceOptimizer.java'
4​ at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:105)
5​ at org.sonar.java.ast.JavaAstScanner.scan(JavaAstScanner.java:68)
6​ at org.sonar.java.JavaSquid.scanSources(JavaSquid.java:119)
7​ at org.sonar.java.JavaSquid.scan(JavaSquid.java:113)
8​ at org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:84)
9​ at org.sonarsource.sonarlint.core.analyzer.sensor.NewSensorsExecutor.executeSensor(NewSensorsExecutor.java:72)
10​ at org.sonarsource.sonarlint.core.analyzer.sensor.NewSensorsExecutor.execute(NewSensorsExecutor.java:63)
11​ at org.sonarsource.sonarlint.core.analyzer.sensor.PhaseExecutor.execute(PhaseExecutor.java:36)
12​ at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:142)
13​ at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
14​ at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
15​ at org.sonarsource.sonarlint.core.container.standalone.StandaloneGlobalContainer.analyze(StandaloneGlobalContainer.java:127)
16​ at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:91)
17​ at org.sonarlint.intellij.core.StandaloneSonarLintFacade.analyze(StandaloneSonarLintFacade.java:55)
18​ at org.sonarlint.intellij.core.SonarLintFacade.startAnalysis(SonarLintFacade.java:60)
19​ at org.sonarlint.intellij.analysis.SonarLintAnalyzer.analyzeModule(SonarLintAnalyzer.java:103)
20​ at org.sonarlint.intellij.analysis.SonarLintTask.analyze(SonarLintTask.java:176)
21​ at org.sonarlint.intellij.analysis.SonarLintTask.run(SonarLintTask.java:99)
22​ at org.sonarlint.intellij.analysis.SonarLintJobManager.lambda$null$1(SonarLintJobManager.java:118)
23​ at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:157)
24​ at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
25​ at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
26​ at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
27​ at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
28​ at org.sonarlint.intellij.analysis.SonarLintJobManager.lambda$runTask$2(SonarLintJobManager.java:118)
29​ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
30​ at java.util.concurrent.FutureTask.run(FutureTask.java:266)
31​ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
32​ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
33​ at java.lang.Thread.run(Thread.java:745)
34​Caused by: java.lang.IllegalStateException: CFG necessarily contains the loop block.
35​ at org.sonar.java.checks.UnconditionalJumpStatementCheck.lambda$getLoopBlock$1(UnconditionalJumpStatementCheck.java:159)
36​ at java.util.Optional.orElseThrow(Optional.java:290)
37​ at org.sonar.java.checks.UnconditionalJumpStatementCheck.getLoopBlock(UnconditionalJumpStatementCheck.java:159)
38​ at org.sonar.java.checks.UnconditionalJumpStatementCheck.executeUnconditionnally(UnconditionalJumpStatementCheck.java:150)
39​ at org.sonar.java.checks.UnconditionalJumpStatementCheck.visitNode(UnconditionalJumpStatementCheck.java:84)
40​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:95)
41​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
42​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
43​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
44​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
45​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
46​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
47​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
48​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
49​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
50​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
51​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
52​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
53​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
54​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
55​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
56​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
57​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
58​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
59​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
60​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
61​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
62​ at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
63​ at org.sonar.java.ast.visitors.SubscriptionVisitor.scanTree(SubscriptionVisitor.java:78)
64​ at org.sonar.java.ast.visitors.SubscriptionVisitor.scanFile(SubscriptionVisitor.java:64)
65​ at org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:117)
66​ at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:96)
67​ ... 29 more
Gehel created this paste.Dec 22 2017, 1:34 PM