java.lang.IllegalStateException: Metadata file is missing in analysis report: /opt/sonarqube/temp/ce/4503300646662337778/1166276772141785200/metadata.pb

Google Groups | Paul Wagland | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SonarQube regularly failing to process new sonar-scanner scan

    Google Groups | 5 months ago | Paul Wagland
    java.lang.IllegalStateException: Metadata file is missing in analysis report: /opt/sonarqube/temp/ce/4503300646662337778/1166276772141785200/metadata.pb

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Metadata file is missing in analysis report: /opt/sonarqube/temp/ce/4503300646662337778/1166276772141785200/metadata.pb

      at org.sonar.scanner.protocol.output.ScannerReportReader.readMetadata()
    2. org.sonar.scanner
      ScannerReportReader.readMetadata
      1. org.sonar.scanner.protocol.output.ScannerReportReader.readMetadata(ScannerReportReader.java:40)[sonar-scanner-protocol-6.0.jar:na]
      1 frame
    3. org.sonar.server
      CeWorkerCallableImpl.call
      1. org.sonar.server.computation.batch.BatchReportReaderImpl.readMetadata(BatchReportReaderImpl.java:52)[sonar-server-6.0.jar:na]
      2. org.sonar.server.computation.step.LoadReportAnalysisMetadataHolderStep.execute(LoadReportAnalysisMetadataHolderStep.java:62)[sonar-server-6.0.jar:na]
      3. org.sonar.server.computation.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64)[sonar-server-6.0.jar:na]
      4. org.sonar.server.computation.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52)[sonar-server-6.0.jar:na]
      5. org.sonar.server.computation.taskprocessor.report.ReportTaskProcessor.process(ReportTaskProcessor.java:75)[sonar-server-6.0.jar:na]
      6. org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:81)[sonar-server-6.0.jar:na]
      7. org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:56)[sonar-server-6.0.jar:na]
      8. org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35)[sonar-server-6.0.jar:na]
      8 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_92-internal]
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_92-internal]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_92-internal]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_92-internal]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_92-internal]
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_92-internal]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_92-internal]
      8. java.lang.Thread.run(Thread.java:745)[na:1.8.0_92-internal]
      8 frames