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
-
Complexity:Intermediate
-
Number of attachments :
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.
There's another NPE when trying to delete the project group, but I assume it will clear up when the SCM Root URL is added so I'll hold off opening another issue.
Error Occurred
java.lang.NullPointerException
Show/hide Stack Trace
java.lang.NullPointerException
at org.apache.maven.continuum.DefaultContinuum.removeProjectScmRoot(DefaultContinuum.java:3237)
at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:692)
at org.apache.maven.continuum.DefaultContinuum.removeProjectGroup(DefaultContinuum.java:422)
at org.apache.maven.continuum.web.action.ProjectGroupAction.remove(ProjectGroupAction.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)