Continuum
  1. Continuum
  2. CONTINUUM-2124

NPE when building Shell or Ant project

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Wendy Smoak created issue -
        Wendy Smoak made changes -
        Field Original Value New Value
        Fix Version/s 1.3.x [ 14168 ]
        Jose Morales Martinez made changes -
        Attachment CONTINUUM-2124.patch [ 40687 ]
        Maria Catherine Tan made changes -
        Assignee Maria Catherine Tan [ ctan ]
        Maria Catherine Tan made changes -
        Fix Version/s 1.3.2 [ 14902 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.3.x [ 14168 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12710776 ] Default workflow, editable Closed status [ 12738381 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948359 ] Default workflow, editable Closed status [ 12983797 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development