You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alex Rueegg (JIRA)" <ji...@codehaus.org> on 2006/05/24 18:08:41 UTC

[jira] Created: (WAGONFTP-12) Null-Pointer Exception when password tag missing or empty in maven2 settings.xml

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


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


[jira] Closed: (WAGONFTP-12) Null-Pointer Exception when password tag missing or empty in maven2 settings.xml

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ 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


[jira] Moved: (WAGON-132) Null-Pointer Exception when password tag missing or empty in maven2 settings.xml

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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