Continuum
  1. Continuum
  2. CONTINUUM-644

ConcurrentModificationException when having 2 maven-1 projects that use multiproject builds.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux hostname 2.6.12-10-686-smp #1 SMP Sat Mar 11 16:41:12 UTC 2006 i686 GNU/Linux
      JDK-1.4.2_10
      maven-1.1-beta-2
    • Complexity:
      Expert
    • Number of attachments :
      0

      Description

      java.util.ConcurrentModificationException
      at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
      at java.util.AbstractList$Itr.next(AbstractList.java:419)
      at org.apache.maven.continuum.execution.maven.m1.DefaultMavenOneMetadataHelper.mapMetadata(DefaultMavenOneMetadataHelper.java:288)
      at org.apache.maven.continuum.execution.maven.m1.MavenOneBuildExecutor.updateProjectFromCheckOut(MavenOneBuildExecutor.java:108)
      at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:62)
      at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:169)
      at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
      at java.lang.Thread.run(Thread.java:534)

        Activity

        Hide
        Carlo Bonamico added a comment -

        I am seeing this problem also with a single Maven-1 project with multi-project support. I have this problem also if I invoke a target only on the main project...

        Show
        Carlo Bonamico added a comment - I am seeing this problem also with a single Maven-1 project with multi-project support. I have this problem also if I invoke a target only on the main project...
        Hide
        Emmanuel Venisse added a comment -

        do you have modified notifiers list during the build of the project?

        Show
        Emmanuel Venisse added a comment - do you have modified notifiers list during the build of the project?
        Hide
        Chris lutje Spelberg added a comment -

        Additional information:

        From a fresh installation I performed the following steps:
        1. add a maven 1 project that builds with multiproject:install -> build successful
        2. add another maven 1 project that builds with multiproject:install -> build successful
        3. the first project does not build anymore and shows the ConcurrentModificationException, the second project still builds successfully.

        Show
        Chris lutje Spelberg added a comment - Additional information: From a fresh installation I performed the following steps: 1. add a maven 1 project that builds with multiproject:install -> build successful 2. add another maven 1 project that builds with multiproject:install -> build successful 3. the first project does not build anymore and shows the ConcurrentModificationException, the second project still builds successfully.
        Hide
        Chris lutje Spelberg added a comment -

        I have added a mail notifier for both projects

        Show
        Chris lutje Spelberg added a comment - I have added a mail notifier for both projects
        Hide
        Emmanuel Venisse added a comment -

        where do you added notifiers? in continuum or in your poms?

        Can you attach sample projects?

        Show
        Emmanuel Venisse added a comment - where do you added notifiers? in continuum or in your poms? Can you attach sample projects?
        Hide
        Emmanuel Venisse added a comment -

        I found the problem

        Show
        Emmanuel Venisse added a comment - I found the problem
        Hide
        Emmanuel Venisse added a comment -

        Fixed.

        Show
        Emmanuel Venisse added a comment - Fixed.
        Hide
        Chris lutje Spelberg added a comment -

        Thanks for the fast response! I will try the latest version.

        Show
        Chris lutje Spelberg added a comment - Thanks for the fast response! I will try the latest version.

          People

          • Assignee:
            Emmanuel Venisse
            Reporter:
            Chris lutje Spelberg
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: