You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric Barroca (JIRA)" <ji...@codehaus.org> on 2007/05/06 03:49:12 UTC

[jira] Created: (WAGON-83) mvn deploy causes NPE in ChecksumObserver.transferStarted

mvn deploy causes NPE in ChecksumObserver.transferStarted 
----------------------------------------------------------

                 Key: WAGON-83
                 URL: http://jira.codehaus.org/browse/WAGON-83
             Project: wagon
          Issue Type: Bug
          Components: wagon-webdav
    Affects Versions: 1.0-beta-2
            Reporter: Eric Barroca
         Attachments: mvn-deploy-wagon-error.log

When doing a mvn deploy to an archiva repository, I get a NPE in ChecksumObserver.transferStarted. I can reproduce it every time on this project.
The strange thing is that I never get it on other projects.

Full debug log attached.

-- 
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] Updated: (WAGON-83) mvn deploy causes NPE in ChecksumObserver.transferStarted

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated WAGON-83:
------------------------------

    Fix Version/s: 1.0-beta-3

> mvn deploy causes NPE in ChecksumObserver.transferStarted 
> ----------------------------------------------------------
>
>                 Key: WAGON-83
>                 URL: http://jira.codehaus.org/browse/WAGON-83
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Eric Barroca
>             Fix For: 1.0-beta-3
>
>         Attachments: mvn-deploy-wagon-error.log
>
>
> When doing a mvn deploy to an archiva repository, I get a NPE in ChecksumObserver.transferStarted. I can reproduce it every time on this project.
> The strange thing is that I never get it on other projects.
> Full debug log attached.

-- 
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] Commented: (WAGON-83) mvn deploy causes NPE in ChecksumObserver.transferStarted

Posted by "Erik R. Jensen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119221 ] 

Erik R. Jensen commented on WAGON-83:
-------------------------------------

I discovered my issue was a missing sha1 file on the server I was deploying too. I think a better error message would be useful. I'm also unsure what caused the checksum to fail to get deployed originally since I have been using wagon-webdav to deploy all along.

Output from running "mvn -X"

[DEBUG] SHA1 not found, trying MD5
org.apache.maven.wagon.ResourceDoesNotExistException: File: http://srmmvn.provo.novell.com/archiva/repository/tools-snapshots/com/novell/zenworks/tools/web/novell-jasper/1.0.2.0-SNAPSHOT/novell-jasper-1.0.2.0-SNAPSHOT.pom.sha1 does not exist
...
...
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
        at org.apache.maven.wagon.observers.ChecksumObserver.transferStarted(ChecksumObserver.java:65)

> mvn deploy causes NPE in ChecksumObserver.transferStarted 
> ----------------------------------------------------------
>
>                 Key: WAGON-83
>                 URL: http://jira.codehaus.org/browse/WAGON-83
>             Project: wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Eric Barroca
>         Attachments: mvn-deploy-wagon-error.log
>
>
> When doing a mvn deploy to an archiva repository, I get a NPE in ChecksumObserver.transferStarted. I can reproduce it every time on this project.
> The strange thing is that I never get it on other projects.
> Full debug log attached.

-- 
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] Commented: (WAGON-83) mvn deploy causes NPE in ChecksumObserver.transferStarted

Posted by "Erik R. Jensen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119219 ] 

Erik R. Jensen commented on WAGON-83:
-------------------------------------

I am also having this same problem. I see that the issue was opened originally in May of 2007. Has anyone had a chance to look at this issue further since then?

> mvn deploy causes NPE in ChecksumObserver.transferStarted 
> ----------------------------------------------------------
>
>                 Key: WAGON-83
>                 URL: http://jira.codehaus.org/browse/WAGON-83
>             Project: wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Eric Barroca
>         Attachments: mvn-deploy-wagon-error.log
>
>
> When doing a mvn deploy to an archiva repository, I get a NPE in ChecksumObserver.transferStarted. I can reproduce it every time on this project.
> The strange thing is that I never get it on other projects.
> Full debug log attached.

-- 
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: (WAGON-83) mvn deploy causes NPE in ChecksumObserver.transferStarted

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed WAGON-83.
-----------------------------

      Assignee: Brett Porter
    Resolution: Fixed

I was able to reproduce this by removing the .sha1 on beta-2, and in the latest code it no longer occurs

> mvn deploy causes NPE in ChecksumObserver.transferStarted 
> ----------------------------------------------------------
>
>                 Key: WAGON-83
>                 URL: http://jira.codehaus.org/browse/WAGON-83
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Eric Barroca
>            Assignee: Brett Porter
>             Fix For: 1.0-beta-3
>
>         Attachments: mvn-deploy-wagon-error.log
>
>
> When doing a mvn deploy to an archiva repository, I get a NPE in ChecksumObserver.transferStarted. I can reproduce it every time on this project.
> The strange thing is that I never get it on other projects.
> Full debug log attached.

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