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

Fabrice BELLINGARD commented on MRM-370:
----------------------------------------

Jens, can you create a patch and attach it to this issue? I'll test it.
Thanks.

> NPE when trying to proxy a request for a plugin
> -----------------------------------------------
>
>                 Key: MRM-370
>                 URL: http://jira.codehaus.org/browse/MRM-370
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>            Reporter: Wendy Smoak
>             Fix For: 1.0-alpha-2
>
>
> My first test for Archiva 1.0 was to delete maven-clean-plugin from my local 
> repository, then try 'mvn clean' on the Struts 2 build.
> I noted that it is pre-configured to proxy the central repo through 
> 'internal' and deleted the pre-configured network proxy.
> $ cd /path/to/project
> $ rm -rf $M2_REPO/org/apache/maven/plugins/maven-clean-plugin
> $ mvn clean
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Struts 2
> [INFO]   Struts Annotations
> [INFO]   Struts 2 Core
> [INFO]   Struts 2 API
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Building Struts 2
> [INFO]    task-segment: [clean]
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not 
> exist or no valid version could be found
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Fri May 25 23:04:07 MST 2007
> [INFO] Final Memory: 1M/3M
> [INFO] 
> ------------------------------------------------------------------------
> In the Archiva log/console:
> INFO   | jvm 1    | 2007/05/25 23:02:05 | May 25, 2007 11:02:05 PM 
> org.mortbay.jetty.servlet.ServletHandler handle
> INFO   | jvm 1    | 2007/05/25 23:02:05 | WARNING: 
> /archiva/repository/internal/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml:
>  
> INFO   | jvm 1    | 2007/05/25 23:02:05 | java.lang.NullPointerException
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> java.util.regex.Matcher.getTextLength(Matcher.java:1127)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> java.util.regex.Matcher.reset(Matcher.java:284)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> java.util.regex.Matcher.<init>(Matcher.java:205)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> java.util.regex.Pattern.matcher(Pattern.java:879)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.apache.maven.archiva.common.utils.VersionUtil.getBaseVersion(VersionUtil.java:144)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.apache.maven.archiva.repository.layout.DefaultBidirectionalRepositoryLayout.toPath(DefaultBidirectionalRepositoryLayout.java:137)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:181)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:177)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:134)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.HttpServer.service(HttpServer.java:909)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> INFO   | jvm 1    | 2007/05/25 23:02:05 |     at 
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

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

        

Reply via email to