Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 71848 invoked from network); 17 Sep 2008 22:44:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 22:44:47 -0000 Received: (qmail 86810 invoked by uid 500); 17 Sep 2008 22:44:44 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 86780 invoked by uid 500); 17 Sep 2008 22:44:44 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 86769 invoked by uid 99); 17 Sep 2008 22:44:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 15:44:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 22:43:46 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id B3DE314A8012 for ; Wed, 17 Sep 2008 17:43:48 -0500 (CDT) Message-ID: <19016229.1221691428720.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 17 Sep 2008 17:43:48 -0500 (CDT) From: "Olivier Lamy (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-1886) NPE when deleting a project group when ReleaseOutputDirectory is not defined In-Reply-To: <23351368.1221664968731.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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