org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : '/workingDir/src/main/java/package/JavaFile.java'

Stack Overflow | James McShane | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SonarQube 5.6 FileNotFound exception during AST Scan

    Stack Overflow | 9 months ago | James McShane
    org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : '/workingDir/src/main/java/package/JavaFile.java'
  2. 0

    Created Volumes in Docker plugin, are not owned by daemon.

    GitHub | 2 years ago | kanuku
    java.io.FileNotFoundException: /data/demo/logs/application.log (Permission denied)
  3. 0

    Custom theme with spring boot failes to persist cache

    GitHub | 2 years ago | eiswind
    java.io.FileNotFoundException: /tmp/tomcat-docbase.7952762783312185530.8080/VAADIN/themes/mytheme/styles.scss.cache (Datei oder Verzeichnis nicht gefunden)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4856#121583451

    GitHub | 2 years ago | michalzubkowicz
    java.io.FileNotFoundException: logs/application.log (No such file or directory)
  6. 0

    apkpatch 脚本报错。

    GitHub | 1 year ago | dengluoy
    java.io.FileNotFoundException: /merge.apatch (Permission denied)
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.io.FileNotFoundException

    /workingDir/.sonar/batch-report/symbols-34.pb (No such file or directory)

    at java.io.FileOutputStream.open0()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open0(Native Method)
    2. java.io.FileOutputStream.open(FileOutputStream.java:270)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    3 frames
  3. org.sonar.core
    Protobuf.writeStream
    1. org.sonar.core.util.Protobuf.writeStream(Protobuf.java:95)
    1 frame
  4. org.sonar.scanner
    ScannerReportWriter.writeComponentSymbols
    1. org.sonar.scanner.protocol.output.ScannerReportWriter.writeComponentSymbols(ScannerReportWriter.java:109)
    1 frame
  5. org.sonar.batch
    DefaultSensorStorage.store
    1. org.sonar.batch.sensor.DefaultSensorStorage.store(DefaultSensorStorage.java:202)
    1 frame
  6. SonarQube :: Plugin API
    DefaultStorable.save
    1. org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable.doSave(DefaultSymbolTable.java:146)
    2. org.sonar.api.batch.sensor.internal.DefaultStorable.save(DefaultStorable.java:43)
    2 frames
  7. SonarQube Java :: Squid
    JavaSquid.scan
    1. org.sonar.java.ast.visitors.SonarSymbolTableVisitor.visitCompilationUnit(SonarSymbolTableVisitor.java:61)
    2. org.sonar.java.model.VisitorsBridge.createSonarSymbolTable(VisitorsBridge.java:176)
    3. org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:112)
    4. org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:84)
    5. org.sonar.java.ast.JavaAstScanner.scan(JavaAstScanner.java:67)
    6. org.sonar.java.JavaSquid.scanSources(JavaSquid.java:133)
    7. org.sonar.java.JavaSquid.scan(JavaSquid.java:126)
    7 frames
  8. org.sonar.plugins
    JavaSquidSensor.execute
    1. org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:93)
    1 frame
  9. org.sonar.batch
    SensorWrapper.analyse
    1. org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57)
    1 frame
  10. SonarQube
    ModuleScanContainer.doAfterStart
    1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
    2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
    3. org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)
    4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)
    4 frames
  11. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
    2 frames
  12. SonarQube
    ProjectScanContainer.doAfterStart
    1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)
    2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
    3. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:234)
    4. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
    4 frames
  13. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
    2 frames
  14. org.sonar.batch
    TaskContainer.doAfterStart
    1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)
    2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
    2 frames
  15. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
    2 frames
  16. SonarQube
    Batch.executeTask
    1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)
    2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
    2 frames
  17. org.sonarsource.scanner
    BatchIsolatedLauncher.execute
    1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
    1 frame
  18. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  19. org.sonarsource.scanner
    IsolatedLauncherProxy.invoke
    1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
    1 frame
  20. com.sun.proxy
    $Proxy0.execute
    1. com.sun.proxy.$Proxy0.execute(Unknown Source)
    1 frame
  21. org.sonarsource.scanner
    Main.main
    1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)
    2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
    3. org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
    4. org.sonarsource.scanner.cli.Main.execute(Main.java:72)
    5. org.sonarsource.scanner.cli.Main.main(Main.java:60)
    5 frames