Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 19380 invoked from network); 23 Oct 2005 18:22:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Oct 2005 18:22:38 -0000 Received: (qmail 49833 invoked by uid 500); 23 Oct 2005 18:22:33 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 49642 invoked by uid 500); 23 Oct 2005 18:22:30 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 49491 invoked by uid 99); 23 Oct 2005 18:22:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2005 11:22:27 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2005 11:18:32 -0700 Received: (qmail 21293 invoked by uid 89); 23 Oct 2005 18:18:12 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 23 Oct 2005 18:18:12 -0000 Message-ID: <2305548.1130091492016.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sun, 23 Oct 2005 13:18:12 -0500 (CDT) From: "Brett Porter (JIRA)" To: continuum-dev@maven.apache.org Subject: [jira] Updated: (CONTINUUM-367) error when calling getprojects() through xml-rpc In-Reply-To: <19151189.1130075351387.JavaMail.haus-jira@codehaus01.managed.contegix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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