Re: Distributed Objects "connection went invalid while waiting for a reply"
Re: Distributed Objects "connection went invalid while waiting for a reply"
- Subject: Re: Distributed Objects "connection went invalid while waiting for a reply"
- From: Mike Bellerby <email@hidden>
- Date: Wed, 9 Jul 2008 10:14:20 +0100
I use DOs on 10.3, 10.4 and 10.5. They work correctly on all versions.
From your description I'm not entirely sure what you are trying to
do. Could you post a code example and I try to help.
Cheers
Mike
On 9 Jul 2008, at 01:11, Hamish Allan wrote:
I'm seeing "connection went invalid while waiting for a reply" in a DO
callback. The client passes self in a call to the server; some time
later, the server calls a method on that client (proxy), the program
hangs for a second or so, the "connection went invalid" connection
appears, but the method call is successful anyway, so it would appear
that the DO machinery is re-connecting everything okay.
According to the debugger, the message appears as a result of an
uncaught NSException from -[NSConnection sendInvocation:internal:],
called from -[NSDistantObject forwardInvocation].
Server and client are both properly retained.
There seem to be a lot of messages of late on Apple's forums about
problems with iSync (10.5.4) and even Interface Builder (10.5.3,
IB3.1beta6) in which this message is reported. Is it perhaps a bug in
recent versions of the OS rather than in my code?
Hamish
P.S. This question has been asked before, but the OP didn't get an
answer (http://www.cocoabuilder.com/archive/message/cocoa/2006/12/29/176458
)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden