Mantis - Resin
Viewing Issue Advanced Details
2478 minor always 03-03-08 09:08 03-05-08 09:59
ferg  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.1.5  
0002478: Hessian array serialization
(rep by Aristedes Maniatis)


I've gone ahead and tried to update Cayenne's usage of Hessian, but
I've run into a problem. Unfortunately Cayenne now fails some of its
junit tests which rely on Cayenne after the upgrade from 3.0.20 to
3.1.3. I've been able to extract some debug information. Hessian is
unable to deserialise an important Cayenne class:


     [java] 2008-02-25 22:22:27.923::WARN: Nested in
javax.servlet.ServletException:
com.caucho.hessian.io.HessianFieldException:
org.apache.cayenne.exp.parser.SimpleNode.children: [Ljava.lang.Object;
([Ljava.lang.Object;@719ebf) cannot be assigned to
[Lorg.apache.cayenne.exp.parser.Node;:


The relevant fields in SimpleNode [1] are:

    protected Node parent;
    protected Node[] children;
    protected int id;


Notes
(0002818)
ferg   
03-05-08 09:59   
hessian/3b2k - already fixed in 3.1.5