NPE when no RELEASE_OUTPUT_DIRECTORY defined
--------------------------------------------

                 Key: CONTINUUM-1904
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1904
             Project: Continuum
          Issue Type: Bug
          Components: Web interface
    Affects Versions: 1.2
            Reporter: Gerke Forcare
            Priority: Minor


Steps to reproduce:
 * Upgrade from 1.1 to 1.2
 * Field RELEASE_OUTPUT_DIRECTORY in SYSTEMCONFIGURATION is NULL (or it might 
have been empty, not sure)
 * Open Web-UI
 * Click on "General Configuration'

Expected result:
 * One can configure Continuum

Actual result:
 * A NPE like this one:
{{{
java.lang.NullPointerException
        at 
org.apache.maven.continuum.configuration.DefaultConfigurationService.setReleaseOutputDirectory(DefaultConfigurationService.java:xxx)
        at 
org.apache.maven.continuum.configuration.DefaultConfigurationService.getReleaseOutputDirectory(DefaultConfigurationService.java:xxx)
}}}


Workaround:
 * Set the field RELEASE_OUTPUT_DIRECTORY in SYSTEMCONFIGURATION to something 
useful manually and restart continuum


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

        

Reply via email to