continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1886) NPE when deleting a project group when ReleaseOutputDirectory is not defined
Date Wed, 17 Sep 2008 22:43:48 GMT

    [ 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

        

Mime
View raw message