continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Morales Martinez (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (CONTINUUM-2124) NPE when building Shell or Ant project
Date Mon, 16 Mar 2009 00:55:12 GMT

     [ http://jira.codehaus.org/browse/CONTINUUM-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jose Morales Martinez updated CONTINUUM-2124:
---------------------------------------------

    Attachment: CONTINUUM-2124.patch

This patch creates the scmRoot when you add a console or ant project. I tested the patch with
the scm [1]. 

[1]scm:svn:http://svn.apache.org/repos/asf/ant/sandbox/parallelexecutor/

> NPE when building Shell or Ant project
> --------------------------------------
>
>                 Key: CONTINUUM-2124
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2124
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>         Environment: Continuum Version: 	1.3.2-SNAPSHOT
> Build Number: 	752591
>            Reporter: Wendy Smoak
>             Fix For: 1.3.x
>
>         Attachments: CONTINUUM-2124.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message