[
http://jira.codehaus.org/browse/CONTINUUM-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137384#action_137384
]
Raffaele Verre commented on CONTINUUM-1590:
-------------------------------------------
Hi
I have a problem that look like your
My code is:
ContinuumXmlRpcClient client = new ContinuumXmlRpcClient( url, Continuum_User,
Continuum_Password );
AddingResult ar=client.addMavenTwoProject(pomUrl,1);
executing, I have this error:
org.apache.xmlrpc.XmlRpcException: Failed to invoke method addMavenTwoProject
in class org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl: null
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94)
at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:44)
at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
at
org.apache.xmlrpc.client.util.ClientFactory$1.invoke(ClientFactory.java:132)
at $Proxy0.addMavenTwoProject(Unknown Source)
at
org.apache.maven.continuum.xmlrpc.client.ContinuumXmlRpcClient.addMavenTwoProject(ContinuumXmlRpcClient.java:373)
......
I think is the same problem but I cannot found the correct jar to test.
Can you help me?
svn site seem to be broke and I cannot access....
tnx
Raffaele
> updateBuildDefinitionForProjectGroup leads to a StackOverflowError
> ------------------------------------------------------------------
>
> Key: CONTINUUM-1590
> URL: http://jira.codehaus.org/browse/CONTINUUM-1590
> Project: Continuum
> Issue Type: Bug
> Components: XMLRPC Interface
> Affects Versions: 1.1
> Reporter: ol
> Assignee: Olivier Lamy
> Priority: Blocker
> Fix For: 1.2
>
>
> This problem is due to a recursive call when testing the authorizations :
> At line 221 of ContinuumServiceImpl.java
> protected String getProjectGroupName( int projectGroupId )
> throws ContinuumException
> {
> ProjectGroupSummary pgs = getPGSummary( projectGroupId );
> return pgs.getName();
> }
> private ProjectGroupSummary getPGSummary( int projectGroupId )
> throws ContinuumException
> {
> checkViewProjectGroupAuthorization( getProjectGroupName(
> projectGroupId ) );
> org.apache.maven.continuum.model.project.ProjectGroup projectGroup =
> continuum.getProjectGroup( projectGroupId );
> return populateProjectGroupSummary( projectGroup );
> }
> getProjectGroupName makes a call to getPGSummary that makes a call to
> getProjectGroupName that makes a call to getPGSummary ......
> I think the getPGSummary should be implemented like this :
> private ProjectGroupSummary getPGSummary( int projectGroupId )
> throws ContinuumException
> {
> org.apache.maven.continuum.model.project.ProjectGroup projectGroup =
> continuum.getProjectGroup( projectGroupId );
>
> checkViewProjectGroupAuthorization( projectGroup.getName() );
> return populateProjectGroupSummary( projectGroup );
> }
> This problem also occurs in all these methods:
> - getProjectGroupSummary (line 242)
> - getProjectGroupWithProjects (line 253)
> - removeProjectGroup (line 264)
> - getProjects (line 91)
--
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