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

Mark Zalavari commented on WAGON-378:
-------------------------------------

Thanks for the quick answer.

Then that's the problem.
I just instantiate a new LightweightHttpWagon, and try to connect with a given 
Repository.
So if I understand well, I shouldn't use wagon without plexus.
Sorry for the inconvenience, i will close the issue.

                
> 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