Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 43618 invoked from network); 5 May 2009 13:46:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 13:46:54 -0000 Received: (qmail 97798 invoked by uid 500); 5 May 2009 13:46:53 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 97742 invoked by uid 500); 5 May 2009 13:46:53 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 97732 invoked by uid 99); 5 May 2009 13:46:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 13:46:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 13:46:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5C76C234C004 for ; Tue, 5 May 2009 06:46:30 -0700 (PDT) Message-ID: <126858615.1241531190363.JavaMail.jira@brutus> Date: Tue, 5 May 2009 06:46:30 -0700 (PDT) From: "Jeremy Bauer (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Assigned: (OPENJPA-1060) Attempting to returning a list over RMI/IIOP results in serialization exception In-Reply-To: <607457812.1241464830303.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Bauer reassigned OPENJPA-1060: ------------------------------------- Assignee: Jeremy Bauer > Attempting to returning a list over RMI/IIOP results in serialization exception > ------------------------------------------------------------------------------- > > Key: OPENJPA-1060 > URL: https://issues.apache.org/jira/browse/OPENJPA-1060 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Affects Versions: 2.0.0 > Environment: JEE > Reporter: Jeremy Bauer > Assignee: Jeremy Bauer > > Returning a result list over RMI/IIOP invocation currently fails on trunk/2.0 with this exception: > java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.MarshalException: CORBA BAD_PARAM 0x4f4d0006 Maybe; nested exception is: java.io.NotSerializableException: org.apache.openjpa.jdbc.kernel.InstanceResultObjectProvider is not serializable at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:748) at javax.rmi.CORBA.Util.wrapException(Util.java:296) at ... > The problem is the result of storing the ROP in the userObject field of a ResultList in the org.apache.openjpa.kernel.QueryImpl.toResult(..) method. - res.setUserObject(rop). The ROP is not serializable so the RMI/CORBA layer throws an exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.