Continuum
  1. Continuum
  2. CONTINUUM-2419

Unable to build multiple independent projects in the same project group when distributed build is enabled

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4 (Beta)
    • Fix Version/s: 1.3.5 (Beta)
    • Component/s: Distributed Builds
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Building multiple independent projects in the same project group result to a build error.

      java.lang.NullPointerException
      at org.apache.continuum.builder.distributed.executor.DistributedBuildProjectTaskExecutor.initializeBuildContext(DistributedBuildProjectTaskExecutor.java:144)
      at org.apache.continuum.builder.distributed.executor.DistributedBuildProjectTaskExecutor.executeTask(DistributedBuildProjectTaskExecutor.java:107)
      at org.apache.continuum.builder.distributed.executor.ThreadedDistributedBuildTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedDistributedBuildTaskQueueExecutor.java:118)
      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:176)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
      at java.lang.Thread.run(Thread.java:595)

        Activity

        Hide
        Wendy Smoak added a comment -

        Can you add a description of what goes wrong?

        Show
        Wendy Smoak added a comment - Can you add a description of what goes wrong?
        Hide
        Maria Catherine Tan added a comment -

        added check if map contains key to prevent NPE

        r897757 of 1.3.x branch
        r897759 of trunk

        Show
        Maria Catherine Tan added a comment - added check if map contains key to prevent NPE r897757 of 1.3.x branch r897759 of trunk

          People

          • Assignee:
            Maria Catherine Tan
            Reporter:
            Maria Catherine Tan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: