[ http://jira.codehaus.org/browse/WAGONFTP-12?page=all ]
Carlos Sanchez closed WAGONFTP-12:
----------------------------------
Assign To: Carlos Sanchez
Resolution: Duplicate
> Null-Pointer Exception when password tag missing or empty in maven2
> settings.xml
> --------------------------------------------------------------------------------
>
> Key: WAGONFTP-12
> URL: http://jira.codehaus.org/browse/WAGONFTP-12
> Project: wagon-ftp
> Type: Bug
> Versions: 1.0-alpha-6
> 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