You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2005/10/23 15:49:11 UTC

[jira] Created: (CONTINUUM-367) error when calling getprojects() through xml-rpc

error when calling getprojects() through xml-rpc 
-------------------------------------------------

         Key: CONTINUUM-367
         URL: http://jira.codehaus.org/browse/CONTINUUM-367
     Project: Continuum
        Type: Bug
  Components: continuum-xmlrpc  
    Versions: 1.0-beta-1    
 Environment: mandrake linux 2005
 Reporter: Milos Kleint
    Priority: Blocker


when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
happened both on my localhost server and maven.zones.apache.org server.
the error is following:

obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
        at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
        at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
        at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
        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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
        at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
        at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
        at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
        at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
        at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
        at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
        ... 19 more
, message=, method=ContinuumXmlRpc.getProjects()}

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


[jira] Updated: (CONTINUUM-367) error when calling getprojects() through xml-rpc

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-367?page=all ]

Emmanuel Venisse updated CONTINUUM-367:
---------------------------------------

    Fix Version:     (was: 1.0)
                 1.1

> error when calling getprojects() through xml-rpc 
> -------------------------------------------------
>
>          Key: CONTINUUM-367
>          URL: http://jira.codehaus.org/browse/CONTINUUM-367
>      Project: Continuum
>         Type: Bug
>   Components: continuum-xmlrpc
>     Versions: 1.0-beta-1
>  Environment: mandrake linux 2005
>     Reporter: Milos Kleint
>     Assignee: Emmanuel Venisse
>     Priority: Blocker
>      Fix For: 1.1

>
>
> when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
> happened both on my localhost server and maven.zones.apache.org server.
> the error is following:
> obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
>         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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
>         at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
>         at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
>         ... 19 more
> , message=, method=ContinuumXmlRpc.getProjects()}

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


[jira] Reopened: (CONTINUUM-367) error when calling getprojects() through xml-rpc

Posted by "Milos Kleint (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-367?page=all ]
     
Milos Kleint reopened CONTINUUM-367:
------------------------------------


not really. I've installed 1.0 final and get a similar problem.

not sure what I'm doing wrong. teh code is fairly simple:
            // Create an object to represent our server.
            XmlRpcClient server = new XmlRpcClient("http://localhost:8000");
            
            Object obj = server.execute("continuum.getProjects", new Vector());

I get this error back.
result=failure, stackTrace=java.lang.reflect.InvocationTargetException
        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 org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
        at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
        at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
        at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
        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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
        at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
        at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
        at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
        at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "buildResults" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
        at org.apache.maven.continuum.model.project.Project.jdoGetbuildResults(Project.java)
        at org.apache.maven.continuum.model.project.Project.getBuildResults(Project.java:338)
        ... 20 more
, message=, method=ContinuumXmlRpc.getProjects()}

> error when calling getprojects() through xml-rpc 
> -------------------------------------------------
>
>          Key: CONTINUUM-367
>          URL: http://jira.codehaus.org/browse/CONTINUUM-367
>      Project: Continuum
>         Type: Bug
>   Components: continuum-xmlrpc
>     Versions: 1.0-beta-1
>  Environment: mandrake linux 2005
>     Reporter: Milos Kleint
>     Assignee: Emmanuel Venisse
>     Priority: Blocker
>      Fix For: 1.0

>
>
> when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
> happened both on my localhost server and maven.zones.apache.org server.
> the error is following:
> obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
>         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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
>         at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
>         at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
>         ... 19 more
> , message=, method=ContinuumXmlRpc.getProjects()}

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


[jira] Closed: (CONTINUUM-367) error when calling getprojects() through xml-rpc

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-367?page=all ]
     
Emmanuel Venisse closed CONTINUUM-367:
--------------------------------------

     Assign To: Emmanuel Venisse
    Resolution: Fixed

Done.

> error when calling getprojects() through xml-rpc 
> -------------------------------------------------
>
>          Key: CONTINUUM-367
>          URL: http://jira.codehaus.org/browse/CONTINUUM-367
>      Project: Continuum
>         Type: Bug
>   Components: continuum-xmlrpc
>     Versions: 1.0-beta-1
>  Environment: mandrake linux 2005
>     Reporter: Milos Kleint
>     Assignee: Emmanuel Venisse
>     Priority: Blocker
>      Fix For: 1.0-beta-2

>
>
> when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
> happened both on my localhost server and maven.zones.apache.org server.
> the error is following:
> obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
>         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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
>         at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
>         at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
>         ... 19 more
> , message=, method=ContinuumXmlRpc.getProjects()}

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


[jira] Closed: (CONTINUUM-367) error when calling getprojects() through xml-rpc

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-367?page=all ]
     
Emmanuel Venisse closed CONTINUUM-367:
--------------------------------------

    Resolution: Fixed

Fixed. We certainly need to do more work on continuum-xml-rpc, but this issue is fixed.

> error when calling getprojects() through xml-rpc 
> -------------------------------------------------
>
>          Key: CONTINUUM-367
>          URL: http://jira.codehaus.org/browse/CONTINUUM-367
>      Project: Continuum
>         Type: Bug
>   Components: continuum-xmlrpc
>     Versions: 1.0-beta-1
>  Environment: mandrake linux 2005
>     Reporter: Milos Kleint
>     Assignee: Emmanuel Venisse
>     Priority: Blocker
>      Fix For: 1.0.1

>
>
> when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
> happened both on my localhost server and maven.zones.apache.org server.
> the error is following:
> obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
>         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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
>         at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
>         at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
>         ... 19 more
> , message=, method=ContinuumXmlRpc.getProjects()}

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


[jira] Updated: (CONTINUUM-367) error when calling getprojects() through xml-rpc

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-367?page=all ]

Brett Porter updated CONTINUUM-367:
-----------------------------------

    Fix Version: 1.0-beta-2

the XMLRPC should be tested before release.

> error when calling getprojects() through xml-rpc 
> -------------------------------------------------
>
>          Key: CONTINUUM-367
>          URL: http://jira.codehaus.org/browse/CONTINUUM-367
>      Project: Continuum
>         Type: Bug
>   Components: continuum-xmlrpc
>     Versions: 1.0-beta-1
>  Environment: mandrake linux 2005
>     Reporter: Milos Kleint
>     Priority: Blocker
>      Fix For: 1.0-beta-2

>
>
> when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
> happened both on my localhost server and maven.zones.apache.org server.
> the error is following:
> obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
>         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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
>         at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
>         at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
>         ... 19 more
> , message=, method=ContinuumXmlRpc.getProjects()}

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


[jira] Commented: (CONTINUUM-367) error when calling getprojects() through xml-rpc

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-367?page=comments#action_49355 ] 

Emmanuel Venisse commented on CONTINUUM-367:
--------------------------------------------

hmm, when I tested it, I didn't get this error. Certainly my project didn't have build result.

> error when calling getprojects() through xml-rpc 
> -------------------------------------------------
>
>          Key: CONTINUUM-367
>          URL: http://jira.codehaus.org/browse/CONTINUUM-367
>      Project: Continuum
>         Type: Bug
>   Components: continuum-xmlrpc
>     Versions: 1.0-beta-1
>  Environment: mandrake linux 2005
>     Reporter: Milos Kleint
>     Assignee: Emmanuel Venisse
>     Priority: Blocker
>      Fix For: 1.1

>
>
> when I call getProjects() method through xml-rpc, it returns correctly when there are no projects, but fails when there are some.
> happened both on my localhost server and maven.zones.apache.org server.
> the error is following:
> obj={result=failure, stackTrace=java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:212)
>         at org.apache.maven.continuum.xmlrpc.DefaultXmlRpcHelper.objectToHashtable(DefaultXmlRpcHelper.java:67)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.convertContinuumProject(DefaultContinuumXmlRpc.java:395)
>         at org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.getProjects(DefaultContinuumXmlRpc.java:101)
>         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 org.apache.xmlrpc.Invoker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Connection.run(Unknown Source)
>         at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "dependencies" yet this field was not detached when you detached the object. Either dont access this field, or detach the field when detaching the object.
>         at org.apache.maven.continuum.model.project.Project.jdoGetdependencies(Project.java)
>         at org.apache.maven.continuum.model.project.Project.getDependencies(Project.java:329)
>         ... 19 more
> , message=, method=ContinuumXmlRpc.getProjects()}

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