ZeroC

Archived

This forum has been archived. Please start a new discussion on GitHub.

UnmashalOutOfBoundsException!!! help

I just encountered a strange problem:I have an ice service, when client call a funciton of this service, an UnmashalOutOfBoundsException was catched. These function need a parameter whose type is an array of an stuct.

The problem is very strange:
On Windows os, the service works perfectly, but on FD5 Linux, the problem comes out:"IC::UnmashalOutOfBoundsException, protocol error: out of bounds during marshaling". But sometimes the service can work normally occasionally on FD5, I cannot find any rule.
I am sure I use the same ice file in both client and server side .
My ice version is the newest: 3.1.1-1.

Any one can help me? Thanks A lot!

Comments

  • matthew
    matthew NL, Canada
    Before we can provide assistance you must first fill in your signature information as described in the link contained in my signature.
  • mengman
    mengman
    I have just modifed my Signature

    Thanks for your reply, I have just modifed my Signature.

    we need more help or some discuss about the problem, Thanks a lot!
  • marc
    marc Florida
    You get an UnmarshalOutOfBoundsException if the operation signatures in the client and server do not match, i.e., if you use different interface definitions for your client and server. Please double-check your Slice definitions, as we are not aware of any other problem that might cause this exception.