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 Sun, 21 Sep 2008 20:00:45 GMT

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

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

In theory, a releaseOutputDirectory shouldn't be required -- not everyone uses the release
feature of Continuum and they shouldn't be forced to care about it.

However, as it apparently is required, sending them to the configuration screen as we do on
startup is better than throwing NPEs.

> 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