-
which versions are you using ?
–> SonarQube : Enterprise Edition Version 7.7 (build 23042) -
what are you trying to achieve?
–> The issue happens when an analysis is received on a particular project. It does not occurs on other projects. -
what have you tried so far to achieve this?
–> I searched this forum and I found this:
Sonar failed to run analysis, attempted update now failing
and this:
Couldn’t find root component with uuid “xyz”
but they are useless (the 2d one does not give any answer)
–> tried to delete the project: same issue occured
–> tried to change the project key ( so we can start again and forget about this bad one): another issue occured:
Caused by: java.lang.IllegalArgumentException: Component description length (599) is longer than the maximum authorized (2000)
Note: (funny) Length 599 longer than 2000 - !!!
Here are the logs:
2019.11.21 22:00:23 INFO ce[][o.s.c.t.CeWorkerImpl] Execute task | project=<Key of my project here> | type=REPORT | id=AW6P-wS6zU_a1YFlTF9Q | submitter=jenkins
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Extract report | status=SUCCESS | time=31ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist scanner context | status=SUCCESS | time=28ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Propagate analysis warnings from scanner report | status=SUCCESS | time=0ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Execute DB migrations for current project | status=SUCCESS | time=19ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Generate analysis UUID | status=SUCCESS | time=0ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Load analysis metadata | status=SUCCESS | time=101ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Initialize | status=SUCCESS | time=40ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Verify billing | status=SUCCESS | time=0ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Build tree of components | components=48 | status=SUCCESS | time=16ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Validate project | status=SUCCESS | time=13ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Load quality profiles | status=SUCCESS | time=301ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Load Quality gate | status=SUCCESS | time=18ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Load new code period | status=SUCCESS | time=93ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Detect file moves | reportFiles=27 | dbFiles=27 | addedFiles=0 | status=SUCCESS | time=7ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Load duplications | duplications=2 | status=SUCCESS | time=0ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute cross project duplications | status=SUCCESS | time=0ms
2019.11.21 22:00:23 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute size measures | status=SUCCESS | time=1ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute new coverage | status=SUCCESS | time=242ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute coverage measures | status=SUCCESS | time=1ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute comment measures | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Copy custom measures | status=SUCCESS | time=3ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute duplication measures | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute duplication data measures | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute size measures on new code | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute language distribution | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute test measures | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute complexity measures | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Load measure computers | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute Quality Profile status | status=SUCCESS | time=401ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Execute component visitors | status=SUCCESS | time=257ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Checks executed after computation of measures | status=SUCCESS | time=142ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute Quality Gate measures | status=SUCCESS | time=0ms
2019.11.21 22:00:24 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Compute Quality profile measures | status=SUCCESS | time=0ms
2019.11.21 22:00:25 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Generate Quality profile events | status=SUCCESS | time=102ms
2019.11.21 22:00:25 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Generate Quality gate events | status=SUCCESS | time=142ms
2019.11.21 22:00:25 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist components | status=SUCCESS | time=33ms
2019.11.21 22:00:25 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist analysis | status=SUCCESS | time=8ms
2019.11.21 22:00:25 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist analysis properties | status=SUCCESS | time=14ms
2019.11.21 22:00:25 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist measures | inserts=86 | status=SUCCESS | time=123ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist live measures | insertsOrUpdates=2346 | status=SUCCESS | time=3031ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist new ad hoc Rules | status=SUCCESS | time=0ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist issues | inserts=0 | updates=0 | merged=0 | untouched=39 | status=SUCCESS | time=23ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist project links | status=SUCCESS | time=13ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist events | status=SUCCESS | time=19ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist sources | status=SUCCESS | time=37ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Persist cross project duplications | status=SUCCESS | time=0ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Enable analysis | status=SUCCESS | time=15ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Update last usage date of quality profiles | status=SUCCESS | time=13ms
2019.11.21 22:00:28 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.s.ComputationStepExecutor] Purge db | status=FAILED | time=142ms
2019.11.21 22:00:29 ERROR ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.CeWorkerImpl] Failed to execute task AW6P-wS6zU_a1YFlTF9Q
org.sonar.ce.task.projectanalysis.component.VisitException: Visit of Component {key=<Key of my project here>,uuid=AWnqcWcPfosSisfEuA_s,type=PROJECT} failed
at org.sonar.ce.task.projectanalysis.component.VisitException.rethrowOrWrap(VisitException.java:44)
at org.sonar.ce.task.projectanalysis.component.DepthTraversalTypeAwareCrawler.visit(DepthTraversalTypeAwareCrawler.java:41)
at org.sonar.ce.task.projectanalysis.purge.PurgeDatastoresStep.execute(PurgeDatastoresStep.java:70)
at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:81)
at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:72)
at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:59)
at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:81)
at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:207)
at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:189)
at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:156)
at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:131)
at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:83)
at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:51)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalArgumentException: Couldn't find root component with uuid AW2jU8yvcMfYDr_fnP7R
at org.sonar.db.purge.PurgeDao.lambda$deleteRootComponent$6(PurgeDao.java:221)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.sonar.db.purge.PurgeDao.deleteRootComponent(PurgeDao.java:221)
at org.sonar.db.purge.PurgeDao.purgeStaleBranches(PurgeDao.java:86)
at org.sonar.db.purge.PurgeDao.purge(PurgeDao.java:71)
at org.sonar.ce.task.projectanalysis.purge.ProjectCleaner.purge(ProjectCleaner.java:63)
at org.sonar.ce.task.projectanalysis.purge.PurgeDatastoresStep.execute(PurgeDatastoresStep.java:76)
at org.sonar.ce.task.projectanalysis.purge.PurgeDatastoresStep.access$000(PurgeDatastoresStep.java:38)
at org.sonar.ce.task.projectanalysis.purge.PurgeDatastoresStep$1.visitProject(PurgeDatastoresStep.java:63)
at org.sonar.ce.task.projectanalysis.component.DepthTraversalTypeAwareCrawler.visitNode(DepthTraversalTypeAwareCrawler.java:70)
at org.sonar.ce.task.projectanalysis.component.DepthTraversalTypeAwareCrawler.visitImpl(DepthTraversalTypeAwareCrawler.java:51)
at org.sonar.ce.task.projectanalysis.component.DepthTraversalTypeAwareCrawler.visit(DepthTraversalTypeAwareCrawler.java:39)
... 18 common frames omitted
2019.11.21 22:00:29 INFO ce[AW6P-wS6zU_a1YFlTF9Q][o.s.c.t.CeWorkerImpl] Executed task | project=<Key of my project here> | type=REPORT | id=AW6P-wS6zU_a1YFlTF9Q | submitter=jenkins | status=FAILED | time=6322ms