Community
Participate
Working Groups
Created attachment 170923 [details] Common types bundles The exception message: ============================ com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianFieldException: alphax.db.types.Record.updateState: alphax.db.types.ItemPointer ((0,1)) cannot be assigned to net.yau.lib.UpdateState The condition: ============================= 1.The transferred object contains a java.sql.Timestamp field and the field is not null. 2.The service method return a list contains more then 2 element. The example service prototype: public interface IService { List<EntRec> listReturn1Record(); List<EntRec> listReturn2Record(); List<EntRec> listReturn2RecordButTimestampIsNull(); } When the server return just 1 the invocation is OK. When the server return more EntRecs, and if the Timestamp field is not null, it failed, and if the Timestamp field is null, it is OK.
Created attachment 170924 [details] The server side code.
Created attachment 170925 [details] The client side code
I think the bug is related to this bug 296834 which was fixed in Riena 2.0.0.M5 (after the Riena 1.2.0 that you are using). Look in the related bug. It might help to just change the hessian lib underneath. A better solution is to update to Riena 2.0.0.RC4 which is pretty stable now. I am closing this bug as duplicate. If you still experience a problem, please reopen this bug (do not file a new one but reopen this one). thanks christian *** This bug has been marked as a duplicate of bug 296834 ***