[ 
https://jira.codehaus.org/browse/WAGON-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311261#comment-311261
 ] 

Olivier Lamy commented on WAGON-378:
------------------------------------

I wonder how do you construct your wagon http instance ?
Some fields need to use plexus injection mechanism !
Yes a project to reproduce please.

                
> NullPointerException in LightweightHttpWagon.openConnectionInternal()
> ---------------------------------------------------------------------
>
>                 Key: WAGON-378
>                 URL: https://jira.codehaus.org/browse/WAGON-378
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http-lightweight
>    Affects Versions: 2.2
>            Reporter: Mark Zalavari
>
> I got a NullPointerException when I try to create a connection with 
> LightweightHttpWagon.
> Exception in thread "main" java.lang.NullPointerException
>       at 
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.openConnectionInternal(LightweightHttpWagon.java:277)
>       at 
> org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
>       at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
>       at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:124)
>       at 
> com.zalavaari.maven.linkeddata.util.MavenRepoLeecher.leech(MavenRepoLeecher.java:29)
>       at com.zalavaari.maven.linkeddata.Main.leech(Main.java:34)
>       at com.zalavaari.maven.linkeddata.Main.main(Main.java:16)
> I can reproduce it in 2.2, 2.1 and 2.0.
> 1.0 seems okay.
> I can create and attach a minimal project for reproducing the problem if 
> needed, but as I see, the problem is trivial.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to