jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-314

ConsolidationException on multi-modules projects if continuum is badly configured

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.3, 1.4, 1.4.1, 1.4.2
  • Fix Version/s: 1.5
  • Component/s: None
  • Labels:
    None
  • Environment:
    continuum, sonar 1.3, MySQL 5.0, Maven 2.0.9

Description

Note that the continuum configuration is not valid. It does not respect our recommendations, bit it should not fail !

2008.07.08 15:41:49 DEBUG org.hibernate.SQL  select mavenproje0_.id as id3_0_, mavenproje0_.description as descript2_3_0_, mavenproje0_.enabled as enabled3_0_, mavenproje0_.kee as kee3_0_, mavenproje0_.name as name3_0_, mavenproje0_.qualifier as qualifier3_0_, mavenproje0_.root_id as root7_3_0_, mavenproje0_.scope as scope3_0_ from projects mavenproje0_ where mavenproje0_.id=?
2008.07.08 15:41:49 ERROR o.s.c.c.ConsolidationTask project=Projet Plus projectName Webapp, task=org.sonar.core.consolidation.ConsolidationTask, snapshot=10962 Cannot process the snapshot
org.sonar.core.consolidation.ConsolidationException: Could not consolidate the following node : Projet Plus projectName Webapp
    at org.sonar.core.consolidation.TreeProcessor.process(TreeProcessor.java:79)
    at org.sonar.core.consolidation.TreeProcessor.process(TreeProcessor.java:56)
    at org.sonar.core.consolidation.ConsolidationTask.execute(ConsolidationTask.java:77)
    at org.sonar.core.batch.AbstractTask.run(AbstractTask.java:53)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.java:123)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
Caused by: javax.persistence.NonUniqueResultException: result returns 2 elements
    at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:89)
    at org.sonar.commons.database.BatchDatabaseManager.getSingleResult(BatchDatabaseManager.java:123)
    at org.sonar.core.consolidation.internal.UpdateStatusService.updateStatus(UpdateStatusService.java:76)
    at org.sonar.core.consolidation.internal.UpdateStatusService.execute(UpdateStatusService.java:65)
    at org.sonar.core.consolidation.TreeProcessor.process(TreeProcessor.java:72)
    ... 11 common frames omitted

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 14/Jul/08 2:04 AM

Can not reproduce the bug. Postponed.

Show
Simon Brandhof added a comment - 14/Jul/08 2:04 AM Can not reproduce the bug. Postponed.
Hide
Permalink
Freddy Mallet added a comment - 08/Dec/08 2:28 PM

This issue seems to be directly related to this discussion thread on the mailing list and the problem is solved in Sonar 1.5.

Show
Freddy Mallet added a comment - 08/Dec/08 2:28 PM This issue seems to be directly related to this discussion thread on the mailing list and the problem is solved in Sonar 1.5.

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Simon Brandhof
Vote (0)
Watch (0)

Dates

  • Created:
    09/Jul/08 2:37 AM
    Updated:
    08/Dec/08 2:28 PM
    Resolved:
    08/Dec/08 2:28 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.