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

NPE when building Shell or Ant project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2 (Beta)
    • 1.3.2 (Beta)
    • None
    • None
    • 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

            ctan Maria Catherine R. Tan
            wsmoak Wendy Smoak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: