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

Reply via email to