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

Google Groups | Paul Wagland | 4 months ago
  1. 0

    SonarQube regularly failing to process new sonar-scanner scan

    Google Groups | 4 months ago | Paul Wagland
    java.lang.IllegalStateException: Metadata file is missing in analysis report: /opt/sonarqube/temp/ce/4503300646662337778/1166276772141785200/metadata.pb
  2. 0
    samebug tip
    Update to Grails 3.0.x
  3. 0
    samebug tip
    All look like I had something else running on my machine that was interfering with it. Once I rebooted it runs without issue.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  6. 0
    samebug tip
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").

    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.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