Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-132

Null-Pointer Exception when password tag missing or empty in maven2 settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • wagon-ftp
    • None
    • Windows-XP, Maven 2.0.2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              arueegg Alex Rueegg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: