Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-25-2008
Andrew Andrew is offline
Registered User
 
Name: Andrea Nicotra
Organization: tvblob
Project: tvblob blobbox
 
Join Date: Jan 2008
Posts: 17
UnmarshalOutOfBoundsException

hi , when I throw an userException defined how:

// EXCEPTIONS

["java:getset"]
exception TVBLOBException {
/**
* Server supplied unique identifier of the operation.
*
* TODO investigate possibility of making this read-only
*
*/
int ticket;

/**
* Server supplied message suitable for logging but NOT for presentation
* to user.
*/
string message;
};

exception SystemError extends TVBLOBException {};

if I try to execute my test client from the same PC I don't have problem ,
if the server and client application are executed on different PC the client receive that exception:

../../include/Ice/BasicStream.h:578: Ice::UnmarshalOutOfBoundsException:
protocol error: out of bounds during unmarshaling

I don't have idea what is the problem in the documentation I fond that this exception is thrown when the exception is of an unknown type

thank for al info about
Andrea
------------------- ============= --------------------
sorry the problem was founded ...........
------------------- ============= --------------------

Last edited by Andrew : 09-25-2008 at 07:49 AM.
Reply With Quote
  #2 (permalink)  
Old 09-25-2008
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
The most common reason for an UnmarshalOutOfBoundsException is if the client and the server use different interface definitions. Please see this FAQ for more details.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UserException but catches Ice.UnmarshalOutOfBoundsException David Help Center 6 10-03-2008 02:25 AM
UnmarshalOutOfBoundsException sattursa Bug Reports 2 05-08-2008 03:50 PM
UnmarshalOutOfBoundsException Xlinthisias Help Center 6 02-14-2006 01:53 AM
UnmarshalOutOfBoundsException when sending byte sequences csammis Help Center 3 08-03-2005 04:37 PM


All times are GMT -4. The time now is 11:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.