-----Original Message----- From: Brett Porter (JIRA) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 12:37 PM To: issues@maven.apache.org Subject: [jira] Moved: (WAGON-140) WAGONFTP Nullpointer Exception
[ http://jira.codehaus.org/browse/WAGON-140?page=com.atlassian.jira.plugin.sys tem.issuetabpanels:all-tabpanel ] Brett Porter moved WAGONFTP-21 to WAGON-140: -------------------------------------------- Affects Version/s: (was: 1.0-alpha-6) Component/s: (was: wagon-ftp) wagon-ftp Key: WAGON-140 (was: WAGONFTP-21) Project: Maven Wagon (was: wagon-ftp) > WAGONFTP Nullpointer Exception > ------------------------------ > > Key: WAGON-140 > URL: http://jira.codehaus.org/browse/WAGON-140 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-ftp > Environment: Solaris > Reporter: Jamish Patel > > Getting the following error similar to this user: > http://jira.codehaus.org/browse/WAGONFTP-17 > Pretty sure user id and password is correct for the machine that I am trying to ftp to > One thing I did not understand in the url above was 'will be thrown if there is a host mismatch' > Mismatch with what? > Here's the exception: > [INFO] Retrieving previous build number from internal-snapshot > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > [INFO] ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NullPointerException > at org.apache.maven.wagon.providers.ftp.FtpWagon.openConnection(FtpWagon.java:1 27) > at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) > at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultW agonManager.java:354) > at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(De faultWagonManager.java:295) > at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManag er.resolveAlways(DefaultRepositoryMetadataManager.java:356) > at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManag er.resolveAlways(DefaultRepositoryMetadataManager.java:310) > at org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatestSnap shotBuildNumber(SnapshotTransformation.java:158) > at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeplo yment(SnapshotTransformation.java:97) > at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.tra nsformForDeployment(DefaultArtifactTransformationManager.java:61) > at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArt ifactDeployer.java:68) > at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162) -- 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 DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.