org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : 'C:\projects\...\Temp.java'

Stack Overflow | John Jackson | 3 months ago
  1. 0

    SonarLint is unable to analyze file (Null Pointer Exception) with StringBuffer

    Stack Overflow | 3 months ago | John Jackson
    org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : 'C:\projects\...\Temp.java'
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.sonar.java.AnalyzerMessage.textSpanBetween()
    2. SonarQube Java :: Squid
      IssuableSubscriptionVisitor.reportIssue
      1. org.sonar.java.AnalyzerMessage.textSpanBetween(AnalyzerMessage.java:122)
      2. org.sonar.java.AnalyzerMessage.textSpanFor(AnalyzerMessage.java:111)
      3. org.sonar.java.model.DefaultJavaFileScannerContext.createAnalyzerMessage(DefaultJavaFileScannerContext.java:133)
      4. org.sonar.java.model.DefaultJavaFileScannerContext.reportIssue(DefaultJavaFileScannerContext.java:118)
      5. org.sonar.java.model.DefaultJavaFileScannerContext.reportIssue(DefaultJavaFileScannerContext.java:113)
      6. org.sonar.plugins.java.api.IssuableSubscriptionVisitor.reportIssue(IssuableSubscriptionVisitor.java:57)
      6 frames
    3. org.sonar.java
      SynchronizedClassUsageCheck$DeprecatedTypeVisitor.visitVariable
      1. org.sonar.java.checks.SynchronizedClassUsageCheck$DeprecatedTypeVisitor.reportIssueOnDeprecatedType(SynchronizedClassUsageCheck.java:102)
      2. org.sonar.java.checks.SynchronizedClassUsageCheck$DeprecatedTypeVisitor.visitVariable(SynchronizedClassUsageCheck.java:95)
      2 frames
    4. SonarQube Java :: Squid
      BaseTreeVisitor.scan
      1. org.sonar.java.model.declaration.VariableTreeImpl.accept(VariableTreeImpl.java:184)
      2. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:43)
      3. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
      4. org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitLambdaExpression(BaseTreeVisitor.java:342)
      5. org.sonar.java.model.expression.LambdaExpressionTreeImpl.accept(LambdaExpressionTreeImpl.java:91)
      6. org.sonar.java.ast.parser.ListTreeImpl.accept(ListTreeImpl.java:63)
      7. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:43)
      8. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:48)
      9. org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitMethodInvocation(BaseTreeVisitor.java:252)
      10. org.sonar.java.model.expression.MethodInvocationTreeImpl.accept(MethodInvocationTreeImpl.java:96)
      11. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:43)
      12. org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitExpressionStatement(BaseTreeVisitor.java:101)
      13. org.sonar.java.model.statement.ExpressionStatementTreeImpl.accept(ExpressionStatementTreeImpl.java:65)
      14. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:43)
      15. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
      16. org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitBlock(BaseTreeVisitor.java:85)
      17. org.sonar.java.model.statement.BlockTreeImpl.accept(BlockTreeImpl.java:77)
      18. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:43)
      19. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
      19 frames
    5. org.sonar.java
      SynchronizedClassUsageCheck$DeprecatedTypeVisitor.visitClass
      1. org.sonar.java.checks.SynchronizedClassUsageCheck$DeprecatedTypeVisitor.visitClass(SynchronizedClassUsageCheck.java:73)
      1 frame
    6. SonarQube Java :: Squid
      JavaTree$CompilationUnitTreeImpl.accept
      1. org.sonar.java.model.declaration.ClassTreeImpl.accept(ClassTreeImpl.java:198)
      2. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:43)
      3. org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
      4. org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitCompilationUnit(BaseTreeVisitor.java:55)
      5. org.sonar.java.model.JavaTree$CompilationUnitTreeImpl.accept(JavaTree.java:184)
      5 frames
    7. org.sonar.java
      SynchronizedClassUsageCheck.visitNode
      1. org.sonar.java.checks.SynchronizedClassUsageCheck.visitNode(SynchronizedClassUsageCheck.java:61)
      1 frame
    8. SonarQube Java :: Squid
      JavaSquid.scan
      1. org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:95)
      2. org.sonar.java.ast.visitors.SubscriptionVisitor.scanTree(SubscriptionVisitor.java:78)
      3. org.sonar.java.ast.visitors.SubscriptionVisitor.scanFile(SubscriptionVisitor.java:64)
      4. org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:123)
      5. org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:84)
      6. org.sonar.java.ast.JavaAstScanner.scan(JavaAstScanner.java:67)
      7. org.sonar.java.JavaSquid.scanSources(JavaSquid.java:119)
      8. org.sonar.java.JavaSquid.scan(JavaSquid.java:113)
      8 frames
    9. org.sonar.plugins
      JavaSquidSensor.execute
      1. org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:87)
      1 frame
    10. org.sonarsource.sonarlint
      StandaloneSonarLintEngineImpl.analyze
      1. org.sonarsource.sonarlint.core.analyzer.sensor.SensorWrapper.analyse(SensorWrapper.java:52)
      2. org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:73)
      3. org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.execute(SensorsExecutor.java:63)
      4. org.sonarsource.sonarlint.core.analyzer.sensor.PhaseExecutor.execute(PhaseExecutor.java:44)
      5. org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:143)
      6. org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
      7. org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
      8. org.sonarsource.sonarlint.core.container.standalone.StandaloneGlobalContainer.analyze(StandaloneGlobalContainer.java:118)
      9. org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:93)
      10. org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:83)
      10 frames
    11. org.sonarlint.eclipse
      AnalyzeProjectJob$AnalysisThread.run
      1. org.sonarlint.eclipse.core.internal.jobs.StandaloneSonarLintClientFacade.runAnalysis(StandaloneSonarLintClientFacade.java:60)
      2. org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob.run(AnalyzeProjectJob.java:463)
      3. org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob$AnalysisThread.run(AnalyzeProjectJob.java:127)
      3 frames