Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2124

NPE when building Shell or Ant project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2 (Beta)
    • Fix Version/s: 1.3.2 (Beta)
    • Component/s: None
    • Labels:
      None
    • Environment:
      Continuum Version: 1.3.2-SNAPSHOT
      Build Number: 752591

      Description

      After adding a shell project (which has problems: CONTINUUM-2083, CONTINUUM-1859) I get a NPE trying to build it:

      Error Occurred
      java.lang.NullPointerException
      Show/hide Stack Trace
      java.lang.NullPointerException
      at org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:1045)
      at org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:1002)
      at org.apache.maven.continuum.web.action.BuildProjectAction.execute(BuildProjectAction.java:66)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      ...

      DefaultContinuum 1045-1046 is:
      prepareBuildProjects( projectsBuildDefinitionsMap, trigger, scmRoot.getScmRootAddress(),
      scmRoot.getProjectGroup().getId(), scmRoot.getId() );

      There is no SCM Root URL shown on the Project Group Summary tab.

      The same thing happens when trying to build an Ant project, though the NPE is on line 1076 there.

        Attachments

        1. CONTINUUM-2124.patch
          2 kB
          Jose Morales Martinez

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: