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

[jira] Commented: (MRM-399) NPE trying to access an artifact that should be proxied

    [ http://jira.codehaus.org/browse/MRM-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100232 ] 

Fabrice BELLINGARD commented on MRM-399:
----------------------------------------

Brett, I cannot reproduce the bug. 
The only difference with what you described is that I have to specify a network proxy to be able to download maven-core from the Web... Which, IMHO, does not make a big difference with your configuration. Actually, I tested proxying an internal corporate Maven 2 repo (i.e. without a network proxy), and it works perfectly.

> NPE trying to access an artifact that should be proxied
> -------------------------------------------------------
>
>                 Key: MRM-399
>                 URL: http://jira.codehaus.org/browse/MRM-399
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy, WebDAV interface
>    Affects Versions: 1.0-alpha-1
>            Reporter: Brett Porter
>            Priority: Critical
>             Fix For: 1.0-alpha-2
>
>
> I have just the default repository configuration, with no existing content. I have enabled guest access through the global observer role.
> RequestURI=/repository/internal/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.jar
> Caused by:
> java.lang.NullPointerException
> 	at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:143)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:163)
> 	at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:134)
> 	at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119)

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