Code is below. I have verified that 55 is a project group ID by viewing the
source on the add project page. Adding the same project works through the
add project page.
ContinuumXmlRpcClient continuumClient = new ContinuumXmlRpcClient(new
URL(SCMConstants.CONTINUUM_XMLRPC_URL)
, SCMConstants.CONTINUUM_USERNAME
, SCMConstants.CONTINUUM_PASSWORD);
continuumClient.addMavenTwoProject("http://svnrepositoryurl/branches/branch/project/pom.xml",
55);
Thanks,
-Ken
olamy wrote:
>
> looks related to CONTINUUM-1590 ?
>
> --
> Olivier
>
> 2008/2/27, Emmanuel Venisse <[EMAIL PROTECTED]>:
>> Can we see your code?
>>
>>
>> Emmanuel
>>
>>
>> On Wed, Feb 27, 2008 at 1:01 AM, kroe <[EMAIL PROTECTED]> wrote:
>>
>> >
>> > I am tinkering with the ContinuumXmlRpcClient and think I found a bug.
>> > When
>> > calling addMavenTwoProject and specifying the project group id I get
>> an
>> > exception. Am I doing something wrong, or is this method broken?
>> >
>> > Thanks,
>> > -Ken
>> >
>> > INFO | jvm 1 | 2008/02/26 18:05:53 |
>> > org.apache.xmlrpc.XmlRpcException:
>> > Failed to invoke method addMavenTwoProject in class
>> > org.apache.maven.continuum.x
>> > mlrpc.server.ContinuumServiceImpl: null
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> >
>> org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcMetaDataHandler.invoke
>> > (ContinuumXmlRpcMetaDataHand
>> > ler.java:164)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> >
>> org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcMetaDataHandler.execute
>> > (ContinuumXmlRpcMetaDataHan
>> > dler.java:133)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.apache.xmlrpc.server.XmlRpcServerWorker.execute(
>> > XmlRpcServerWorker.java:43)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.apache.xmlrpc.server.XmlRpcStreamServer.execute(
>> > XmlRpcStreamServer.java:182)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(
>> > XmlRpcServletServer.java:103)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> org.apache.maven.continuum.xmlrpc.server.ContinuumXmlRpcServlet.doPost(
>> > ContinuumXmlRpcServlet.java:193)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> > WebApplicationHandler.java:830)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
>> > FilterDispatcher.java:189)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> > WebApplicationHandler.java:821)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
>> > PageFilter.java:118)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(
>> > PageFilter.java:52)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> > WebApplicationHandler.java:821)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(
>> > ActionContextCleanUp.java:88)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> > WebApplicationHandler.java:821)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
>> > WebApplicationHandler.java:471)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.jetty.servlet.WebApplicationContext.handle(
>> > WebApplicationContext.java:633)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.http.HttpServer.service(HttpServer.java:909)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | Caused by:
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | java.lang.StackOverflowError
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl.getPGSummary
>> > (ContinuumServiceImpl.java:231)
>> > INFO | jvm 1 | 2008/02/26 18:05:53 | at
>> >
>> >
>> org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl.getProjectGroupName
>> > (ContinuumServiceImpl.jav
>> > a:224)
>> >
>> > The last two entries repeat.
>> > --
>> > View this message in context:
>> >
>> http://www.nabble.com/Adding-a-Project-using-XML-RPC---Broken--tp15703069p15703069.html
>> > Sent from the Continuum - Users mailing list archive at Nabble.com.
>> >
>> >
>>
>
>
--
View this message in context:
http://www.nabble.com/Adding-a-Project-using-XML-RPC---Broken--tp15703069p15714058.html
Sent from the Continuum - Users mailing list archive at Nabble.com.