maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Moved: (WAGON-186) SFTP deploy causes NullPointerException
Date Wed, 14 May 2008 07:37:28 GMT

     [ http://jira.codehaus.org/browse/WAGON-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter moved WAGONSSH-22 to WAGON-186:
--------------------------------------------

    Affects Version/s:     (was: 1.0-alpha-4)
        Fix Version/s:     (was: 1.0-alpha-6)
                       1.0-alpha-6
          Component/s:     (was: wagon-ssh)
                       wagon-ssh
                  Key: WAGON-186  (was: WAGONSSH-22)
              Project: Maven Wagon  (was: wagon-ssh)

> SFTP deploy causes NullPointerException
> ---------------------------------------
>
>                 Key: WAGON-186
>                 URL: http://jira.codehaus.org/browse/WAGON-186
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>         Environment: Windows XP, Maven 2 Final
>            Reporter: K.C. Baltz
>            Assignee: Brett Porter
>             Fix For: 1.0-alpha-6
>
>
> I'm new to M2, so this may be user error, but even still, I think a more useful error
message would be appropriate.
> I'm trying to deploy my project to an internal Remote Repository using SCP or SFTP (SCP
fails with the "session is down" message, so I'm trying SFTP).  I get the attached trace during
my build.  I'm not exactly sure what metadata it's hoping to find.  
> flexo is the name of the server.  
> Uploading: sftp://flexo/export/home/kcbaltz/testM2Repo/com/copart/core/core/1.0-SNAPSHOT/core-1.0-20051028.001955-1.jar
> [INFO] Retrieving previous metadata from flexo
> [INFO] -------------------------------------------------------------------------
> ---
> [ERROR] FATAL ERROR
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] null
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.wagon.observers.ChecksumObserver.transferStarted(ChecksumObserver.java:65)
>         at org.apache.maven.wagon.events.TransferEventSupport.fireTransferStarted(TransferEventSupport.java:100)
>         at org.apache.maven.wagon.AbstractWagon.fireGetStarted(AbstractWagon.java:339)
>         at org.apache.maven.wagon.providers.ssh.SftpWagon.getIfNewer(SftpWagon.java:264)
>         at org.apache.maven.wagon.providers.ssh.SftpWagon.get(SftpWagon.java:302)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum(DefaultWagonManager.java:518)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:404)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:295)
>         at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:334)
>         at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:379)
>         at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:83)
>         at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] -------------------------------------------------------------------------

-- 
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

        

Mime
View raw message