You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2008/09/18 00:43:48 UTC

[jira] Commented: (CONTINUUM-1886) NPE when deleting a project group when ReleaseOutputDirectory is not defined

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

Olivier Lamy commented on CONTINUUM-1886:
-----------------------------------------

configuring the value fix the issue. But we could redirect the user to the configuration page if releaseOutputDirectory is empty as it looks mandatory here or we have to be NPE free in DefaultConfigurationService.

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