Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8835

CE fails with NPE at FileMoveDetectionStep.getFile()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3
    • Component/s: Compute Engine
    • Labels:

      Description

      From mailing-list:

      2017.02.04 02:01:32 INFO  
      ce[AVoGXskLyTAdHKL9mQ2G][o.s.s.c.t.CeWorkerCallableImpl] Execute task | 
      project=SDC | type=REPORT | id=AVoGXskLyTAdHKL9mQ2G
      2017.02.04 02:03:07 ERROR ce[AVoGXskLyTAdHKL9mQ2G][o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task AVoGXskLyTAdHKL9mQ2G
      java.lang.NullPointerException: null
              at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)
              at com.google.common.base.Splitter.splitToList(Splitter.java:416)
             
       at 
      org.sonar.server.computation.task.projectanalysis.filemove.FileMoveDetectionStep.getFile(FileMoveDetectionStep.java:239)
             
       at 
      org.sonar.server.computation.task.projectanalysis.filemove.FileMoveDetectionStep.computeScoreMatrix(FileMoveDetectionStep.java:208)
             
       at 
      org.sonar.server.computation.task.projectanalysis.filemove.FileMoveDetectionStep.execute(FileMoveDetectionStep.java:127)
              at org.sonar.server.computation.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64)
              at org.sonar.server.computation.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52)
             
       at 
      org.sonar.server.computation.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:75)
              at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:84)
              at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:57)
              at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35)
              at java.util.concurrent.FutureTask.run(FutureTask.java:277)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
              at java.util.concurrent.FutureTask.run(FutureTask.java:277)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:191)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.lang.Thread.run(Thread.java:785)
      2017.02.04
       02:03:07 ERROR ce[AVoGXskLyTAdHKL9mQ2G][o.s.s.c.t.CeWorkerCallableImpl]
       Executed task | project=SDC | type=REPORT | id=AVoGXskLyTAdHKL9mQ2G | 
      time=95014ms
      

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: