Continuum
  1. Continuum
  2. CONTINUUM-1957

java.lang.RuntimeException: Missing key 'projectScmRoot'

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1 (Alpha)
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      Continuum-1.3-SNAPSHOT, rev.709643, Linux, MySQL, LDAP
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      2008-11-03 10:23:02,165 [pool-7-thread-1] INFO taskExecutor#prepare-build-project - Ending prepare build
      2008-11-03 10:23:02,166 [Thread-24] ERROR taskQueueExecutor#prepare-build-project - Error executing task
      edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.RuntimeException: Missing key 'projectScmRoot'.
      at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301)
      at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:120)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
      Caused by: java.lang.RuntimeException: Missing key 'projectScmRoot'.
      at org.apache.maven.continuum.core.action.AbstractContinuumAction.getObject(AbstractContinuumAction.java:266)
      at org.apache.maven.continuum.core.action.AbstractContinuumAction.getProjectScmRoot(AbstractContinuumAction.java:216)
      at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.endPrepareBuild(PrepareBuildProjectsTaskExecutor.java:250)
      at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.executeTask(PrepareBuildProjectsTaskExecutor.java:131)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
      at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
      at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      at java.lang.Thread.run(Thread.java:675)
      2008-11-03 10:23:02,324 [btpool0-0] INFO action#projectView - buildResult with id 10628 has been deleted

        Activity

        Hide
        Jimmy Conway added a comment -

        I deleted the project, created it again from scratch. The same story.

        5 days ago everything worked fine.

        Show
        Jimmy Conway added a comment - I deleted the project, created it again from scratch. The same story. 5 days ago everything worked fine.
        Hide
        Jimmy Conway added a comment -

        My SCM URL is in this format (in pom.xml): scm:svn:svn://serve.rcom/dir

        Maybe this is the problem?

        Show
        Jimmy Conway added a comment - My SCM URL is in this format (in pom.xml): scm:svn:svn://serve.rcom/dir Maybe this is the problem?
        Hide
        Maria Catherine Tan added a comment -

        I think the projectScmRoot wasn't set.

        After adding the project, was there an scm root url in the project group summary page?

        Show
        Maria Catherine Tan added a comment - I think the projectScmRoot wasn't set. After adding the project, was there an scm root url in the project group summary page?
        Hide
        Wendy Smoak added a comment -

        Is this still a problem with the 1.3.1 release or latest trunk?

        Show
        Wendy Smoak added a comment - Is this still a problem with the 1.3.1 release or latest trunk?
        Hide
        Brett Porter added a comment -

        this would still be possible if the scm root was not found in the projects - a better safeguard in the executor is needed

        Show
        Brett Porter added a comment - this would still be possible if the scm root was not found in the projects - a better safeguard in the executor is needed

          People

          • Assignee:
            Unassigned
            Reporter:
            Jimmy Conway
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: