continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1886) NPE when deleting a project group when ReleaseOutputDirectory is not defined
Date Mon, 22 Sep 2008 06:16:45 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148668#action_148668
] 

Wendy Smoak commented on CONTINUUM-1886:
----------------------------------------

As a workaround, you should be able to set the value for the release output directory in the
conf/continuum.xml file.  (Shut down, edit the file, then start.)  Here's an example file:

{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<continuum-configuration>
  <baseUrl>http://localhost:8080/continuum</baseUrl>
  <buildOutputDirectory>/path/to/build-output-directory</buildOutputDirectory>
  <workingDirectory>/path/to/working-directory</workingDirectory>
  <releaseOutputDirectory>/path/to/release-output-directory</releaseOutputDirectory>
</continuum-configuration>
{noformat}

> NPE when deleting a project group when ReleaseOutputDirectory is not defined
> ----------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1886
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1886
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.2
>            Reporter: Olivier Lamy
>            Assignee: Maria Catherine Tan
>             Fix For: 1.2.1
>
>
> {code}
> java.lang.NullPointerException
> 	at org.apache.maven.continuum.configuration.DefaultConfigurationService.setReleaseOutputDirectory(DefaultConfigurationService.java:263)
> 	at org.apache.maven.continuum.configuration.DefaultConfigurationService.getReleaseOutputDirectory(DefaultConfigurationService.java:253)
> 	at org.apache.maven.continuum.configuration.DefaultConfigurationService.getReleaseOutputDirectory(DefaultConfigurationService.java:317)
> 	at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:813)
> 	at org.apache.maven.continuum.DefaultContinuum.removeProjectGroup(DefaultContinuum.java:346)
> 	at org.apache.maven.continuum.web.action.ProjectGroupAction.remove(ProjectGroupAction.java:283)
> {code}

-- 
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