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

Error "Unable to register OriginalFile" when tracking file moves

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: Issues
    • Labels:

      Description

      2016.08.22 13:19:44 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task AVax-gBqbw16-njEYaac
      java.lang.IllegalStateException: Original file OriginalFile{id=1051891, uuid='AVTLGYyCtu4QdCAX4BdH', key='org.codehaus.sonar-plugins.css:css-squid:src/main/java/org/sonar/css/model/atrule/standard/CharacterVariant.java'} already registered for file ComponentImpl{key='org.codehaus.sonar-plugins.css:css-frontend:src/main/java/org/sonar/css/model/atrule/standard/CharacterVariant.java', type=FILE, uuid='AVax-gR-cLjTdyDsYsCk', name='', description='null', fileAttributes=FileAttributes{languageKey='java', unitTest=false}, reportAttributes=ReportAttributes{ref=23, version='null', path='src/main/java/org/sonar/css/model/atrule/standard/CharacterVariant.java'}}. Unable to register OriginalFile{id=1051890, uuid='AVTLGYyCtu4QdCAX4BdG', key='org.codehaus.sonar-plugins.css:css-squid:src/main/java/org/sonar/css/model/atrule/standard/Annotation.java'}.
      	at com.google.common.base.Preconditions.checkState(Preconditions.java:197) ~[guava-18.0.jar:na]
      	at org.sonar.server.computation.filemove.MutableMovedFilesRepositoryImpl.setOriginalFile(MutableMovedFilesRepositoryImpl.java:41) ~[sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.filemove.FileMoveDetectionStep.registerMatches(FileMoveDetectionStep.java:144) ~[sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.filemove.FileMoveDetectionStep.execute(FileMoveDetectionStep.java:139) ~[sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64) ~[sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52) ~[sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.taskprocessor.report.ReportTaskProcessor.process(ReportTaskProcessor.java:75) ~[sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:81) [sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:56) [sonar-server-6.0.jar:na]
      	at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35) [sonar-server-6.0.jar:na]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_101]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_101]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_101]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_101]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_101]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_101]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_101]
      	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
      2016.08.22 13:19:44 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=org.codehaus.sonar-plugins.css:css | type=REPORT | id=AVax-gBqbw16-njEYaac | submitter=racodond@github | time=17668ms
      

        Attachments

          Activity

            People

            Assignee:
            sebastien.lesaint Sebastien Lesaint
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: