continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: "Error displaying template." - while adding M1 project
Date Thu, 28 Apr 2005 12:58:15 GMT
you are missing some slashes... there should be 3: file:///c:/...

Perhaps Continuum should use the file wagon to retrieve POMs, as it
deals with file URLs better than the JDK does.

- Brett

Maciej Zywno wrote:

>Hi,
>
>I used web interface to add M1 project. I entered a url to M1 pom file
>(file:/C:/Documents and settings/...) . I got the a saying that an
>error appeared while displaying template.
>
>2005-04-28 12:14:30,140 [PoolThread-0] ERROR ActionValve              
>     - Method "addProjectFromUrl" failed for object or
>.apache.maven.continuum.DefaultContinuum@1ae9aaa
>ognl.MethodFailedException: Method "addProjectFromUrl" failed for
>object org.apache.maven.continuum.DefaultContinuum@1ae9aaa
>org.apache.maven.continuum.ContinuumException: Error while downloading the pom.]
>        at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:561)
>        at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:54)
>        at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:577)
>        at ognl.ASTMethod.getValueBody(ASTMethod.java:84)
>        at ognl.SimpleNode.getValue(SimpleNode.java:129)
>        at ognl.Ognl.getValue(Ognl.java:335)
>        at ognl.Ognl.getValue(Ognl.java:380)
>        at ognl.Ognl.getValue(Ognl.java:359)
>        at org.codehaus.plexus.formica.action.CallMethod.uponSuccessfulValidation(CallMethod.java:22)
>        at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:89)
>        at org.codehaus.plexus.action.web.ActionValve.invoke(ActionValve.java:72)
>        at org.codehaus.plexus.summit.pipeline.SummitPipeline.invoke(SummitPipeline.java:45)
>        at org.codehaus.plexus.summit.Summit.doGet(Summit.java:37)
>        at org.codehaus.plexus.summit.Summit.doPost(Summit.java:91)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
>        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>        at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
>        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
>        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
>        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
>        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
>/-- Encapsulated exception ------------\
>org.apache.maven.continuum.ContinuumException: Error while downloading the pom.
>        at org.apache.maven.continuum.DefaultContinuum.addProjectFromUrl(DefaultContinuum.java:176)
>        at org.apache.maven.continuum.DefaultContinuum.addProjectFromUrl(DefaultContinuum.java:156)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:255)
>        at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:553)
>        at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:54)
>        at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:577)
>        at ognl.ASTMethod.getValueBody(ASTMethod.java:84)
>        at ognl.SimpleNode.getValue(SimpleNode.java:129)
>        at ognl.Ognl.getValue(Ognl.java:335)
>        at ognl.Ognl.getValue(Ognl.java:380)
>        at ognl.Ognl.getValue(Ognl.java:359)
>        at org.codehaus.plexus.formica.action.CallMethod.uponSuccessfulValidation(CallMethod.java:22)
>        at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:89)
>        at org.codehaus.plexus.action.web.ActionValve.invoke(ActionValve.java:72)
>        at org.codehaus.plexus.summit.pipeline.SummitPipeline.invoke(SummitPipeline.java:45)
>        at org.codehaus.plexus.summit.Summit.doGet(Summit.java:37)
>        at org.codehaus.plexus.summit.Summit.doPost(Summit.java:91)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
>        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>        at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
>        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
>        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
>        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
>        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
>Caused by: java.net.UnknownHostException: c
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>        at java.net.Socket.connect(Socket.java:507)
>        at java.net.Socket.connect(Socket.java:457)
>        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>        at sun.net.NetworkClient.openServer(NetworkClient.java:118)
>        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
>        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
>        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
>        at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
>        at java.net.URL.openStream(URL.java:1007)
>        at org.apache.maven.continuum.DefaultContinuum.addProjectFromUrl(DefaultContinuum.java:166)
>        ... 35 more
>\--------------------------------------/
>org.codehaus.plexus.summit.exception.SummitException: Cannot invoke valve:
>        at org.codehaus.plexus.summit.pipeline.SummitPipeline.invoke(SummitPipeline.java:49)
>        at org.codehaus.plexus.summit.Summit.doGet(Summit.java:37)
>        at org.codehaus.plexus.summit.Summit.doPost(Summit.java:91)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
>        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>        at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
>        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
>        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
>        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
>        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
>Caused by: org.codehaus.plexus.summit.exception.SummitException: Can't display!
>        at org.codehaus.plexus.summit.pipeline.valve.DisplayValve.invoke(DisplayValve.java:29)
>        at org.codehaus.plexus.summit.pipeline.SummitPipeline.invoke(SummitPipeline.java:45)
>        ... 17 more
>Caused by: java.lang.NullPointerException
>        at org.codehaus.plexus.formica.web.add.AddFormRenderer.getHeaderTitle(AddFormRenderer.java:47)
>        at org.codehaus.plexus.formica.web.AbstractFormRenderer.header(AbstractFormRenderer.java:70)
>        at org.codehaus.plexus.formica.web.AbstractFormRenderer.render(AbstractFormRenderer.java:51)
>        at org.codehaus.plexus.formica.web.SummitFormRenderer.render(SummitFormRenderer.java:130)
>        at org.codehaus.plexus.summit.renderer.AbstractRenderer.render(AbstractRenderer.java:26)
>        at org.codehaus.plexus.summit.display.NewBufferedDisplay.render(NewBufferedDisplay.java:88)
>        at org.codehaus.plexus.summit.pipeline.valve.DisplayValve.invoke(DisplayValve.java:25)
>        ... 18 more
>[ERROR] Nonexistent component: org.codehaus.plexus.summit.resolver.Resolver
>
>
>  
>


Mime
View raw message