[
http://jira.codehaus.org/browse/WAGON-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter moved WAGONFTP-12 to WAGON-132:
--------------------------------------------
Affects Version/s: (was: 1.0-alpha-6)
Component/s: (was: wagon-ftp)
wagon-ftp
Key: WAGON-132 (was: WAGONFTP-12)
Project: Maven Wagon (was: wagon-ftp)
> Null-Pointer Exception when password tag missing or empty in maven2
> settings.xml
> --------------------------------------------------------------------------------
>
> Key: WAGON-132
> URL: http://jira.codehaus.org/browse/WAGON-132
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ftp
> Environment: Windows-XP, Maven 2.0.2
> Reporter: Alex Rueegg
> Assignee: Carlos Sanchez
>
> A Null-Pointer Exception is thrown when the password tag in settings.xml is
> not given or kept blank. I guess it is this line
> if ( !ftp.login( username.trim(), password.trim() ) )
> where the trim() method is invoked on a null object.
--
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