jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (JCR-109) Contrib RMI: NotSerializableException
Date Wed, 01 Feb 2006 08:14:05 GMT
     [ http://issues.apache.org/jira/browse/JCR-109?page=all ]
     
Jukka Zitting reopened JCR-109:
-------------------------------


Reported by Rob Owen:

This problem occurs with ServerRow.getValues() too. I have attached a patch which makes the
corresponding change to getValues() that was made to getValue(String).

Index: C:/jprojects/eclipse/jackrabbit/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
===================================================================
--- C:/jprojects/eclipse/jackrabbit/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
   (revision 367671)
+++ C:/jprojects/eclipse/jackrabbit/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/server/ServerRow.java
   (working copy)
@@ -55,7 +55,7 @@

    /** {@inheritDoc} */
    public Value[] getValues() throws RepositoryException, RemoteException {
-        return row.getValues();
+        return SerialValueFactory.makeSerialValueArray(row.getValues());
    }

    /** {@inheritDoc} */

> Contrib RMI: NotSerializableException
> -------------------------------------
>
>          Key: JCR-109
>          URL: http://issues.apache.org/jira/browse/JCR-109
>      Project: Jackrabbit
>         Type: Bug
>     Reporter: angela
>     Assignee: Jukka Zitting

>
> org.apache.jackrabbit.rmi.client.RemoteRepositoryException:
> error unmarshalling return; nested exception is:.java.io.WriteAbortedException: writing
aborted; java.io.NotSerializableException: javax.jcr.NameValue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message