Continuum

Unable to send mail with more than one build definition

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-3
  • Fix Version/s: 1.1-beta-4
  • Component/s: Notifier - Mail
  • Labels:
    None
  • Environment:
    xp, maven 2.0.7, jse 5
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

here is the trace log

9884077 [pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default

  • Error while trying to use the mail notifier.
    org.codehaus.plexus.notification.NotificationException: INTERNAL
    ERROR: The current build wasn't the first in the build list. Current
    build: '288', first build: '284'.
    at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.getPreviousBuild(MailContinuumNotifier.java:554)
    at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:241)
    at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:227)
    at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199)
    at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151)

My build has quite a few build definitions running at the same scheduler.
ie builds are serialized

Activity

Hide
Dan Tran added a comment -

I think it is relate to the following scenario:

1 project group with 2 shell project.

Then create the 2 second project, the first project's build definition automatically become the
second proejct' build definition. ie 2 projects share the same default build definition.

My DB corrupted?

Show
Dan Tran added a comment - I think it is relate to the following scenario: 1 project group with 2 shell project. Then create the 2 second project, the first project's build definition automatically become the second proejct' build definition. ie 2 projects share the same default build definition. My DB corrupted?
Hide
Dan Tran added a comment -

I can surely confirm that 2 shell projects in the same group share the same default build. ie change the default configuration build def on one project will see the same settings on the other shell project

Show
Dan Tran added a comment - I can surely confirm that 2 shell projects in the same group share the same default build. ie change the default configuration build def on one project will see the same settings on the other shell project
Hide
Emmanuel Venisse added a comment -

How did you create your 1.1-beta-3 db? Did you use the migration tool to migrate from an old db or did you use a fresh db?

Show
Emmanuel Venisse added a comment - How did you create your 1.1-beta-3 db? Did you use the migration tool to migrate from an old db or did you use a fresh db?
Hide
Dan Tran added a comment -

I started continuum 1.1 -beta 3 from scratch.

the problem is reproduceable using a brand new continuum 1.1 beta3 on a different machine as well

Show
Dan Tran added a comment - I started continuum 1.1 -beta 3 from scratch. the problem is reproduceable using a brand new continuum 1.1 beta3 on a different machine as well
Hide
Emmanuel Venisse added a comment -

Fixed.

Show
Emmanuel Venisse added a comment - Fixed.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: